Add download folder
[blender-buildbot.git] / templates / layout.html
1 {%- block doctype -%}
2 <!DOCTYPE html>
3 {% endblock %}
4 <html lang="en">
5   <head>
6     {% block head %}
7     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
8     {% if metatags %}
9       {{ metatags }}
10     {% endif %}
11     {% if refresh %}
12       <meta http-equiv="refresh" content="{{ refresh|e }}"/>
13     {% endif %}
14     <title>{{ title|e }}</title>
15
16         <link href="https://netdna.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet">
17         <link href="https://netdna.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
18         <link href="{{ path_to_root }}css/main.css" rel="stylesheet">
19
20     <link rel="stylesheet" href="{{ stylesheet }}" type="text/css" />
21     <link rel="alternate" type="application/rss+xml" title="RSS" href="{{ path_to_root }}rss">
22
23         <link href="{{ path_to_root }}css/font-borg.css" rel="stylesheet">
24         <link href='https://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'>
25         <link href='https://fonts.googleapis.com/css?family=Open+Sans+Condensed:300' rel='stylesheet' type='text/css'>
26     {% endblock %}
27   </head>
28   <body class="interface" onload="parent.postMessage(document.body.scrollHeight, 'https://developer.blender.org');">
29
30           {% block header -%}
31         <header class="navbar navbar-default navbar-fixed-top" role="navigation">
32             <div class="container">
33                 <div class="navbar-header">
34                     <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#cloud-navbar-collapse-1">
35                         <span class="sr-only">Toggle navigation</span>
36                         <i class="fa fa-bars"></i>
37                     </button>
38                     <a class="logo" href="{{ path_to_root or '.' }}"></a>
39                 </div>
40
41                 <!-- Collect the nav links, forms, and other content for toggling -->
42                 <nav class="collapse navbar-collapse" id="cloud-navbar-collapse-1">
43                     <ul class="nav navbar-nav navbar-right">
44                         <li class="menu-item menu-item-type-post_type menu-item-object-page"><a href="{{ path_to_root }}download">Download</a></li>
45                         <li class="menu-item menu-item-type-post_type menu-item-object-page"><a href="{{ path_to_root }}waterfall">Waterfall</a></li>
46                         <li class="menu-item menu-item-type-post_type menu-item-object-page"><a href="{{ path_to_root }}grid">Grid</a></li>
47                         <li class="menu-item menu-item-type-post_type menu-item-object-page"><a href="{{ path_to_root }}tgrid">T-Grid</a></li>
48                         <li class="menu-item menu-item-type-post_type menu-item-object-page"><a href="{{ path_to_root }}builders">Builders</a></li>
49                         <li class="menu-item menu-item-type-post_type menu-item-object-page"><a href="{{ path_to_root }}one_line_per_build">Recent Builds</a></li>
50                         <li class="menu-item menu-item-type-post_type menu-item-object-page"><a href="{{ path_to_root }}buildslaves">Buildslaves</a></li>
51                         <li class="menu-item menu-item-type-post_type menu-item-object-page"><a href="{{ path_to_root }}about">About</a></li>
52                     </ul>
53                 </nav><!-- /.navbar-collapse -->
54
55                 </div>
56         </header>
57     {% endblock %}
58
59         <div class="container-fluid featured featured-xs">
60                         <div class="col-md-12 height-full">
61                                 <div class="container vertical-align">
62                 
63                                 </div>
64                         </div>
65                 </div> 
66
67     {%- block barecontent -%}
68     <div class="content col-md-12">
69       {%- block content -%}     
70       {%- endblock -%}
71     </div>
72     {%- endblock -%}
73
74     {%- block footer -%} 
75     <footer>
76         <div class="container">
77             <span class="pull-left">
78               <a href="http://buildbot.net/">BuildBot</a> ({{version}})
79               {% if project_name -%}
80                 working for the&nbsp;
81                 {%- if project_url -%}
82                   <a href="{{ project_url }}">{{ project_name }}</a>
83                 {%- else -%}
84                   {{ project_name }}
85                 {%- endif -%}
86                 &nbsp;project.
87               {%- endif -%}
88             </span>
89         <span class="pull-right"><p>Page built: {{ time }} ({{ tz }})</p></span>
90         </div>
91     </footer>
92     {% endblock -%}
93
94     <script>
95       (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
96       (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
97       m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
98       })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
99     
100       ga('create', 'UA-1418081-1', 'auto');
101       ga('send', 'pageview');
102     
103     </script>
104   </body>
105 </html>