Multiple importer and bulksort in the GUI

This commit is contained in:
fleaz 2020-03-18 00:22:12 +01:00
parent 60cbf9da2e
commit dfea791bb6
11 changed files with 133 additions and 53 deletions

View file

@ -1,8 +1,16 @@
% rebase("base.tpl")
<form action="/bulksort" method="POST">
<select name="category">
% for c in categories:
<option value="{{ c.id }}">{{ c.full_name() }}</option>
% end
</select>
<input type="submit">
<table class="table-auto">
<thead>
<tr>
<th class="px-4 py-2"></th>
<th class="px-4 py-2">Date</th>
<th class="px-4 py-2">Sender/Empfänger</th>
<th class="px-4 py-2">Verwendungszweck</th>
@ -13,6 +21,7 @@
<tbody>
% for t in transactions:
<tr>
<td class="border px-4 py-2"><input type="checkbox" name="transaction" value="{{ t.id }}"></td>
<td class="border px-4 py-2">{{ t.get_date("de") }}</td>
<td class="border px-4 py-2">{{ t.name }}</td>
<td class="border px-4 py-2">{{ t.description }}</td>
@ -26,3 +35,5 @@
% end
</tbody>
</table>
</form>