# HG changeset patch # User Jeff Hammel # Date 1341981384 25200 # Node ID 56d267d847e1f2f1513907bfe914891d38889e3c # Parent 5f39ce13fbbc0263e9a8ec60e55af0c27093cb1a more progress diff -r 5f39ce13fbbc -r 56d267d847e1 talosnames/templates/index.html --- a/talosnames/templates/index.html Tue Jul 10 19:08:06 2012 -0700 +++ b/talosnames/templates/index.html Tue Jul 10 21:36:24 2012 -0700 @@ -20,7 +20,37 @@ {{suite}} {{repr(commands[suite])}} {{tbpl[suite]}} -
{{pprint(tests[suite])}}
+ + {{if tests.get(suite)}} + + + + + + + {{for test in sorted(tests[suite].keys())}} + + + + + {{endfor}} +
Talos ConfigGraphserver Name
{{test}} +
+ {{for attr in sorted(tests.get(suite, {})[test].keys())}} +
{{attr}}
+
{{tests[suite][test][attr]}}
+ {{endfor}} +
+
+
+ {{for name, longname in api(test)}} +
{{name}}
+
{{longname}}
+ {{endfor}} +
+
+ {{endif}} + {{endfor}} diff -r 5f39ce13fbbc -r 56d267d847e1 talosnames/web.py --- a/talosnames/web.py Tue Jul 10 19:08:06 2012 -0700 +++ b/talosnames/web.py Tue Jul 10 21:36:24 2012 -0700 @@ -41,7 +41,8 @@ 'tbpl': dict([(suite, self.api.tbpl_name(suite)) for suite in suites]), 'tests': tests, - 'pprint': pprint.pformat + 'pprint': pprint.pformat, + 'api': self.api } return template.substitute(data)