]> rtime.felk.cvut.cz Git - can-benchmark.git/commitdiff
Align N/A with images
authorMichal Sojka <sojkam1@fel.cvut.cz>
Tue, 20 Sep 2011 20:26:28 +0000 (22:26 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Tue, 20 Sep 2011 20:26:28 +0000 (22:26 +0200)
gw-tests/genhtml/genhtml.py

index 1ed6ce74e0b279f8f2e168add68392d3226f486b..2488c853e35dc8c21ec6952e8e57aeff66f54edc 100755 (executable)
@@ -326,6 +326,7 @@ h4 { margin: 0; }
 .otherview .other:hover { background: #eee; }
 .otherview .missing { color: gray; }
 .otherview .current { background: #ccc; }
 .otherview .other:hover { background: #eee; }
 .otherview .missing { color: gray; }
 .otherview .current { background: #ccc; }
+.na { width: 150px; height: 109px; display:  table-cell; text-align: center; vertical-align: middle; }
 """
         css.close()
         for test in self.values():
 """
         css.close()
         for test in self.values():
@@ -393,7 +394,7 @@ class Page(object):
                     test = tests.getTest(idx)
                     test.printThumbLink(html)
                 except KeyError:
                     test = tests.getTest(idx)
                     test.printThumbLink(html)
                 except KeyError:
-                    print >>html, "N/A"
+                    print >>html, "<span class='na'>N/A</span>"
                 print >>html, "</td>"
            print >>html, "</tr>"
        print >> html, """
                 print >>html, "</td>"
            print >>html, "</tr>"
        print >> html, """