Mercurial > mozilla > hg > talosnames
comparison talosnames/templates/index.html @ 32:1a9ec766f2b0
add a thing for tbpl short names
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Mon, 23 Jul 2012 13:22:29 -0700 |
parents | c6580ad2612f |
children | 15f17eeb1813 |
comparison
equal
deleted
inserted
replaced
31:c6580ad2612f | 32:1a9ec766f2b0 |
---|---|
29 font-weight: bold; | 29 font-weight: bold; |
30 align: center; | 30 align: center; |
31 text-align: center; | 31 text-align: center; |
32 } | 32 } |
33 | 33 |
34 .tbpl_initial { | |
35 font-weight: bold; | |
36 color: green; | |
37 } | |
38 | |
39 .true { | |
40 background-color: green; | |
41 } | |
42 | |
43 .false { | |
44 background-color: red; | |
45 } | |
46 | |
34 </style> | 47 </style> |
35 <script src="http://code.jquery.com/jquery-1.7.2.min.js"></script> | 48 <script src="http://code.jquery.com/jquery-1.7.2.min.js"></script> |
49 | |
50 <script> | |
51 // In order to get anything working with Config.js | |
52 // We have to stub a bunch of stuff for no reason | |
53 BuildbotDBUser = null; | |
54 PushlogJSONParser = null; | |
55 </script> | |
56 <script src="http://hg.mozilla.org/users/mstange_themasta.com/tinderboxpushlog/raw-file/tip/js/Config.js"></script> | |
57 | |
58 | |
36 <script> | 59 <script> |
37 $(document).ready(function() { | 60 $(document).ready(function() { |
61 | |
62 $('td.tbpl').each(function() { | |
63 | |
64 var text = $(this).text(); | |
65 if (text.length && Config.testNames[text]) { | |
66 $(this).html(text + '(<span class="tbpl_initial">' + Config.testNames[text] + '</span>)'); | |
67 } | |
68 | |
69 }); | |
70 | |
38 }); | 71 }); |
39 </script> | 72 </script> |
40 </head> | 73 </head> |
41 <body> | 74 <body> |
42 <table id="data"> | 75 <table id="data"> |