summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2012-02-24 17:58:22 -0800
committerKenneth Graunke <kenneth@whitecape.org>2013-05-08 11:35:04 -0700
commit79a0d42119fae83a22c8c8d0490aff554984777f (patch)
tree9d2a3550d08857365aeb8085cd3f3519388796c9 /templates
parenta2257cbf650c48242baea28f5022e85402400cca (diff)
html: Rework colgroup generation.
There's no need to specify width="50pt" on every <col/>; we can easily specify a width for all but the first column with CSS3. At that point, using a template file that contains only <col/> seems absurd; just repeat that the right number of times in the python code. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Dylan Baker <baker.dylan.c@gmail.com>
Diffstat (limited to 'templates')
-rw-r--r--templates/index.css4
-rw-r--r--templates/index_testrun.html1
2 files changed, 4 insertions, 1 deletions
diff --git a/templates/index.css b/templates/index.css
index 0e48e1cba..27128e4c1 100644
--- a/templates/index.css
+++ b/templates/index.css
@@ -7,6 +7,10 @@ table {
width: 100%;
}
+col:not(:first-child) {
+ width: 50pt;
+}
+
tr {
padding: 4pt;
}
diff --git a/templates/index_testrun.html b/templates/index_testrun.html
deleted file mode 100644
index 1dc68ffee..000000000
--- a/templates/index_testrun.html
+++ /dev/null
@@ -1 +0,0 @@
-<col width="50pt" />