From 7cd128838c10c8cfa8f06c3b42bd5b1af655512c Mon Sep 17 00:00:00 2001
From: psy <psy@darmstadt.ccc.de>
Date: Sun, 3 Nov 2019 19:55:15 +0100
Subject: [PATCH] fix missing header column

---
 transporte/templates/transport_list.html | 18 +++++++++++++-----
 1 file changed, 13 insertions(+), 5 deletions(-)

diff --git a/transporte/templates/transport_list.html b/transporte/templates/transport_list.html
index c7c0a19..32c0d9c 100644
--- a/transporte/templates/transport_list.html
+++ b/transporte/templates/transport_list.html
@@ -7,12 +7,20 @@
 
 {% block content %}
 <h1 class="page-header">Transports</h1>
-<div class="row" style="margin:0 0 1em 0">
-<form method="GET">
-    {{ filterform.day(**{'onchange': 'this.form.submit()'}) }}
-</form>
-<label style="margin-left: 20px;"><input type="checkbox" id="hideDone" /> hide done</label>
+
+<div class="row">
+    <div class="col-sm-6">
+        <a href="{{ url_for('edit_transport') }}">Add Transport</a>
+    </div>
+    <div class="col-sm-6" style="text-align: right">
+        <label style="margin-right: 20px; font-weight: normal; white-space: nowrap; text-align: left;">
+            <input type="checkbox" id="hideDone" /> hide done</label>
+        <form method="GET" style="margin-left: 0.5em; display: inline-block; width: auto;">
+            {{ filterform.day(**{'onchange': 'this.form.submit()'}) }}
+        </form>
+    </div>
 </div>
+
 <table class="table table-sm" style="font-size: 0.9rem" id="transportlist">
     <thead>
     <tr>
-- 
GitLab