# HG changeset patch
# User Jan Kanis <jan.code@jankanis.nl>
# Date 1399482140 -7200
# Node ID d20ce91e12971ad5844c77c7e6c6693a9a493c79
# Parent  1df2bfce5c24942e1f595c8e14072270ac79d1d8
slight update

diff -r 1df2bfce5c24 -r d20ce91e1297 visualise.html.jinja
--- a/visualise.html.jinja	Wed May 07 18:49:54 2014 +0200
+++ b/visualise.html.jinja	Wed May 07 19:02:20 2014 +0200
@@ -92,7 +92,17 @@
       height: 5px;
       width: 40em;
       align: center;
-      margin: 5px auto;
+      margin: 4px auto 0 auto;
+      }
+      table.matchresult tr {
+      height: 5px;
+      }
+      table.matchresult td {
+      height: 5px;
+      }
+      a.matchlink {
+      display: block;
+      heigth: 5px;
       }
     </style>
 
@@ -128,11 +138,13 @@
 	    </tr></table>
 
 	    {% for line in match_colors %}
-	    <table class=matchresult><tr>
-		{% for match in line.colors %}
-		<td width={{match[0]}} style="background-color: {{match[1]}}">&nbsp</td>
-		{% endfor %}
-	    </tr></table>
+	    <a href={{line.link}}>
+	      <table class=matchresult><tr>
+		  {% for match in line.colors %}
+		  <td style="background-color: {{match[1]}}; width: {{match[0]}}px" />
+		  {% endfor %}
+	      </tr></table>
+	    </a>
 	    {% endfor %}
 	    
 	    <p>hoi</p>