OLD | NEW |
1 {%- block doctype -%} | 1 {%- block doctype -%} |
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" | 2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
3 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 3 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
4 {% endblock %} | 4 {% endblock %} |
5 <html xmlns="http://www.w3.org/1999/xhtml"> | 5 <html xmlns="http://www.w3.org/1999/xhtml"> |
6 <head> | 6 <head> |
7 {% block head %} | 7 {% block head %} |
8 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | 8 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
9 {% if metatags %} | 9 {% if metatags %} |
10 {{ metatags }} | 10 {{ metatags }} |
11 {% endif %} | 11 {% endif %} |
12 {% if refresh %} | 12 {% if refresh %} |
13 <meta http-equiv="refresh" content="{{ refresh|e }}"/> | 13 <meta http-equiv="refresh" content="{{ refresh|e }}"/> |
14 {% endif %} | 14 {% endif %} |
15 <title>{{ pageTitle|e }}</title> | 15 <title>{{ pageTitle|e }}</title> |
16 <link rel="stylesheet" href="{{ stylesheet }}" type="text/css" /> | 16 <link rel="stylesheet" href="{{ stylesheet }}" type="text/css" /> |
17 <link rel="alternate" type="application/rss+xml" title="RSS" href="{{ path_t
o_root }}rss"> | 17 <link rel="alternate" type="application/rss+xml" title="RSS" href="{{ path_t
o_root }}rss"> |
| 18 |
| 19 <link rel="stylesheet" href="{{ path_to_root }}milo.css" type="text/css" /> |
| 20 <script src="{{ path_to_root }}milo.js"></script> |
18 {% endblock %} | 21 {% endblock %} |
19 </head> | 22 </head> |
20 <body class="interface"> | 23 <body class="interface"> |
21 {% block header -%} | 24 {% block header -%} |
22 <div class="header"> | 25 <div class="header"> |
23 <a href="{{ path_to_root or '.' }}">Home</a> | 26 <a href="{{ path_to_root or '.' }}">Home</a> |
24 - <a href="{{ path_to_root }}waterfall">Waterfall</a> | 27 - <a href="{{ path_to_root }}waterfall">Waterfall</a> |
25 <a href="{{ path_to_root }}grid">Grid</a> | 28 <a href="{{ path_to_root }}grid">Grid</a> |
26 <a href="{{ path_to_root }}tgrid">T-Grid</a> | 29 <a href="{{ path_to_root }}tgrid">T-Grid</a> |
27 <a href="{{ path_to_root }}console">Console</a> | 30 <a href="{{ path_to_root }}console">Console</a> |
28 <a href="{{ path_to_root }}builders">Builders</a> | 31 <a href="{{ path_to_root }}builders">Builders</a> |
29 <a href="{{ path_to_root }}one_line_per_build">Recent Builds</a> | 32 <a href="{{ path_to_root }}one_line_per_build">Recent Builds</a> |
30 <a href="{{ path_to_root }}buildslaves">Buildslaves</a> | 33 <a href="{{ path_to_root }}buildslaves">Buildslaves</a> |
31 <a href="{{ path_to_root }}changes">Changesources</a> | 34 <a href="{{ path_to_root }}changes">Changesources</a> |
32 - <a href="{{ path_to_root }}json/help">JSON API</a> | 35 - <a href="{{ path_to_root }}json/help">JSON API</a> |
33 - <a href="{{ path_to_root }}about">About</a> | 36 - <a href="{{ path_to_root }}about">About</a> |
| 37 |
34 </div> | 38 </div> |
| 39 |
| 40 <!-- Inject Milo tag, when appropriate. --> |
| 41 <script> |
| 42 (function() { MiloInject("{{path_to_root}}", "{{mastername|default}}"); }(
)); |
| 43 </script> |
35 {% endblock %} | 44 {% endblock %} |
36 | 45 |
37 {%- block barecontent -%} | 46 {%- block barecontent -%} |
38 <hr/> | 47 <hr/> |
39 | 48 |
40 <div class="content"> | 49 <div class="content"> |
41 {%- block content -%} | 50 {%- block content -%} |
42 {%- endblock -%} | 51 {%- endblock -%} |
43 </div> | 52 </div> |
44 {%- endblock -%} | 53 {%- endblock -%} |
(...skipping 20 matching lines...) Expand all Loading... |
65 (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement
(o), | 74 (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement
(o), |
66 m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore
(a,m) | 75 m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore
(a,m) |
67 })(window,document,'script','//www.google-analytics.com/analytics.js','ga'
); | 76 })(window,document,'script','//www.google-analytics.com/analytics.js','ga'
); |
68 | 77 |
69 ga('create', 'UA-55762617-2', {'siteSpeedSampleRate': 100}); | 78 ga('create', 'UA-55762617-2', {'siteSpeedSampleRate': 100}); |
70 ga('send', 'pageview'); | 79 ga('send', 'pageview'); |
71 | 80 |
72 </script> | 81 </script> |
73 </body> | 82 </body> |
74 </html> | 83 </html> |
OLD | NEW |