Author: Antonio Cuni <[email protected]>
Branch: 0.8.4-compat
Changeset: r564:0df1fdd62298
Date: 2011-08-07 18:07 +0200
http://bitbucket.org/pypy/buildbot/changeset/0df1fdd62298/

Log:    add some pypy links to the header

diff --git a/master/templates/layout.html b/master/templates/layout.html
new file mode 100644
--- /dev/null
+++ b/master/templates/layout.html
@@ -0,0 +1,72 @@
+{%- block doctype -%}
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+{% endblock %}
+<html xmlns="http://www.w3.org/1999/xhtml";>
+  <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>{{ pageTitle|e }}</title>
+    <link rel="stylesheet" href="{{ stylesheet }}" type="text/css" />
+    <link rel="alternate" type="application/rss+xml" title="RSS" href="{{ 
path_to_root }}rss">
+    {% endblock %}
+  </head>
+  <body class="interface">
+    {% block header -%}
+    <div class="header">    
+        <a href="{{ path_to_root or '.' }}">Home</a>
+        - 
+        <!-- PyPy specific items -->
+        <a href="http://speed.pypy.org/";>Speed</a>
+        <a href="{{ path_to_root }}summary?branch=&lt;trunk&gt;">Summary 
&lt;trunk&gt;</a>
+        <a href="{{ path_to_root }}summary">Summary</a>
+        <a href="{{ path_to_root }}nighlty/">Nightly builds</a>
+        <!-- end of PyPy specific items -->
+
+        <a href="{{ path_to_root }}waterfall">Waterfall</a>
+        <a href="{{ path_to_root }}grid">Grid</a>
+        <a href="{{ path_to_root }}tgrid">T-Grid</a>
+        <a href="{{ path_to_root }}console">Console</a>
+        <a href="{{ path_to_root }}builders">Builders</a>
+        <a href="{{ path_to_root }}one_line_per_build">Recent Builds</a>
+        <a href="{{ path_to_root }}buildslaves">Buildslaves</a>
+        <a href="{{ path_to_root }}changes">Changesources</a>
+        - <a href="{{ path_to_root }}json/help">JSON API</a>
+        - <a href="{{ path_to_root }}about">About</a>
+    </div>
+    {% endblock %}
+
+    {%- block barecontent -%}
+    <hr/>
+
+    <div class="content">
+      {%- block content -%}     
+      {%- endblock -%}
+    </div>
+    {%- endblock -%}
+
+    {%- block footer -%} 
+    <div class="footer" style="clear:both">
+      <hr/>
+      <a href="http://buildbot.net/";>BuildBot</a> ({{version}})
+      {% if title -%}
+        working for the&nbsp;
+        {%- if title_url -%}
+          <a href="{{ title_url }}">{{ title }}</a>
+        {%- else -%}
+          {{ title }}
+        {%- endif -%}
+        &nbsp;project.
+      {%- endif -%}
+      <br/>
+      Page built: <b>{{ time }}</b> ({{ tz }})
+    </div>
+    {% endblock -%}
+  </body>
+</html>
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to