summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNico von Geyso <Nico.Geyso@FU-Berlin.de>2012-09-29 14:16:52 +0200
committerNico von Geyso <Nico.Geyso@FU-Berlin.de>2012-09-29 14:16:52 +0200
commitf6b2d051966a232c6227a31e9851fce031d6b9f6 (patch)
tree4cecb35ebe62a1befca1c5e20c71f6c582bc4e29
parent351fa11f182c12ae8db6c7141424b27bda77ba9d (diff)
downloadweb-f6b2d051966a232c6227a31e9851fce031d6b9f6.tar.gz
web-f6b2d051966a232c6227a31e9851fce031d6b9f6.tar.bz2
web-f6b2d051966a232c6227a31e9851fce031d6b9f6.zip
use version for css file to prevent css caching if there are changes
-rw-r--r--static/layout.css2
-rw-r--r--templates/base.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/static/layout.css b/static/layout.css
index 14f8ba4..35f2593 100644
--- a/static/layout.css
+++ b/static/layout.css
@@ -177,7 +177,7 @@ form ul.errors {
.form-submit-services {
margin-left: 30px;
- padding-top: 10px;
+ padding: 10px 0px;
clear: both;
}
diff --git a/templates/base.html b/templates/base.html
index 95384d9..475e837 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -8,7 +8,7 @@
<script type="text/javascript" src="{{ url_for('static', filename=script) }}"></script>
{%- endfor %}
{%- for style in styles %}
- <link rel="stylesheet" type="text/css" href="{{ url_for('static', filename=style) }}">
+ <link rel="stylesheet" type="text/css" href="{{ url_for('static', filename=style, version='0.1') }}">
{%- endfor %}
</head>
<body>