diff options
author | René 'Necoro' Neumann <necoro@necoro.eu> | 2024-10-11 22:47:16 +0200 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.eu> | 2024-10-11 22:47:39 +0200 |
commit | b46012f212a4302b4d1325d8fdf9634e7083e76a (patch) | |
tree | 095d00491c385c33674f5a0a11128a543a48c485 /templ | |
parent | e79d3d7163657f7a540530dddb319f984885e864 (diff) | |
download | gosten-b46012f212a4302b4d1325d8fdf9634e7083e76a.tar.gz gosten-b46012f212a4302b4d1325d8fdf9634e7083e76a.tar.bz2 gosten-b46012f212a4302b4d1325d8fdf9634e7083e76a.zip |
First draft of recurrent costs and categories
Diffstat (limited to 'templ')
-rw-r--r-- | templ/categories.tpl | 9 | ||||
-rw-r--r-- | templ/navlinks.tpl | 2 | ||||
-rw-r--r-- | templ/recur.tpl | 9 |
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 |