Mercurial > bitten > bitten-test
annotate bitten/templates/bitten_config.html @ 881:15cf0edad043
Include excanvas.js so that flot graphs render successfully in IE. Fixes #639.
author | hodgestar |
---|---|
date | Thu, 18 Nov 2010 10:36:37 +0000 |
parents | c00b8e968869 |
children |
rev | line source |
---|---|
503
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
1 <!DOCTYPE html |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
2 PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
3 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
4 <html xmlns="http://www.w3.org/1999/xhtml" |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
5 xmlns:xi="http://www.w3.org/2001/XInclude" |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
6 xmlns:py="http://genshi.edgewall.org/"> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
7 <xi:include href="layout.html" /> |
629
f3bb52da9e3c
0.6dev: Adding support for attachments to configurations and build - full web implementation that mirrors what is available in Ticket and Wiki. Also added a new generic `<attach/>` command that enables attaching files to be part of a recipe and uploaded by slaves as part of build.
osimons
parents:
504
diff
changeset
|
8 <xi:include href="macros.html" /> |
503
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
9 <head> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
10 <title>$title</title> |
881
15cf0edad043
Include excanvas.js so that flot graphs render successfully in IE. Fixes #639.
hodgestar
parents:
843
diff
changeset
|
11 <script type="text/javascript" src="${req.href.chrome('bitten', 'excanvas.js')}"></script> |
843
c00b8e968869
Can't involve Trac `htdocs_location` when defining our own chrome paths. It breaks if they are split (like on Edgewall servers).
osimons
parents:
834
diff
changeset
|
12 <script type="text/javascript" src="${req.href.chrome('bitten', 'jquery.flot.js')}"></script> |
503
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
13 </head> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
14 <body> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
15 <strong py:def="build_status(status)" class="status"> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
16 <py:choose test="status"> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
17 <py:when test="'completed'">Success</py:when> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
18 <py:when test="'failed'">Failed</py:when> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
19 <py:when test="'in progress'">In-progress</py:when> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
20 </py:choose> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
21 </strong> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
22 |
760
306419d32527
Expand steps to allow in-progress steps. Some small additions to the BuildStep model, but most changes are in the ui to not assume steps are in their final state when they're shown.
wbell
parents:
696
diff
changeset
|
23 <div py:def="build_time(build)" class="system"> |
306419d32527
Expand steps to allow in-progress steps. Some small additions to the BuildStep model, but most changes are in the ui to not assume steps are in their final state when they're shown.
wbell
parents:
696
diff
changeset
|
24 <py:choose> |
306419d32527
Expand steps to allow in-progress steps. Some small additions to the BuildStep model, but most changes are in the ui to not assume steps are in their final state when they're shown.
wbell
parents:
696
diff
changeset
|
25 <span py:when="build.stopped"> |
306419d32527
Expand steps to allow in-progress steps. Some small additions to the BuildStep model, but most changes are in the ui to not assume steps are in their final state when they're shown.
wbell
parents:
696
diff
changeset
|
26 <div>Duration: ${build.duration}</div> |
306419d32527
Expand steps to allow in-progress steps. Some small additions to the BuildStep model, but most changes are in the ui to not assume steps are in their final state when they're shown.
wbell
parents:
696
diff
changeset
|
27 </span> |
306419d32527
Expand steps to allow in-progress steps. Some small additions to the BuildStep model, but most changes are in the ui to not assume steps are in their final state when they're shown.
wbell
parents:
696
diff
changeset
|
28 <span py:otherwise=""> |
306419d32527
Expand steps to allow in-progress steps. Some small additions to the BuildStep model, but most changes are in the ui to not assume steps are in their final state when they're shown.
wbell
parents:
696
diff
changeset
|
29 <div>${build.started} (${build.started_delta} ago)</div> |
306419d32527
Expand steps to allow in-progress steps. Some small additions to the BuildStep model, but most changes are in the ui to not assume steps are in their final state when they're shown.
wbell
parents:
696
diff
changeset
|
30 </span> |
306419d32527
Expand steps to allow in-progress steps. Some small additions to the BuildStep model, but most changes are in the ui to not assume steps are in their final state when they're shown.
wbell
parents:
696
diff
changeset
|
31 </py:choose> |
306419d32527
Expand steps to allow in-progress steps. Some small additions to the BuildStep model, but most changes are in the ui to not assume steps are in their final state when they're shown.
wbell
parents:
696
diff
changeset
|
32 </div> |
306419d32527
Expand steps to allow in-progress steps. Some small additions to the BuildStep model, but most changes are in the ui to not assume steps are in their final state when they're shown.
wbell
parents:
696
diff
changeset
|
33 |
503
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
34 <div py:def="slave_info(slave)" class="system"> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
35 <strong>$slave.name</strong> ($slave.ipnr)<br /> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
36 $slave.os_name $slave.os_version |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
37 <py:if test="slave.machine or slave.processor"> / </py:if> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
38 ${slave.processor or slave.machine or ''} |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
39 </div> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
40 |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
41 <ul py:def="build_steps(steps)" py:if="steps" class="steps"> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
42 <li py:for="step in steps" |
760
306419d32527
Expand steps to allow in-progress steps. Some small additions to the BuildStep model, but most changes are in the ui to not assume steps are in their final state when they're shown.
wbell
parents:
696
diff
changeset
|
43 class="${step.cls}"> |
503
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
44 <span class="duration">$step.duration</span> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
45 <a href="$step.href" title="${step.description or None}"> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
46 $step.name |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
47 </a> |
760
306419d32527
Expand steps to allow in-progress steps. Some small additions to the BuildStep model, but most changes are in the ui to not assume steps are in their final state when they're shown.
wbell
parents:
696
diff
changeset
|
48 <ul py:if="step.status is 'failed' and step.errors"> |
503
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
49 <li py:for="error in step.errors">$error</li> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
50 </ul> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
51 </li> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
52 </ul> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
53 |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
54 <div id="content" class="build"> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
55 <h1>$title</h1><py:choose test="page_mode"><py:when test="'overview'"> |
504 | 56 <py:if test="builds_pending"> |
632
01c9848950d5
0.6dev: Cleaning all usage of tabs (replaced with spaces).
osimons
parents:
629
diff
changeset
|
57 <div>$builds_pending pending build<py:if test="builds_pending > 1">s</py:if> |
504 | 58 </div></py:if><py:if test="builds_inprogress"> |
632
01c9848950d5
0.6dev: Cleaning all usage of tabs (replaced with spaces).
osimons
parents:
629
diff
changeset
|
59 <div>$builds_inprogress in-progress build<py:if test="builds_inprogress > 1">s</py:if> |
504 | 60 </div></py:if> |
503
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
61 <form id="prefs" method="get" action=""> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
62 <div> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
63 <input type="checkbox" id="showall" name="show" value="all" |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
64 checked="${show_all and 'checked' or None}" /> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
65 <label for="showall">Show deactivated configurations</label> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
66 </div> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
67 <div class="buttons"> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
68 <input type="submit" value="Update" /> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
69 </div> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
70 </form><py:for each="config in configs"> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
71 <h2 class="config ${not config.active and 'deactivated' or ''}"> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
72 <a href="$config.href">$config.label</a> |
504 | 73 </h2><py:if test="config.builds_pending"> |
632
01c9848950d5
0.6dev: Cleaning all usage of tabs (replaced with spaces).
osimons
parents:
629
diff
changeset
|
74 <div>$config.builds_pending pending |
01c9848950d5
0.6dev: Cleaning all usage of tabs (replaced with spaces).
osimons
parents:
629
diff
changeset
|
75 build<py:if test="config.builds_pending > 1">s</py:if> <i>(<py:for each="platform in config.platforms"> |
504 | 76 <py:if test="platform.builds_pending"> |
632
01c9848950d5
0.6dev: Cleaning all usage of tabs (replaced with spaces).
osimons
parents:
629
diff
changeset
|
77 $platform.name: $platform.builds_pending |
504 | 78 </py:if></py:for>)</i> |
79 </div></py:if><py:if test="config.builds_inprogress"> | |
632
01c9848950d5
0.6dev: Cleaning all usage of tabs (replaced with spaces).
osimons
parents:
629
diff
changeset
|
80 <div>$config.builds_inprogress in-progress |
760
306419d32527
Expand steps to allow in-progress steps. Some small additions to the BuildStep model, but most changes are in the ui to not assume steps are in their final state when they're shown.
wbell
parents:
696
diff
changeset
|
81 build<py:if test="config.builds_inprogress > 1">s</py:if> <i>(<py:for each="platform in config.platforms"><py:if test="platform.builds_inprogress"> |
632
01c9848950d5
0.6dev: Cleaning all usage of tabs (replaced with spaces).
osimons
parents:
629
diff
changeset
|
82 $platform.name: $platform.builds_inprogress |
01c9848950d5
0.6dev: Cleaning all usage of tabs (replaced with spaces).
osimons
parents:
629
diff
changeset
|
83 </py:if></py:for>)</i> |
504 | 84 </div></py:if> |
503
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
85 <div py:if="config.description" class="description"> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
86 $config.description |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
87 </div><py:if test="len(config.builds)"> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
88 <h3 class="builds"><a href="$config.href">Latest builds</a></h3> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
89 <table class="builds"><tbody><tr> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
90 <th py:with="youngest_rev = config.youngest_rev"> |
834
70aebfc3a45f
Use `display_rev` strategy instead of just `rev` as that displays much nicer for DVCS sytems with long hash revisions numbers using Trac 0.12. No visual differences for Trac 0.11 users.
osimons
parents:
814
diff
changeset
|
91 <a href="$youngest_rev.href">[$youngest_rev.display_rev]</a> |
655
731b2edbd0dc
0.6dev: Email obfuscation of changeset author when displaying builds and changesets.
osimons
parents:
638
diff
changeset
|
92 by ${format_author(youngest_rev.author)}<p class="date">$youngest_rev.date</p> |
503
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
93 <p class="message">$youngest_rev.message</p> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
94 </th> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
95 <td py:for="build in config.builds" class="$build.cls"><py:choose> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
96 <py:when test="build.status != 'pending'"> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
97 <a href="$build.href">$build.platform</a> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
98 <p class="date">$build.stopped</p> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
99 ${slave_info(build.slave)} |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
100 ${build_status(build.status)} |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
101 </py:when><py:otherwise> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
102 <strong>$build.platform</strong> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
103 <p class="nobuild">No build yet</p> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
104 </py:otherwise></py:choose> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
105 </td> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
106 </tr></tbody></table></py:if></py:for> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
107 |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
108 </py:when><py:when test="'view_config'"> |
768 | 109 <div id="charts"><py:for each="chart in config.charts"> |
110 <h3 id="chart_${chart.category}_title" style="text-align: center;"/> | |
814
77ff2e80b69d
Make size and style of charts configurable (applying patch from #426).
hodgestar
parents:
812
diff
changeset
|
111 <div id="chart_${chart.category}" style="${chart.style}"></div> |
768 | 112 <script type="text/javascript"> |
113 $(document).ready(function() { | |
114 | |
115 $.getJSON('${chart.href}', function(json) { | |
116 | |
117 $("#chart_${chart.category}_title").append(json.title); | |
118 json.options['xaxis']['tickFormatter'] = function(rev) { return "[" + rev + "]"; }; | |
119 $.plot($("#chart_${chart.category}"), json.data, json.options); | |
120 }); | |
121 }); | |
122 </script> | |
123 <br /></py:for> | |
124 </div> | |
503
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
125 <form py:if="config.can_modify" id="prefs" method="post" |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
126 class="activation"><py:choose> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
127 <div py:when="not config.active" class="help"> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
128 This build configuration is currently inactive.<br /> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
129 No builds will be initiated for this configuration<br /> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
130 until it is activated. |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
131 </div> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
132 <div py:otherwise="" class="help"> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
133 This configuration is currently active. |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
134 </div></py:choose> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
135 <div class="buttons" py:choose=""> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
136 <input type="hidden" name="action" value="edit" /> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
137 <input py:when="config.active" type="submit" name="deactivate" |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
138 value="Deactivate" /> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
139 <input py:otherwise="" type="submit" name="activate" |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
140 value="Activate" /> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
141 </div> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
142 </form> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
143 <p class="path"> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
144 Repository path: |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
145 <a py:if="config.path" href="$config.browser_href">$config.path</a> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
146 ${not config.path and '—' or ''} |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
147 <py:if test="config.min_rev or config.max_rev"> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
148 (<py:if test="config.min_rev">starting at |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
149 <a href="$config.min_rev_href">[$config.min_rev]</a></py:if> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
150 <py:if test="config.min_rev and config.max_rev">, </py:if> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
151 <py:if test="config.max_rev">up to |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
152 <a href="$config.max_rev_href">[$config.max_rev]</a></py:if>) |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
153 </py:if> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
154 </p> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
155 <div py:if="config.description" class="description"> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
156 $config.description |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
157 </div> |
629
f3bb52da9e3c
0.6dev: Adding support for attachments to configurations and build - full web implementation that mirrors what is available in Ticket and Wiki. Also added a new generic `<attach/>` command that enables attaching files to be part of a recipe and uploaded by slaves as part of build.
osimons
parents:
504
diff
changeset
|
158 <div class="buttons"> |
f3bb52da9e3c
0.6dev: Adding support for attachments to configurations and build - full web implementation that mirrors what is available in Ticket and Wiki. Also added a new generic `<attach/>` command that enables attaching files to be part of a recipe and uploaded by slaves as part of build.
osimons
parents:
504
diff
changeset
|
159 ${attach_file_form(config.attachments)} |
f3bb52da9e3c
0.6dev: Adding support for attachments to configurations and build - full web implementation that mirrors what is available in Ticket and Wiki. Also added a new generic `<attach/>` command that enables attaching files to be part of a recipe and uploaded by slaves as part of build.
osimons
parents:
504
diff
changeset
|
160 </div> |
f3bb52da9e3c
0.6dev: Adding support for attachments to configurations and build - full web implementation that mirrors what is available in Ticket and Wiki. Also added a new generic `<attach/>` command that enables attaching files to be part of a recipe and uploaded by slaves as part of build.
osimons
parents:
504
diff
changeset
|
161 ${list_of_attachments(config.attachments, compact=True)} |
504 | 162 <py:if test="config.builds_pending"> |
632
01c9848950d5
0.6dev: Cleaning all usage of tabs (replaced with spaces).
osimons
parents:
629
diff
changeset
|
163 <div>$config.builds_pending pending build<py:if test="config.builds_pending > 1">s</py:if> <i>(<py:for each="platform in config.platforms"> |
504 | 164 <py:if test="platform.builds_pending"> |
632
01c9848950d5
0.6dev: Cleaning all usage of tabs (replaced with spaces).
osimons
parents:
629
diff
changeset
|
165 $platform.name: $platform.builds_pending |
504 | 166 </py:if></py:for>)</i> |
167 </div></py:if><py:if test="config.builds_inprogress"> | |
760
306419d32527
Expand steps to allow in-progress steps. Some small additions to the BuildStep model, but most changes are in the ui to not assume steps are in their final state when they're shown.
wbell
parents:
696
diff
changeset
|
168 <div>$config.builds_inprogress in-progress build<py:if test="config.builds_inprogress > 1">s</py:if> <i>(<py:for each="platform in config.platforms"><py:if test="platform.builds_inprogress"> |
306419d32527
Expand steps to allow in-progress steps. Some small additions to the BuildStep model, but most changes are in the ui to not assume steps are in their final state when they're shown.
wbell
parents:
696
diff
changeset
|
169 $platform.name: $platform.builds_inprogress |
504 | 170 </py:if></py:for>)</i> |
171 </div></py:if> | |
503
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
172 |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
173 <table py:if="config.platforms and config.builds" |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
174 class="listing" id="builds"> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
175 <thead><tr> |
638
74237f60f8a9
0.6dev: Improving builds overview page layout, take 2. Re-closing #430.
osimons
parents:
637
diff
changeset
|
176 <th class="chgset"><abbr title="Changeset">Chgset</abbr></th> |
503
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
177 <th py:for="platform in config.platforms">$platform.name</th> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
178 </tr></thead> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
179 <tbody py:if="config.builds"> |
812
29a5793c452a
Don't sort revisions received from Trac - they are already sorted chronologically, and no further order can be implied from revision numbers.
osimons
parents:
768
diff
changeset
|
180 <tr py:for="rev_num in config.revisions" |
503
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
181 py:with="rev = config.builds[rev_num]"> |
638
74237f60f8a9
0.6dev: Improving builds overview page layout, take 2. Re-closing #430.
osimons
parents:
637
diff
changeset
|
182 <th class="chgset" scope="row"> |
834
70aebfc3a45f
Use `display_rev` strategy instead of just `rev` as that displays much nicer for DVCS sytems with long hash revisions numbers using Trac 0.12. No visual differences for Trac 0.11 users.
osimons
parents:
814
diff
changeset
|
183 <a href="$rev.href" title="View Changeset">[$rev.display_rev]</a> |
503
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
184 </th><py:for each="platform in config.platforms"><py:choose> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
185 <td py:when="platform.id in rev" py:with="build = rev[platform.id]" |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
186 class="$build.cls"> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
187 <div class="info"> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
188 <a href="$build.href" title="View build results"> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
189 $build.id |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
190 ${build_status(build.status)} |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
191 </a> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
192 ${slave_info(build.slave)} |
760
306419d32527
Expand steps to allow in-progress steps. Some small additions to the BuildStep model, but most changes are in the ui to not assume steps are in their final state when they're shown.
wbell
parents:
696
diff
changeset
|
193 ${build_time(build)} |
503
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
194 </div> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
195 ${build_steps(build.steps)} |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
196 </td> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
197 <td py:otherwise="">—</td></py:choose></py:for> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
198 </tr> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
199 </tbody> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
200 </table> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
201 <br style="clear: right"/> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
202 |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
203 </py:when><py:when test="'view-inprogress'"> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
204 <py:for each="config in configs"> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
205 <h2 class="config ${not config.active and 'deactivated' or ''}"> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
206 <a href="$config.href">$config.label</a> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
207 </h2> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
208 <table class="listing" id="builds"> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
209 <thead><tr> |
638
74237f60f8a9
0.6dev: Improving builds overview page layout, take 2. Re-closing #430.
osimons
parents:
637
diff
changeset
|
210 <th class="chgset" abbrev="Changeset">Chgset</th><th>Build</th> |
503
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
211 </tr></thead><tbody> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
212 <tr py:for="build in config.builds"> |
638
74237f60f8a9
0.6dev: Improving builds overview page layout, take 2. Re-closing #430.
osimons
parents:
637
diff
changeset
|
213 <th class="chgset" scope="row"> |
503
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
214 <a href="$build.rev_href" title="View Changeset">[$build.rev]</a> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
215 </th> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
216 <td class="$build.cls"> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
217 <div class="info"> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
218 <a href="$build.href" title="View build results"> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
219 $build.id: <strong class="status">$build.platform</strong> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
220 </a> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
221 ${slave_info(build.slave)} |
760
306419d32527
Expand steps to allow in-progress steps. Some small additions to the BuildStep model, but most changes are in the ui to not assume steps are in their final state when they're shown.
wbell
parents:
696
diff
changeset
|
222 ${build_time(build)} |
503
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
223 </div> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
224 ${build_steps(build.steps)} |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
225 </td> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
226 </tr></tbody> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
227 </table></py:for></py:when> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
228 </py:choose></div> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
229 </body> |
a7c795920c4a
Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff
changeset
|
230 </html> |