make the main table look better

This commit is contained in:
2026-10-15 14:36:13 +01:00
parent 3cf98f850b
commit 28a79e6817
2 changed files with 25 additions and 20 deletions
+4 -2
View File
@@ -1,5 +1,6 @@
{{ define "expensesTable" }}
<table id="expenses-table">
<div class="table-container">
<table id="expenses-table">
<tr>
<th>ID</th>
<th>OWNER</th>
@@ -18,5 +19,6 @@
<th spellcheck="false">{{ .Category.CategoryName }}</th>
</tr>
{{ end }}
</table>
</table>
</div>
{{ end }}
+3
View File
@@ -1,4 +1,7 @@
{{ define "mainPage" }}
{{ template "expensesFilterBox" . }}
<br>
Table
<br>
{{ template "expensesTable" . }}
{{ end }}