Mercurial > mozilla > hg > talosnames
view talosnames/templates/index.html @ 27:ce9374c19169
try to fix a keyerror
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Fri, 13 Jul 2012 15:47:05 -0700 |
parents | c6a042aad739 |
children | 892dd6b58f05 |
line wrap: on
line source
<html> <head> <title>Talos Names</title> <style> table, th, td { border: 1px solid black; } dt { font-style: italic; font-weight: 550; float: left; clear: left; padding-right: 1em; } dd { clear: right; } dt::after { content: ": "; } .header { font-weight: bold; align: center; text-align: center; } </style> <script src="http://code.jquery.com/jquery-1.7.2.min.js"></script> <script> $(document).ready(function() { }); </script> </head> <body> <table id="data"> <tr> <th>Buildbot Suite</th> <th>Buildbot Command</th> <th>TBPL Name</th> <th>Paint</th> <th>Chrome</th> <th>Talos Tests</th> </tr> {{for suite in suites}} <tr> <td>{{suite}}</td> <td><tt>{{repr(commands[suite])}}</tt></td> <td>{{tbpl[suite]}}</td> <td>{{paint.get(suite, '')}}</td> <td>{{chrome.get(suite, '')}}</td> <td> {{if tests.get(suite)}} <table> <tr> <th>Talos Config</th> <th>Graphserver Name</th> </tr> {{for test in sorted(tests[suite].keys())}} <tr> <td><div class="header">{{test}}</div> <dl> {{for attr in sorted(tests.get(suite, {})[test].keys())}} <dt>{{attr}}</dt> <dd>{{tests[suite][test][attr]}}</dd> {{endfor}} </dl> </td> <td> <dl> {{for name, longname in graphserver[suite][test]}} <dt>{{name}}</dt> <dd>{{longname}}</dd> {{endfor}} </dl> </td> </tr> {{endfor}} </table> {{endif}} </td> </tr> {{endfor}} </table> </body> </html>