changeset 29:905daa511aa4

minor improvements
author Jeff Hammel <jhammel@mozilla.com>
date Tue, 17 Jul 2012 14:17:41 -0700
parents 892dd6b58f05
children 3f7bc028d6eb
files talosnames/api.py talosnames/templates/index.html
diffstat 2 files changed, 21 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/talosnames/api.py	Fri Jul 13 15:56:04 2012 -0700
+++ b/talosnames/api.py	Tue Jul 17 14:17:41 2012 -0700
@@ -120,6 +120,7 @@
         outfile = tempfile.mktemp(suffix='.yml')
         command += ['-o', outfile] # add an output file
         command += ['-e', sys.executable] # add a pretend firefox so PerfConfigurator won't whine
+        print "\n%s" % command
         call(['PerfConfigurator'] + command, stdout=subprocess.PIPE, cwd=talos_dir)
         assert os.path.exists(outfile)
         config = yaml.load(file(outfile))
--- a/talosnames/templates/index.html	Fri Jul 13 15:56:04 2012 -0700
+++ b/talosnames/templates/index.html	Tue Jul 17 14:17:41 2012 -0700
@@ -2,6 +2,14 @@
 <head>
 <title>Talos Names</title>
 <style>
+* {
+  font-family: sans-serif;
+}
+
+td.command {
+  font-family: monospace;
+}
+
 table, th, td {
 border: 1px solid black;
 }
@@ -33,21 +41,21 @@
 <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>
+  <th class="buildbot">Buildbot Suite</th>
+  <th class="command">Buildbot Command</th>
+  <th class="tbpl">TBPL Name</th>
+  <th class="paint">Paint</th>
+  <th class="chrome">Chrome</th>
+  <th class="tests">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>
+  <td class="buildbot">{{suite}}</td>
+  <td class="command">{{repr(commands[suite])}}</tt></td>
+  <td class="tbpl">{{tbpl[suite]}}</td>
+  <td class="paint">{{paint.get(suite, '')}}</td>
+  <td class="chrome">{{chrome.get(suite, '')}}</td>
+  <td class="tests">
     {{if tests.get(suite)}}
     <table>
       <tr>