import traceback
import glob
+html_copyright = """<div style="font-size: small; color: gray; margin-top: 1em;">Authors: Michal Sojka, Pavel Píša, Copyright © 2010, 2011 Czech Technical University in Prague</div>"""
+
class DimValue(object):
def __new__(cls, dim, value):
if value in dim:
print >>html, "<a href='./'>Raw data</a><br />"
print >>html, "<a href='%s'>Script source</a><br />" % (cdup+self.name+".sh.html")
print >>html, "<a href='%s'>Back to top</a><br />" % cdup
-
+ print >>html,"%s</body></html>" % html_copyright
html.close()
class Space(list):
.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():
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, """
</table>
-<div style="font-size: small; color: gray; margin-top: 1em;">Authors: Michal Sojka, Pavel Píša, Copyright © 2010 Czech Technical University in Prague</div>
+%s
</body>
-"""
+""" % html_copyright
if __name__ == "__main__":