From db814b6d407245006ab3b53c46e7a2b478e5a6c9 Mon Sep 17 00:00:00 2001 From: Joscha Date: Sat, 5 Aug 2023 21:08:01 +0200 Subject: [PATCH] Use
for tracked refs --- static/base.css | 12 ++---------- templates/index.html | 22 ++++++---------------- 2 files changed, 8 insertions(+), 26 deletions(-) diff --git a/static/base.css b/static/base.css index 097c5e9..1c41648 100644 --- a/static/base.css +++ b/static/base.css @@ -54,14 +54,6 @@ a:hover { text-decoration: underline; } -table { - border-collapse: collapse; -} - -td { - padding: 0 1ch; -} - -tbody tr:nth-child(odd) { - background-color: #ddd; +dd { + margin-left: 4ch; } diff --git a/templates/index.html b/templates/index.html index b86203c..6d0dab9 100644 --- a/templates/index.html +++ b/templates/index.html @@ -2,20 +2,10 @@ {% block body %}

Tracked refs

- - - - - - - - - {% for ref in refs %} - - - - - {% endfor %} - -
refpoints to
{{ ref.name }}{{ ref.short }}
+
+ {% for ref in refs %} +
{{ ref.name }}
+
{{ ref.short }}
+ {% endfor %} +
{% endblock %}