Initial commit of blenders buildbot configuration
This commit is contained in:
105
templates/layout.html
Normal file
105
templates/layout.html
Normal file
@@ -0,0 +1,105 @@
|
||||
{%- block doctype -%}
|
||||
<!DOCTYPE html>
|
||||
{% endblock %}
|
||||
<html lang="en">
|
||||
<head>
|
||||
{% block head %}
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
{% if metatags %}
|
||||
{{ metatags }}
|
||||
{% endif %}
|
||||
{% if refresh %}
|
||||
<meta http-equiv="refresh" content="{{ refresh|e }}"/>
|
||||
{% endif %}
|
||||
<title>{{ title|e }}</title>
|
||||
|
||||
<link href="https://netdna.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet">
|
||||
<link href="https://netdna.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
|
||||
<link href="{{ path_to_root }}css/main.css" rel="stylesheet">
|
||||
|
||||
<link rel="stylesheet" href="{{ stylesheet }}" type="text/css" />
|
||||
<link rel="alternate" type="application/rss+xml" title="RSS" href="{{ path_to_root }}rss">
|
||||
|
||||
<link href="{{ path_to_root }}css/font-borg.css" rel="stylesheet">
|
||||
<link href='https://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'>
|
||||
<link href='https://fonts.googleapis.com/css?family=Open+Sans+Condensed:300' rel='stylesheet' type='text/css'>
|
||||
{% endblock %}
|
||||
</head>
|
||||
<body class="interface" onload="parent.postMessage(document.body.scrollHeight, 'https://developer.blender.org');">
|
||||
|
||||
{% block header -%}
|
||||
<header class="navbar navbar-default navbar-fixed-top" role="navigation">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#cloud-navbar-collapse-1">
|
||||
<span class="sr-only">Toggle navigation</span>
|
||||
<i class="fa fa-bars"></i>
|
||||
</button>
|
||||
<a class="logo" href="{{ path_to_root or '.' }}"></a>
|
||||
</div>
|
||||
|
||||
<!-- Collect the nav links, forms, and other content for toggling -->
|
||||
<nav class="collapse navbar-collapse" id="cloud-navbar-collapse-1">
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li class="menu-item menu-item-type-post_type menu-item-object-page"><a href="{{ path_to_root }}download">Download</a></li>
|
||||
<li class="menu-item menu-item-type-post_type menu-item-object-page"><a href="{{ path_to_root }}waterfall">Waterfall</a></li>
|
||||
<li class="menu-item menu-item-type-post_type menu-item-object-page"><a href="{{ path_to_root }}grid">Grid</a></li>
|
||||
<li class="menu-item menu-item-type-post_type menu-item-object-page"><a href="{{ path_to_root }}tgrid">T-Grid</a></li>
|
||||
<li class="menu-item menu-item-type-post_type menu-item-object-page"><a href="{{ path_to_root }}builders">Builders</a></li>
|
||||
<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>
|
||||
<li class="menu-item menu-item-type-post_type menu-item-object-page"><a href="{{ path_to_root }}buildslaves">Buildslaves</a></li>
|
||||
<li class="menu-item menu-item-type-post_type menu-item-object-page"><a href="{{ path_to_root }}about">About</a></li>
|
||||
</ul>
|
||||
</nav><!-- /.navbar-collapse -->
|
||||
|
||||
</div>
|
||||
</header>
|
||||
{% endblock %}
|
||||
|
||||
<div class="container-fluid featured featured-xs">
|
||||
<div class="col-md-12 height-full">
|
||||
<div class="container vertical-align">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{%- block barecontent -%}
|
||||
<div class="content col-md-12">
|
||||
{%- block content -%}
|
||||
{%- endblock -%}
|
||||
</div>
|
||||
{%- endblock -%}
|
||||
|
||||
{%- block footer -%}
|
||||
<footer>
|
||||
<div class="container">
|
||||
<span class="pull-left">
|
||||
<a href="http://buildbot.net/">BuildBot</a> ({{version}})
|
||||
{% if project_name -%}
|
||||
working for the
|
||||
{%- if project_url -%}
|
||||
<a href="{{ project_url }}">{{ project_name }}</a>
|
||||
{%- else -%}
|
||||
{{ project_name }}
|
||||
{%- endif -%}
|
||||
project.
|
||||
{%- endif -%}
|
||||
</span>
|
||||
<span class="pull-right"><p>Page built: {{ time }} ({{ tz }})</p></span>
|
||||
</div>
|
||||
</footer>
|
||||
{% endblock -%}
|
||||
|
||||
<script>
|
||||
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
||||
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
||||
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
||||
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
||||
|
||||
ga('create', 'UA-1418081-1', 'auto');
|
||||
ga('send', 'pageview');
|
||||
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user