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

Side by Side Diff: templates/step.html

Issue 13892003: Added buildbot appengine frontend for chromium-build app (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/chromium-build
Patch Set: Created 7 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 unified diff | Download patch | Annotate | Revision Log
« templates/base.html ('K') | « templates/main.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 {% extends "base.html" %}
2
3 {% block title %}
4 Buildbot: {{builderName}} build #{{number}}
5 {% endblock title %}
6
7 {% block body %}
8 <div class="row-fluid">
9 <div class="span12">
10 {% if currentStep %}
11 <div class="alert alert-info">
12 Currently running {{currentStep.name}}
13 </div>
14 {% elif status == 'OK' %}
15 <div class="alert alert-success">
16 This build passed
17 </div>
18 {% elif status == 'ERROR' %}
19 <div class="alert alert-error">
20 This step failed
21 </div>
22 {% endif %}
23 </div>
24 </div>
25
26 <div class="row-fluid">
27 <div class="span6">
28 <h4>Steps and Logfiles</h4>
29 <table class="table table-condensed table-hover">
30 {% for step in steps %}
31 {% if not step.isFinished %}
32 {% if step.isStarted %}
33 <tr class="warning"><td>
34 {% else %}
35 <tr><td>
36 {% endif %}
37 {% elif step.results[0] == 0 %}
38 <tr class="success"><td>
39 {% elif step.results[0] == 3 %}
40 <tr><td>
41 {% else %}
42 <tr class="error"><td>
43 {% endif %}
44 {{step.name}}
45 {% if step.logs %}
46 (<a href="/buildbot/?url={{step.logs[0][1]}}">{{step.logs[0][0]}}</a>)
47 {% endif %}
48 <small class="muted">
49 {% for text in step.text %}
50 {{text}}
51 {% endfor %}
52 </small>
53 {% if step.times and step.times[1:] %}
54 <span class="pull-right muted">
55 {% if step.times[1] %}
56 {% set delta = step.times[1] - step.times[0] %}
57 {{delta|delta_time}}
58 {% elif step.times[0] %}
59 Running for {{step.times[0]|time_since}}
60 {% endif %}
61 </span>
62 {% endif %}
63 {% if step.logs and step.logs[1:] %}
64 <ol>
65 {% for log_name, log_url in step.logs %}
66 {% if not loop.first %}
67 <li><a href="/buildbot/?url={{log_url}}">{{log_name}}</a></li>
68 {% endif %}
69 {% endfor %}
70 </ol>
71 {% endif %}
72 </td></tr>
73 {% endfor %}
74 </table>
75 </div>
76
77 <div class="span6">
78 <h4>Build Properties</h4>
79 {% for name, value, source in properties %}
80 {% if value and name not in ['blamelist', 'rietveld'] %}
81 <strong>{{name}}</strong>:
82 {% if name == 'issue' %}
83 <a href="{{rietveld}}/{{value}}">
84 {{value}}
85 </a><br>
86 {% elif name == 'testfilter' %}
87 {{', '.join(value)}}<br>
88 {% elif name == 'try_job_key' %}
89 {{value[:10]}}...{{value[-10:]}}<br>
90 {% else %}
91 {{value}}<br>
92 {% endif %}
93 {% endif %}
94 {% endfor %}
95
96 <h4>All Changes</h4>
97 {% for change in sourceStamp.changes %}
98 <div class="well">
99 <strong>Change #{{change.number}}</strong><br>
100 By {{change.who}}<br>
101 {{change.when|time_since}} ago.<br>
102 Revision {{change.revision}}<br><br>
103 <strong>Comments:</strong><br>
104 {% autoescape False %}
105 {{change.comments|cl_comment}}<br><br>
106 {% endautoescape %}
107 <strong>Changes Files:</strong><br>
108 {% for file in change.files %}
109 <li><a href="https://code.google.com/p/chromium/codesearch#chromium/sr c/{{file.name}}">
110 {{file.name}}
111 </a></li>
112 {% else %}
113 No changed files
114 {% endfor %}
115 </div>
116 {% endfor %}
117 </div>
118 </div>
119 {% endblock body %}
120
121 {% block sub_footer %}
122 {% endblock sub_footer %}
OLDNEW
« templates/base.html ('K') | « templates/main.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698