Mercurial > repos > vimalkumarvelayudhan > riboplot
comparison docs/_templates/layout.html @ 11:7571f5c89090
Simple error message now output to HTML. Detailed error goes to standard error.
Other changes:
* Remove information on time taken (riboplot).
* Remove striped table styles (not used. unusable on sorting).
* log before re-raising errors.
author | Vimalkumar Velayudhan <vimal@biotechcoder.com> |
---|---|
date | Wed, 19 Aug 2015 10:14:52 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
10:8964641b04ef | 11:7571f5c89090 |
---|---|
1 {%- extends "basic/layout.html" %} | |
2 {%- block extrahead %} | |
3 {{ super() }} | |
4 {% if theme_touch_icon %} | |
5 <link rel="apple-touch-icon" href="{{ pathto('_static/' ~ theme_touch_icon, 1) }}" /> | |
6 {% endif %} | |
7 <meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9"> | |
8 {% endblock %} | |
9 {%- block relbar2 %}{% endblock %} | |
10 {%- block footer %} | |
11 <div class="footer"> | |
12 <small> | |
13 {%- if last_updated %} | |
14 {% trans last_updated=last_updated|e %}Last updated on {{ last_updated }}.{% endtrans %} | |
15 {%- endif %} | |
16 </small> | |
17 | |
18 {% if theme_show_powered_by|lower == 'true' %} | |
19 | | |
20 Powered by <a href="http://sphinx-doc.org/">Sphinx {{ sphinx_version }}</a> | |
21 & <a href="https://github.com/bitprophet/alabaster">Alabaster {{ alabaster_version }}</a> | |
22 {% endif %} | |
23 {%- if show_source and has_source and sourcename %} | |
24 | | |
25 <a href="{{ pathto('_sources/' + sourcename, true)|e }}" | |
26 rel="nofollow">{{ _('Page source') }}</a></li> | |
27 {%- endif %} | |
28 </div> | |
29 | |
30 {% if theme_github_banner|lower != 'false' %} | |
31 <a href="https://github.com/{{ theme_github_user }}/{{ theme_github_repo }}" class="github"> | |
32 <img style="position: absolute; top: 0; right: 0; border: 0;" src="{{ pathto('_static/' ~ theme_github_banner, 1) if theme_github_banner|lower != 'true' else 'http://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png' }}" alt="Fork me on GitHub" class="github"/> | |
33 </a> | |
34 {% endif %} | |
35 | |
36 {% if theme_analytics_id %} | |
37 <script type="text/javascript"> | |
38 | |
39 var _gaq = _gaq || []; | |
40 _gaq.push(['_setAccount', '{{ theme_analytics_id }}']); | |
41 _gaq.push(['_setDomainName', 'none']); | |
42 _gaq.push(['_setAllowLinker', true]); | |
43 _gaq.push(['_trackPageview']); | |
44 | |
45 (function() { | |
46 var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; | |
47 ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; | |
48 var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); | |
49 })(); | |
50 | |
51 </script> | |
52 {% endif %} | |
53 {%- endblock %} |