view talosnames/templates/index.html @ 24:56d267d847e1

more progress
author Jeff Hammel <jhammel@mozilla.com>
date Tue, 10 Jul 2012 21:36:24 -0700
parents 82d15f93cc4a
children 6ec941f8704a
line wrap: on
line source

<html>
<head>
<title>Talos Names</title>
<style>
table, th, td {
border: 1px solid black;
}
</style>
</head>
<body>
<table>
<tr>
  <th>Buildbot Suite</th>
  <th>Buildbot Command</th>
  <th>TBPL Name</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>
    {{if tests.get(suite)}}
    <table>
      <tr>
        <th>Talos Config</th>
        <th>Graphserver Name</th>
      </tr>

      {{for test in sorted(tests[suite].keys())}}
      <tr>
        <td><b>{{test}}</b>
          <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 api(test)}}
            <dt>{{name}}</dt>
            <dd>{{longname}}</dd>
            {{endfor}}
          </dl>
        </td>
      </tr>
      {{endfor}}
    </table>
    {{endif}}
  </td>
</tr>
{{endfor}}
</table>
</body>
</html>