diff --git a/transporte/templates/transport_list.html b/transporte/templates/transport_list.html index c7c0a1940e34dd2c414d3bde90a1dc697436783c..32c0d9c45f35f8ce7b7d178708c5ee3701e77fde 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>