From e52226c05fb54dfe41c9bc5ebc6ce1b7ded7e1fe Mon Sep 17 00:00:00 2001 From: "Gabriel A. Giovanini" Date: Thu, 30 May 2024 17:01:38 +0200 Subject: feat: Add initial git item page --- templates/gititem.qtpl | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 templates/gititem.qtpl (limited to 'templates/gititem.qtpl') diff --git a/templates/gititem.qtpl b/templates/gititem.qtpl new file mode 100644 index 0000000..156325f --- /dev/null +++ b/templates/gititem.qtpl @@ -0,0 +1,48 @@ +{% code +type GitItemPage struct { +} +%} + + +{% func insertIfEqual(s, d Selection) %}{% if s == d %} selected{% endif %}{% endfunc %} + + +{% func Navbar (s Selection) %} + +{% endfunc %} + +{% func (p *GitItemPage) Title() %}Git | List{% endfunc %} + +{% func (p *GitItemPage) Navbar() %}{%= Navbar(Git) %}{% endfunc %} + +{% func (p *GitItemPage) Content() %} +
+

AoC2022.git

+
+
+ +
+{% endfunc %} + +{% func (p *GitItemPage) Script() %} +{% endfunc %} -- cgit v1.2.3