diff talosnames/templates/index.html @ 43:4e8c839dcdec

filter by disabled
author Jeff Hammel <jhammel@mozilla.com>
date Sun, 12 Aug 2012 23:27:28 -0700
parents 10945dedde84
children 10e59c3ae847
line wrap: on
line diff
--- a/talosnames/templates/index.html	Sun Aug 12 23:10:16 2012 -0700
+++ b/talosnames/templates/index.html	Sun Aug 12 23:27:28 2012 -0700
@@ -47,6 +47,10 @@
 color: blue;
 }
 
+.disabled {
+background-color: #888;
+}
+
 </style>
 <script src="http://code.jquery.com/jquery-1.7.2.min.js"></script>
 
@@ -103,8 +107,9 @@
 </head>
 <body>
 <table id="data">
+
 <tr>
-  <th class="buildbot">Buildbot Suite</th>
+g  <th class="buildbot">Buildbot Suite</th>
   <th class="command">Buildbot PerfConfigurator Command</th>
   <th class="tbpl">TBPL Name</th>
   <th class="paint">Paint</th>
@@ -112,8 +117,18 @@
   <th class="tests">Talos Tests</th>
 </tr>
 {{for suite in suites}}
+{{if enabled[suite]}}
 <tr>
-  <td class="buildbot"><a name="{{suite}}"></a><a class="anchor" href="#{{suite}}">{{suite}}</a></td>
+{{else}}
+<tr class="disabled">
+{{endif}}
+
+  <td class="buildbot">
+    <a name="{{suite}}"></a><a class="anchor" href="#{{suite}}">{{suite}}</a>
+    {{if not enabled[suite]}}
+    <i><span>(disabled)</span></i>
+    {{endif}}
+  </td>
   <td class="command">{{list2cmdline(commands[suite])}}</tt></td>
   <td class="tbpl">{{tbpl[suite]}}</td>
   <td class="paint"><span title="Paint">{{paint.get(suite, '')}}</span></td>