diff options
Diffstat (limited to 'templates/chimere/base.html')
-rw-r--r-- | templates/chimere/base.html | 101 |
1 files changed, 58 insertions, 43 deletions
diff --git a/templates/chimere/base.html b/templates/chimere/base.html index 9bca36c..8f13830 100644 --- a/templates/chimere/base.html +++ b/templates/chimere/base.html @@ -1,43 +1,58 @@ -{% extends "base.html" %}
-{% load chimere_tags i18n %}
-{% block extra_head %}
-<link rel="shortcut icon" href="{{ STATIC_URL }}saclay/images/favicon.png"/>
-<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 }}saclay/css/styles.css" />
-{% for css in EXTRA_CSS %}<link rel="stylesheet" href="{{ css }}" />{% endfor %}
-<link rel="stylesheet" href="{{ STATIC_URL }}saclay/css/print.css" media='print'/>
-{% if MOBILE %}
-<link rel="stylesheet" href="{{ STATIC_URL }}chimere/css/mobile.css" />
-<link rel="stylesheet" href="{{ STATIC_URL }}saclay/css/mobile.css" />
-<script src="{{ STATIC_URL }}chimere/js/mobile.chimere.js" type="text/javascript"></script>
-<script src="{{ STATIC_URL }}saclay/js/mobile.chimere.js" type="text/javascript"></script>{%endif%}
-{% if css_area %}
-<link rel="stylesheet" href="{{ css_area }}" />{% endif %}
-{% endblock %}
-
-<!--
-{% block header %}
-<noscript>
- <div id="no-js-message">
- <p id='no-js' class='warning'>{% trans "You must enable JavaScript in your browser to display Chimère."%}</p>
- </div>
-</noscript>
- {% block page_title %}
- {% include "chimere/blocks/page_title.html" %}
- {% endblock %}
- {% block actions %}
- {% include "chimere/blocks/actions.html" %}
- {% endblock %}
-{% endblock %}
--->
-{% block content %}
- {% block top %}{% endblock %}
- {% block message_map %}{% endblock %}
- {% block message_edit %}{% endblock %}
- {% block bottom %}{% endblock %}
-{% endblock %}
-{% block footer %}
- {% include "chimere/blocks/footer.html" %}
-{% endblock %}
-
+{% extends "base.html" %} +{% load chimere_tags i18n %} +{% block extra_head %} +<link rel="shortcut icon" href="{{ STATIC_URL }}saclay/images/favicon.png"/> +<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 }}saclay/css/styles.css" /> +{% for css in EXTRA_CSS %}<link rel="stylesheet" href="{{ css }}" />{% endfor %} +<link rel="stylesheet" href="{{ STATIC_URL }}saclay/css/print.css" media='print'/> +{% if MOBILE %} +<link rel="stylesheet" href="{{ STATIC_URL }}chimere/css/mobile.css" /> +<link rel="stylesheet" href="{{ STATIC_URL }}saclay/css/mobile.css" /> +<script src="{{ STATIC_URL }}chimere/js/mobile.chimere.js" type="text/javascript"></script> +<script src="{{ STATIC_URL }}saclay/js/mobile.chimere.js" type="text/javascript"></script>{%endif%} +{% if css_area %} +<link rel="stylesheet" href="{{ css_area }}" />{% endif %} + +<!-- Piwik --> +<script type="text/javascript"> + var _paq = _paq || []; + _paq.push(['trackPageView']); + _paq.push(['enableLinkTracking']); + (function() { + var u="https://piwik.proxience.net/"; + _paq.push(['setTrackerUrl', u+'piwik.php']); + _paq.push(['setSiteId', 3]); + var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; g.type='text/javascript'; + g.defer=true; g.async=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s); + })(); +</script> +<noscript><p><img src="https://piwik.proxience.net/piwik.php?idsite=3" style="border:0;" alt="" /></p></noscript> +<!-- End Piwik Code --> +{% endblock %} +{% block header %} +{% comment %} +<-- app mobile !--> +<noscript> + <div id="no-js-message"> + <p id='no-js' class='warning'>{% trans "You must enable JavaScript in your browser to display Chimère."%}</p> + </div> +</noscript> + {% block page_title %} + {% include "chimere/blocks/page_title.html" %} + {% endblock %} + {% block actions %} + {% include "chimere/blocks/actions.html" %} + {% endblock %} +{% endcomment %} +{% endblock %} +{% block content %} + {% block top %}{% endblock %} + {% block message_map %}{% endblock %} + {% block message_edit %}{% endblock %} + {% block bottom %}{% endblock %} +{% endblock %} +{% block footer %} + {% include "chimere/blocks/footer.html" %} +{% endblock %} |