summaryrefslogtreecommitdiff
path: root/templ
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--templ/categories.tpl9
-rw-r--r--templ/navlinks.tpl2
-rw-r--r--templ/recur.tpl9
3 files changed, 19 insertions, 1 deletions
diff --git a/templ/categories.tpl b/templ/categories.tpl
new file mode 100644
index 0000000..662e1e1
--- /dev/null
+++ b/templ/categories.tpl
@@ -0,0 +1,9 @@
+{{define "main"}}
+<ul class="list-group">
+ {{range .}}
+ <li class="list-group-item">
+ {{.Name}}
+ </li>
+ {{end}}
+</ul>
+{{end}} \ No newline at end of file
diff --git a/templ/navlinks.tpl b/templ/navlinks.tpl
index 0d71d7e..cdd54d7 100644
--- a/templ/navlinks.tpl
+++ b/templ/navlinks.tpl
@@ -3,6 +3,6 @@
<a class="nav-link" href="/categories">Kategorien</a>
</li>
<li class="nav-item">
- <a class="nav-link" href="/constant">Konstante Kosten</a>
+ <a class="nav-link" href="/recur">Regelmäßig</a>
</li>
{{end}} \ No newline at end of file
diff --git a/templ/recur.tpl b/templ/recur.tpl
new file mode 100644
index 0000000..316b768
--- /dev/null
+++ b/templ/recur.tpl
@@ -0,0 +1,9 @@
+{{define "main"}}
+<ul class="list-group">
+ {{range .}}
+ <li class="list-group-item">
+ {{.Description.String}}
+ </li>
+ {{end}}
+</ul>
+{{end}} \ No newline at end of file