]> rtime.felk.cvut.cz Git - can-benchmark.git/blobdiff - gw-tests/genhtml/genhtml.py
Align N/A with images
[can-benchmark.git] / 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; }
+.na { width: 150px; height: 109px; display:  table-cell; text-align: center; vertical-align: middle; }
 """
         css.close()
         for test in self.values():
@@ -393,7 +394,7 @@ class Page(object):
                     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, """