summaryrefslogtreecommitdiff
path: root/chimere/templates/chimere
diff options
context:
space:
mode:
Diffstat (limited to 'chimere/templates/chimere')
-rw-r--r--chimere/templates/chimere/base.html20
-rw-r--r--chimere/templates/chimere/blocks/head_chimere.html16
-rw-r--r--chimere/templates/chimere/blocks/head_form.html2
-rw-r--r--chimere/templates/chimere/blocks/head_jme.html4
-rw-r--r--chimere/templates/chimere/blocks/head_jquery.html4
5 files changed, 23 insertions, 23 deletions
diff --git a/chimere/templates/chimere/base.html b/chimere/templates/chimere/base.html
index dd70ef4..0b7eae3 100644
--- a/chimere/templates/chimere/base.html
+++ b/chimere/templates/chimere/base.html
@@ -1,22 +1,22 @@
{% extends "base.html" %}
{% load chimere_tags i18n %}
{% block extra_head %}
-<link rel="stylesheet" href="{{ STATIC_URL }}font-awesome/css/font-awesome.min.css" />
-<link rel="stylesheet" href="{{ STATIC_URL }}bootstrap/bootstrap.min.css" />
-<link rel="stylesheet" href="{{ STATIC_URL }}chimere/css/styles.css" />
-<link rel="stylesheet" href="{{ STATIC_URL }}chimere/css/print.css" media='print'/>
+<link rel="stylesheet" href="{{ STATIC_URL }}font-awesome/css/font-awesome.min.css?ver=4.3.0" />
+<link rel="stylesheet" href="{{ STATIC_URL }}bootstrap/bootstrap.min.css?ver=3.0.0" />
+<link rel="stylesheet" href="{{ STATIC_URL }}chimere/css/styles.css?ver={{VERSION}}" />
+<link rel="stylesheet" href="{{ STATIC_URL }}chimere/css/print.css?ver={{VERSION}}" media='print'/>
{% if css_area %}
-<link rel="stylesheet" href="{{ css_area }}" />{% endif %}
+<link rel="stylesheet" href="{{ css_area }}?ver={{VERSION}}" />{% endif %}
{% if MOBILE %}
-<link rel="stylesheet" href="{{ STATIC_URL }}chimere/css/mobile.css" />
-<script src="{{ STATIC_URL }}chimere/js/mobile.chimere.js" type="text/javascript"></script>{%endif%}
-<link rel="stylesheet" href="{{ STATIC_URL }}chimere/css/form-compat.css" />
-<script src="{{ STATIC_URL }}bootstrap/bootstrap.min.js" type="text/javascript"></script>
+<link rel="stylesheet" href="{{ STATIC_URL }}chimere/css/mobile.css?ver={{VERSION}}" />
+<script src="{{ STATIC_URL }}chimere/js/mobile.chimere.js?ver={{VERSION}}" type="text/javascript"></script>{%endif%}
+<link rel="stylesheet" href="{{ STATIC_URL }}chimere/css/form-compat.css?ver={{VERSION}}" />
+<script src="{{ STATIC_URL }}bootstrap/bootstrap.min.js?ver=3.0.0" type="text/javascript"></script>
<script type='text/javascript'>
var has_search = {% if has_search %}true{% else %}false{% endif %};
var default_map_lbl = "{% trans 'Default map' %}";
</script>
-<script src="{{ STATIC_URL }}chimere/js/interface.js" type="text/javascript"></script>
+<script src="{{ STATIC_URL }}chimere/js/interface.js?ver={{VERSION}}" type="text/javascript"></script>
{% endblock %}
{% block header %}
<noscript>
diff --git a/chimere/templates/chimere/blocks/head_chimere.html b/chimere/templates/chimere/blocks/head_chimere.html
index 2621d54..c45d32c 100644
--- a/chimere/templates/chimere/blocks/head_chimere.html
+++ b/chimere/templates/chimere/blocks/head_chimere.html
@@ -1,9 +1,9 @@
{% if not is_edit %}
-<link rel="stylesheet" href="{{ STATIC_URL }}ol3/ol.css" />
-<link rel="stylesheet" href="{{ STATIC_URL }}ol3-contextmenu/ol3-contextmenu.min.css" />
-<script src="{{ STATIC_URL }}ol3/ol.js" type="text/javascript"></script>
+<link rel="stylesheet" href="{{ STATIC_URL }}ol3/ol.css?ver=3.17.1" />
+<link rel="stylesheet" href="{{ STATIC_URL }}ol3-contextmenu/ol3-contextmenu.min.css?ver=2.2.4" />
+<script src="{{ STATIC_URL }}ol3/ol.js?ver=3.17.1" type="text/javascript"></script>
{% endif %}
-<script src="{{ STATIC_URL }}ol3-contextmenu/ol3-contextmenu.min.js" type="text/javascript"></script>
+<script src="{{ STATIC_URL }}ol3-contextmenu/ol3-contextmenu.min.js?ver=2.2.4" type="text/javascript"></script>
<script type="text/javascript">
/* Global variables */
var STATIC_URL = static_url = "{{ STATIC_URL }}";
@@ -20,7 +20,7 @@
var get_share_url = '{% url 'chimere:get-share-url' %}';
var language = "{{LANGUAGE}}";
</script>
-{% if routing %}<script src="{{ STATIC_URL }}chimere/js/routing-widget.js" type="text/javascript"></script>{% endif %}
-<script src="{{ STATIC_URL }}chimere/js/jquery.chimere.js" type="text/javascript"></script>
-<script src="{{ STATIC_URL }}chimere/js/utils.js" type="text/javascript"></script>
-<script src="{{ STATIC_URL }}chimere/js/base.js" type="text/javascript"></script>
+{% if routing %}<script src="{{ STATIC_URL }}chimere/js/routing-widget.js?ver={{VERSION}}" type="text/javascript"></script>{% endif %}
+<script src="{{ STATIC_URL }}chimere/js/jquery.chimere.js?ver={{VERSION}}" type="text/javascript"></script>
+<script src="{{ STATIC_URL }}chimere/js/utils.js?ver={{VERSION}}" type="text/javascript"></script>
+<script src="{{ STATIC_URL }}chimere/js/base.js?ver={{VERSION}}" type="text/javascript"></script>
diff --git a/chimere/templates/chimere/blocks/head_form.html b/chimere/templates/chimere/blocks/head_form.html
index fdcfeb3..f732219 100644
--- a/chimere/templates/chimere/blocks/head_form.html
+++ b/chimere/templates/chimere/blocks/head_form.html
@@ -1 +1 @@
-{% if ENABLE_TINYMCE %}<script src="{{ STATIC_URL }}tinymce/tinymce.min.js" type="text/javascript"></script>{% endif %}
+{% if ENABLE_TINYMCE %}<script src="{{ STATIC_URL }}tinymce/tinymce.min.js?ver=4.4.3" type="text/javascript"></script>{% endif %}
diff --git a/chimere/templates/chimere/blocks/head_jme.html b/chimere/templates/chimere/blocks/head_jme.html
index 47bda85..9e6da14 100644
--- a/chimere/templates/chimere/blocks/head_jme.html
+++ b/chimere/templates/chimere/blocks/head_jme.html
@@ -16,5 +16,5 @@
{% endcomment %}
<!-- prettyPhoto not jme but media -->
-<link rel="stylesheet" href="{{STATIC_URL}}prettyPhoto/css/prettyPhoto.css" />
-<script type="text/javascript" src="{{STATIC_URL}}prettyPhoto/js/jquery.prettyPhoto.js"></script>
+<link rel="stylesheet" href="{{STATIC_URL}}prettyPhoto/css/prettyPhoto.css?ver=3.1.4" />
+<script type="text/javascript" src="{{STATIC_URL}}prettyPhoto/js/jquery.prettyPhoto.js?ver=3.1.4"></script>
diff --git a/chimere/templates/chimere/blocks/head_jquery.html b/chimere/templates/chimere/blocks/head_jquery.html
index 5a5a6dd..76c0910 100644
--- a/chimere/templates/chimere/blocks/head_jquery.html
+++ b/chimere/templates/chimere/blocks/head_jquery.html
@@ -1,5 +1,5 @@
{% for css_url in JQUERY_CSS_URLS %}
-<link rel="stylesheet" href="{{ css_url }}" />{% endfor %}
+<link rel="stylesheet" href="{{ css_url }}?ver={{VERSION}}" />{% endfor %}
{% for js_url in JQUERY_JS_URLS %}
-<script type="text/javascript" src="{{ js_url }}"></script>{% endfor %}
+<script type="text/javascript" src="{{ js_url }}?ver={{VERSION}}"></script>{% endfor %}