Author: David Schneider <[email protected]>
Branch: buildbot-0.8.7
Changeset: r834:fccaa5a3d14f
Date: 2013-08-28 13:51 +0200
http://bitbucket.org/pypy/buildbot/changeset/fccaa5a3d14f/
Log: update templates
diff --git a/master/templates/builder.html b/master/templates/builder.html
--- a/master/templates/builder.html
+++ b/master/templates/builder.html
@@ -12,6 +12,10 @@
(<a href="{{ path_to_root }}summary?builder={{ name }}">view in summary</a>)
</p>
+{% if description %}
+ <div class="BuilderDescription">{{ description }}</div>
+{% endif %}
+
<div class="column">
{% if current %}
@@ -74,6 +78,8 @@
{{ build_table(recent) }}
+<a href="?numbuilds={{numbuilds + 5}}">Show more</a>
+
</div>
<div class="column">
@@ -90,12 +96,15 @@
<tr class="{{ loop.cycle('alt', '') }}">
<td><b><a href="{{ s.link|e }}">{{ s.name|e }}</a></b></td>
{% if s.connected %}
- <td class="idle">connected</td>
- <td>{{ s.admin|email if s.admin else ""}}</td>
+ {% if s.paused %}
+ <td class="paused">paused</td>
+ {% else %}
+ <td class="idle">connected</td>
+ {% endif %}
{% else %}
- <td class="offline">offline</td>
- <td/>
+ <td class="offline">offline</td>
{% endif %}
+ <td>{{ s.admin|email if s.admin else ""}}</td>
</tr>
{% else %}
<td>no slaves attached</td>
diff --git a/master/templates/layout.html b/master/templates/layout.html
--- a/master/templates/layout.html
+++ b/master/templates/layout.html
@@ -15,6 +15,7 @@
<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">
+ <link rel="shortcut icon" href="{{ path_to_root }}favicon.ico">
{% block morehead %}{% endblock %}
{% endblock %}
</head>
@@ -45,10 +46,10 @@
{%- block barecontent -%}
<hr/>
-
- {% if alert_msg != '' %}
- <div class="alert">
- {{alert_msg}}
+
+ {% if alert_msg != "" %}
+ <div class="alert">
+ {{ alert_msg }}
</div>
{% endif %}
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit