Mercurial > mozilla > hg > talosnames
annotate talosnames/templates/index.html @ 31:c6580ad2612f
better formatting of command
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Tue, 17 Jul 2012 21:36:05 -0700 |
parents | 905daa511aa4 |
children | 1a9ec766f2b0 |
rev | line source |
---|---|
18 | 1 <html> |
2 <head> | |
20 | 3 <title>Talos Names</title> |
4 <style> | |
29 | 5 * { |
6 font-family: sans-serif; | |
7 } | |
8 | |
9 td.command { | |
10 font-family: monospace; | |
11 } | |
12 | |
20 | 13 table, th, td { |
14 border: 1px solid black; | |
15 } | |
25 | 16 dt { |
17 font-style: italic; | |
18 font-weight: 550; | |
19 float: left; | |
20 clear: left; | |
21 padding-right: 1em; | |
22 } | |
23 | |
24 dd { clear: right; } | |
25 | |
26 dt::after { content: ": "; } | |
27 | |
28 .header { | |
29 font-weight: bold; | |
30 align: center; | |
31 text-align: center; | |
32 } | |
33 | |
20 | 34 </style> |
25 | 35 <script src="http://code.jquery.com/jquery-1.7.2.min.js"></script> |
36 <script> | |
37 $(document).ready(function() { | |
38 }); | |
39 </script> | |
18 | 40 </head> |
41 <body> | |
25 | 42 <table id="data"> |
18 | 43 <tr> |
29 | 44 <th class="buildbot">Buildbot Suite</th> |
45 <th class="command">Buildbot Command</th> | |
46 <th class="tbpl">TBPL Name</th> | |
47 <th class="paint">Paint</th> | |
48 <th class="chrome">Chrome</th> | |
49 <th class="tests">Talos Tests</th> | |
18 | 50 </tr> |
21 | 51 {{for suite in suites}} |
52 <tr> | |
29 | 53 <td class="buildbot">{{suite}}</td> |
31
c6580ad2612f
better formatting of command
Jeff Hammel <jhammel@mozilla.com>
parents:
29
diff
changeset
|
54 <td class="command">{{list2cmdline(commands[suite])}}</tt></td> |
29 | 55 <td class="tbpl">{{tbpl[suite]}}</td> |
56 <td class="paint">{{paint.get(suite, '')}}</td> | |
57 <td class="chrome">{{chrome.get(suite, '')}}</td> | |
58 <td class="tests"> | |
24 | 59 {{if tests.get(suite)}} |
60 <table> | |
61 <tr> | |
62 <th>Talos Config</th> | |
63 <th>Graphserver Name</th> | |
64 </tr> | |
65 | |
66 {{for test in sorted(tests[suite].keys())}} | |
67 <tr> | |
25 | 68 <td><div class="header">{{test}}</div> |
24 | 69 <dl> |
70 {{for attr in sorted(tests.get(suite, {})[test].keys())}} | |
71 <dt>{{attr}}</dt> | |
72 <dd>{{tests[suite][test][attr]}}</dd> | |
73 {{endfor}} | |
74 </dl> | |
75 </td> | |
76 <td> | |
28 | 77 {{if graphserver[suite][test]}} |
24 | 78 <dl> |
26 | 79 {{for name, longname in graphserver[suite][test]}} |
24 | 80 <dt>{{name}}</dt> |
81 <dd>{{longname}}</dd> | |
82 {{endfor}} | |
83 </dl> | |
28 | 84 {{endif}} |
24 | 85 </td> |
86 </tr> | |
87 {{endfor}} | |
88 </table> | |
89 {{endif}} | |
90 </td> | |
21 | 91 </tr> |
92 {{endfor}} | |
18 | 93 </table> |
94 </body> | |
95 </html> |