Mercurial > mozilla > hg > talosnames
annotate talosnames/templates/index.html @ 33:15f17eeb1813
full test data
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Mon, 23 Jul 2012 13:47:51 -0700 |
parents | 1a9ec766f2b0 |
children | b51b0d750086 |
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 | |
32
1a9ec766f2b0
add a thing for tbpl short names
Jeff Hammel <jhammel@mozilla.com>
parents:
31
diff
changeset
|
34 .tbpl_initial { |
1a9ec766f2b0
add a thing for tbpl short names
Jeff Hammel <jhammel@mozilla.com>
parents:
31
diff
changeset
|
35 font-weight: bold; |
1a9ec766f2b0
add a thing for tbpl short names
Jeff Hammel <jhammel@mozilla.com>
parents:
31
diff
changeset
|
36 color: green; |
1a9ec766f2b0
add a thing for tbpl short names
Jeff Hammel <jhammel@mozilla.com>
parents:
31
diff
changeset
|
37 } |
1a9ec766f2b0
add a thing for tbpl short names
Jeff Hammel <jhammel@mozilla.com>
parents:
31
diff
changeset
|
38 |
1a9ec766f2b0
add a thing for tbpl short names
Jeff Hammel <jhammel@mozilla.com>
parents:
31
diff
changeset
|
39 .true { |
1a9ec766f2b0
add a thing for tbpl short names
Jeff Hammel <jhammel@mozilla.com>
parents:
31
diff
changeset
|
40 background-color: green; |
1a9ec766f2b0
add a thing for tbpl short names
Jeff Hammel <jhammel@mozilla.com>
parents:
31
diff
changeset
|
41 } |
1a9ec766f2b0
add a thing for tbpl short names
Jeff Hammel <jhammel@mozilla.com>
parents:
31
diff
changeset
|
42 |
1a9ec766f2b0
add a thing for tbpl short names
Jeff Hammel <jhammel@mozilla.com>
parents:
31
diff
changeset
|
43 .false { |
1a9ec766f2b0
add a thing for tbpl short names
Jeff Hammel <jhammel@mozilla.com>
parents:
31
diff
changeset
|
44 background-color: red; |
1a9ec766f2b0
add a thing for tbpl short names
Jeff Hammel <jhammel@mozilla.com>
parents:
31
diff
changeset
|
45 } |
1a9ec766f2b0
add a thing for tbpl short names
Jeff Hammel <jhammel@mozilla.com>
parents:
31
diff
changeset
|
46 |
20 | 47 </style> |
25 | 48 <script src="http://code.jquery.com/jquery-1.7.2.min.js"></script> |
32
1a9ec766f2b0
add a thing for tbpl short names
Jeff Hammel <jhammel@mozilla.com>
parents:
31
diff
changeset
|
49 |
1a9ec766f2b0
add a thing for tbpl short names
Jeff Hammel <jhammel@mozilla.com>
parents:
31
diff
changeset
|
50 <script> |
1a9ec766f2b0
add a thing for tbpl short names
Jeff Hammel <jhammel@mozilla.com>
parents:
31
diff
changeset
|
51 // In order to get anything working with Config.js |
1a9ec766f2b0
add a thing for tbpl short names
Jeff Hammel <jhammel@mozilla.com>
parents:
31
diff
changeset
|
52 // We have to stub a bunch of stuff for no reason |
1a9ec766f2b0
add a thing for tbpl short names
Jeff Hammel <jhammel@mozilla.com>
parents:
31
diff
changeset
|
53 BuildbotDBUser = null; |
1a9ec766f2b0
add a thing for tbpl short names
Jeff Hammel <jhammel@mozilla.com>
parents:
31
diff
changeset
|
54 PushlogJSONParser = null; |
1a9ec766f2b0
add a thing for tbpl short names
Jeff Hammel <jhammel@mozilla.com>
parents:
31
diff
changeset
|
55 </script> |
1a9ec766f2b0
add a thing for tbpl short names
Jeff Hammel <jhammel@mozilla.com>
parents:
31
diff
changeset
|
56 <script src="http://hg.mozilla.org/users/mstange_themasta.com/tinderboxpushlog/raw-file/tip/js/Config.js"></script> |
1a9ec766f2b0
add a thing for tbpl short names
Jeff Hammel <jhammel@mozilla.com>
parents:
31
diff
changeset
|
57 |
1a9ec766f2b0
add a thing for tbpl short names
Jeff Hammel <jhammel@mozilla.com>
parents:
31
diff
changeset
|
58 |
25 | 59 <script> |
60 $(document).ready(function() { | |
32
1a9ec766f2b0
add a thing for tbpl short names
Jeff Hammel <jhammel@mozilla.com>
parents:
31
diff
changeset
|
61 |
33 | 62 // color paint/chrome boxes appropriately |
63 | |
64 | |
65 // add TBPL initials to TBPL names from Config.js | |
32
1a9ec766f2b0
add a thing for tbpl short names
Jeff Hammel <jhammel@mozilla.com>
parents:
31
diff
changeset
|
66 $('td.tbpl').each(function() { |
1a9ec766f2b0
add a thing for tbpl short names
Jeff Hammel <jhammel@mozilla.com>
parents:
31
diff
changeset
|
67 var text = $(this).text(); |
1a9ec766f2b0
add a thing for tbpl short names
Jeff Hammel <jhammel@mozilla.com>
parents:
31
diff
changeset
|
68 if (text.length && Config.testNames[text]) { |
1a9ec766f2b0
add a thing for tbpl short names
Jeff Hammel <jhammel@mozilla.com>
parents:
31
diff
changeset
|
69 $(this).html(text + '(<span class="tbpl_initial">' + Config.testNames[text] + '</span>)'); |
1a9ec766f2b0
add a thing for tbpl short names
Jeff Hammel <jhammel@mozilla.com>
parents:
31
diff
changeset
|
70 } |
1a9ec766f2b0
add a thing for tbpl short names
Jeff Hammel <jhammel@mozilla.com>
parents:
31
diff
changeset
|
71 }); |
1a9ec766f2b0
add a thing for tbpl short names
Jeff Hammel <jhammel@mozilla.com>
parents:
31
diff
changeset
|
72 |
25 | 73 }); |
74 </script> | |
18 | 75 </head> |
76 <body> | |
25 | 77 <table id="data"> |
18 | 78 <tr> |
29 | 79 <th class="buildbot">Buildbot Suite</th> |
80 <th class="command">Buildbot Command</th> | |
81 <th class="tbpl">TBPL Name</th> | |
82 <th class="paint">Paint</th> | |
83 <th class="chrome">Chrome</th> | |
84 <th class="tests">Talos Tests</th> | |
18 | 85 </tr> |
21 | 86 {{for suite in suites}} |
87 <tr> | |
29 | 88 <td class="buildbot">{{suite}}</td> |
31
c6580ad2612f
better formatting of command
Jeff Hammel <jhammel@mozilla.com>
parents:
29
diff
changeset
|
89 <td class="command">{{list2cmdline(commands[suite])}}</tt></td> |
29 | 90 <td class="tbpl">{{tbpl[suite]}}</td> |
91 <td class="paint">{{paint.get(suite, '')}}</td> | |
92 <td class="chrome">{{chrome.get(suite, '')}}</td> | |
93 <td class="tests"> | |
24 | 94 {{if tests.get(suite)}} |
95 <table> | |
96 <tr> | |
97 <th>Talos Config</th> | |
98 <th>Graphserver Name</th> | |
99 </tr> | |
100 | |
101 {{for test in sorted(tests[suite].keys())}} | |
102 <tr> | |
25 | 103 <td><div class="header">{{test}}</div> |
24 | 104 <dl> |
105 {{for attr in sorted(tests.get(suite, {})[test].keys())}} | |
106 <dt>{{attr}}</dt> | |
107 <dd>{{tests[suite][test][attr]}}</dd> | |
108 {{endfor}} | |
109 </dl> | |
110 </td> | |
111 <td> | |
28 | 112 {{if graphserver[suite][test]}} |
24 | 113 <dl> |
26 | 114 {{for name, longname in graphserver[suite][test]}} |
24 | 115 <dt>{{name}}</dt> |
116 <dd>{{longname}}</dd> | |
117 {{endfor}} | |
118 </dl> | |
28 | 119 {{endif}} |
24 | 120 </td> |
121 </tr> | |
122 {{endfor}} | |
123 </table> | |
124 {{endif}} | |
125 </td> | |
21 | 126 </tr> |
127 {{endfor}} | |
18 | 128 </table> |
129 </body> | |
130 </html> |