Mercurial > repos > vimalkumarvelayudhan > riboplot
annotate 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 |
rev | line source |
---|---|
11
7571f5c89090
Simple error message now output to HTML. Detailed error goes to standard error.
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
1 {%- extends "basic/layout.html" %} |
7571f5c89090
Simple error message now output to HTML. Detailed error goes to standard error.
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
2 {%- block extrahead %} |
7571f5c89090
Simple error message now output to HTML. Detailed error goes to standard error.
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
3 {{ super() }} |
7571f5c89090
Simple error message now output to HTML. Detailed error goes to standard error.
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
4 {% if theme_touch_icon %} |
7571f5c89090
Simple error message now output to HTML. Detailed error goes to standard error.
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
5 <link rel="apple-touch-icon" href="{{ pathto('_static/' ~ theme_touch_icon, 1) }}" /> |
7571f5c89090
Simple error message now output to HTML. Detailed error goes to standard error.
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
6 {% endif %} |
7571f5c89090
Simple error message now output to HTML. Detailed error goes to standard error.
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
7 <meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9"> |
7571f5c89090
Simple error message now output to HTML. Detailed error goes to standard error.
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
8 {% endblock %} |
7571f5c89090
Simple error message now output to HTML. Detailed error goes to standard error.
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
9 {%- block relbar2 %}{% endblock %} |
7571f5c89090
Simple error message now output to HTML. Detailed error goes to standard error.
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
10 {%- block footer %} |
7571f5c89090
Simple error message now output to HTML. Detailed error goes to standard error.
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
11 <div class="footer"> |
7571f5c89090
Simple error message now output to HTML. Detailed error goes to standard error.
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
12 <small> |
7571f5c89090
Simple error message now output to HTML. Detailed error goes to standard error.
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
13 {%- if last_updated %} |
7571f5c89090
Simple error message now output to HTML. Detailed error goes to standard error.
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
14 {% trans last_updated=last_updated|e %}Last updated on {{ last_updated }}.{% endtrans %} |
7571f5c89090
Simple error message now output to HTML. Detailed error goes to standard error.
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
15 {%- endif %} |
7571f5c89090
Simple error message now output to HTML. Detailed error goes to standard error.
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
16 </small> |
7571f5c89090
Simple error message now output to HTML. Detailed error goes to standard error.
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
17 |
7571f5c89090
Simple error message now output to HTML. Detailed error goes to standard error.
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
18 {% if theme_show_powered_by|lower == 'true' %} |
7571f5c89090
Simple error message now output to HTML. Detailed error goes to standard error.
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
19 | |
7571f5c89090
Simple error message now output to HTML. Detailed error goes to standard error.
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
20 Powered by <a href="http://sphinx-doc.org/">Sphinx {{ sphinx_version }}</a> |
7571f5c89090
Simple error message now output to HTML. Detailed error goes to standard error.
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
21 & <a href="https://github.com/bitprophet/alabaster">Alabaster {{ alabaster_version }}</a> |
7571f5c89090
Simple error message now output to HTML. Detailed error goes to standard error.
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
22 {% endif %} |
7571f5c89090
Simple error message now output to HTML. Detailed error goes to standard error.
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
23 {%- if show_source and has_source and sourcename %} |
7571f5c89090
Simple error message now output to HTML. Detailed error goes to standard error.
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
24 | |
7571f5c89090
Simple error message now output to HTML. Detailed error goes to standard error.
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
25 <a href="{{ pathto('_sources/' + sourcename, true)|e }}" |
7571f5c89090
Simple error message now output to HTML. Detailed error goes to standard error.
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
26 rel="nofollow">{{ _('Page source') }}</a></li> |
7571f5c89090
Simple error message now output to HTML. Detailed error goes to standard error.
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
27 {%- endif %} |
7571f5c89090
Simple error message now output to HTML. Detailed error goes to standard error.
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
28 </div> |
7571f5c89090
Simple error message now output to HTML. Detailed error goes to standard error.
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
29 |
7571f5c89090
Simple error message now output to HTML. Detailed error goes to standard error.
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
30 {% if theme_github_banner|lower != 'false' %} |
7571f5c89090
Simple error message now output to HTML. Detailed error goes to standard error.
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
31 <a href="https://github.com/{{ theme_github_user }}/{{ theme_github_repo }}" class="github"> |
7571f5c89090
Simple error message now output to HTML. Detailed error goes to standard error.
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
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"/> |
7571f5c89090
Simple error message now output to HTML. Detailed error goes to standard error.
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
33 </a> |
7571f5c89090
Simple error message now output to HTML. Detailed error goes to standard error.
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
34 {% endif %} |
7571f5c89090
Simple error message now output to HTML. Detailed error goes to standard error.
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
35 |
7571f5c89090
Simple error message now output to HTML. Detailed error goes to standard error.
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
36 {% if theme_analytics_id %} |
7571f5c89090
Simple error message now output to HTML. Detailed error goes to standard error.
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
37 <script type="text/javascript"> |
7571f5c89090
Simple error message now output to HTML. Detailed error goes to standard error.
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
38 |
7571f5c89090
Simple error message now output to HTML. Detailed error goes to standard error.
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
39 var _gaq = _gaq || []; |
7571f5c89090
Simple error message now output to HTML. Detailed error goes to standard error.
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
40 _gaq.push(['_setAccount', '{{ theme_analytics_id }}']); |
7571f5c89090
Simple error message now output to HTML. Detailed error goes to standard error.
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
41 _gaq.push(['_setDomainName', 'none']); |
7571f5c89090
Simple error message now output to HTML. Detailed error goes to standard error.
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
42 _gaq.push(['_setAllowLinker', true]); |
7571f5c89090
Simple error message now output to HTML. Detailed error goes to standard error.
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
43 _gaq.push(['_trackPageview']); |
7571f5c89090
Simple error message now output to HTML. Detailed error goes to standard error.
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
44 |
7571f5c89090
Simple error message now output to HTML. Detailed error goes to standard error.
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
45 (function() { |
7571f5c89090
Simple error message now output to HTML. Detailed error goes to standard error.
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
46 var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; |
7571f5c89090
Simple error message now output to HTML. Detailed error goes to standard error.
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
47 ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; |
7571f5c89090
Simple error message now output to HTML. Detailed error goes to standard error.
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
48 var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); |
7571f5c89090
Simple error message now output to HTML. Detailed error goes to standard error.
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
49 })(); |
7571f5c89090
Simple error message now output to HTML. Detailed error goes to standard error.
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
50 |
7571f5c89090
Simple error message now output to HTML. Detailed error goes to standard error.
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
51 </script> |
7571f5c89090
Simple error message now output to HTML. Detailed error goes to standard error.
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
52 {% endif %} |
7571f5c89090
Simple error message now output to HTML. Detailed error goes to standard error.
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
diff
changeset
|
53 {%- endblock %} |