summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2015-06-15 14:43:13 +0100
committerSam Thursfield <sam.thursfield@codethink.co.uk>2015-06-15 14:43:13 +0100
commit17b6ea7d5ef8bd86872d9895196b5b79ca9bd079 (patch)
treef95445250ee98935e87382c646def26b1e6e5ed3
parent49d6566b043fb6d02186dd0d7b6cfdf01b0beb17 (diff)
downloadmorph-cache-server-17b6ea7d5ef8bd86872d9895196b5b79ca9bd079.tar.gz
Fix table border
-rw-r--r--morphcacheserver/frontend.py2
-rw-r--r--morphcacheserver/style.css3
2 files changed, 4 insertions, 1 deletions
diff --git a/morphcacheserver/frontend.py b/morphcacheserver/frontend.py
index 5d2bca1..6eb0917 100644
--- a/morphcacheserver/frontend.py
+++ b/morphcacheserver/frontend.py
@@ -22,7 +22,7 @@ def make_table(data, heading_ids, heading_titles, row_class_cb=None):
'''Render 'data' as a HTML table.'''
table_template = """
- <table border="1">
+ <table>
<tr class="headings">
%for title in heading_titles:
<td>{{title}}</td>
diff --git a/morphcacheserver/style.css b/morphcacheserver/style.css
index 0a6e00f..bcb5ba9 100644
--- a/morphcacheserver/style.css
+++ b/morphcacheserver/style.css
@@ -96,6 +96,9 @@ td.ref a:hover {
table tr.pass td, table tr.fail td {
border-top: solid white 1px;
}
+tr+tr td {
+ border-top: 1px solid #fff;
+}
p {
margin: 1.3em;
}