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

Side by Side Diff: templates/logs.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: Review fixes 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
OLDNEW
(Empty)
1 {% extends "viewer_base.html" %}
2
3 {% block title %}
4 Log File for {{name}}
5 {% endblock title %}
6
7 {% block head %}
8 <style>
9 .code {
10 font-family:monospace;
11 }
12 body {
13 white-space: nowrap;
14 }
15 {% if output %}
16 #main-container {
17 padding: 0;
18 }
19 .row {
20 padding-left: 20px;
21 padding-right: 20px;
22 }
23 {% endif %}
24 .alert {
25 margin-left: 20px;
26 }
27 .section-header {
28 background-color: #E8E8E8;
29 }
30 .center {
31 float: none;
32 margin-left: auto;
33 margin-right: auto;
34 width: 500px;
35 }
36 </style>
37 {% endblock head %}
38
39 {% block body %}
40 <div class="row">
41 {% if status == 'RUNNING' %}
42 <div class="alert alert-info">
43 This step is still running...
44 </div>
45 {% elif status == 'OK' %}
46 <div class="alert alert-success">
47 This step passed with status {{ret_code}}
48 </div>
49 {% elif status == 'ERROR' %}
50 <div class="alert alert-error">
51 This step failed with status {{ret_code}}
52 </div>
53 {% endif %}
54 <div class="span12">
55 <h2>Output from <a href='{{url}}'>{{name}}</a></h2>
56 </div>
57 </div>
58 {% autoescape False %}
59 {% for section_title, lines in output %}
60 <div class="row section-{{section_title}}">
61 <div class="span12">
62 {% for line, attrs in lines %}
63 <span class="code {% for attr in attrs %}{{attr}} {% endfor %}">{{line}}</ span><br>
64 {% endfor %}
65 </div>
66 </div>
67 {% endfor %}
68 {% endautoescape %}
69 {% endblock body %}
70
71 {% block sub_footer %}
72 {% if output and debug %}
73 Fetch time: {{'%02f' % log_fetch_time}}s<br>
74 Parse time: {{'%02f' % parse_time}}s<br>
75 Size: {{size}} bytes<br>
76 Compressed Size: {{compressed_size}} bytes<br>
77 Compressed Report: {{compressed_report}} bytes
78 {% endif %}
79 {% endblock sub_footer %}
OLDNEW
« no previous file with comments | « templates/buildbot.html ('k') | templates/slave.html » ('j') | templates/step.html » ('J')

Powered by Google App Engine
This is Rietveld 408576698