Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(755)

Unified Diff: masters/master.client.dart.fyi/templates/build_line.html

Issue 10053007: Initial dart FYI buildbot setup. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build/
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: masters/master.client.dart.fyi/templates/build_line.html
===================================================================
--- masters/master.client.dart.fyi/templates/build_line.html (revision 0)
+++ masters/master.client.dart.fyi/templates/build_line.html (revision 0)
@@ -0,0 +1,45 @@
+{% macro build_line(b, include_builder=False) %}
+ <small>({{ b.time }})</small>
+ Rev: {{ b.rev|longrev(b.rev_repo) }}
+ <span class="{{ b.class }}">{{ b.results }}</span>
+ {% if include_builder %}
+ <a href="{{ b.builderurl }}">{{ b.builder_name }}</a>
+ {% endif %}
+ <a href="{{ b.buildurl }}">#{{ b.buildnum }}</a> -
+ {{ b.text|capitalize }}
+{% endmacro %}
+
+{% macro build_tr(b, include_builder=False, loop=None) %}
+ <tr class="{{ loop.cycle('alt', '') if loop }}">
+ <td>{{ b.time }}</td>
+ <td class="revision">{{ b.rev|longrev(b.rev_repo) }}</td>
+ <td class="{{ b.class }}">{{ b.results }}</td>
+ {%- if include_builder %}
+ <td><a href="{{ b.builderurl }}">{{ b.builder_name }}</a></td>
+ {% endif %}
+ <td><a href="{{ b.buildurl }}">#{{ b.buildnum }}</a></td>
+ <td class="left">{{ b.text|capitalize }}</td>
+ </tr>
+{% endmacro %}
+
+{% macro build_table(builds, include_builder=False) %}
+{% if builds %}
+<table class="info">
+ <tr>
+ <th>Time</th>
+ <th>Revision</th>
+ <th>Result</th>
+ {%- if include_builder %}
+ <th>Builder</th>
+ {% endif %}
+ <th>Build #</th>
+ <th>Info</th>
+ </tr>
+ {% for b in builds %}
+ {{ build_tr(b, include_builder, loop) }}
+ {% endfor %}
+</table>
+{% else %}
+ No matching builds found
+{% endif %}
+{% endmacro %}
Property changes on: masters/master.client.dart.fyi/templates/build_line.html
___________________________________________________________________
Added: svn:mime-type
+ text/html
Added: svn:eol-style
+ LF
« no previous file with comments | « masters/master.client.dart.fyi/templates/announce.html ('k') | masters/master.client.dart.fyi/templates/builder.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698