aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts
diff options
context:
space:
mode:
authortdro <tdro@noreply.example.com>2023-12-30 16:39:52 -0500
committertdro <tdro@noreply.example.com>2023-12-30 16:39:52 -0500
commitb8e1c5a3d9d37e8e49cce22a0fdcda260ed481dc (patch)
tree02f1efcc04c74e2373130fe80b92420b2ea86f1e /themes/default/layouts
parent82041d35b1bb1cd01b422327264acdd15418bee6 (diff)
downloadcanory-b8e1c5a3d9d37e8e49cce22a0fdcda260ed481dc.tar.gz
canory-b8e1c5a3d9d37e8e49cce22a0fdcda260ed481dc.tar.bz2
canory-b8e1c5a3d9d37e8e49cce22a0fdcda260ed481dc.zip
config: Add settings page
Adjust icons
Diffstat (limited to 'themes/default/layouts')
-rw-r--r--themes/default/layouts/_default/home.settings.html32
1 files changed, 32 insertions, 0 deletions
diff --git a/themes/default/layouts/_default/home.settings.html b/themes/default/layouts/_default/home.settings.html
new file mode 100644
index 0000000..44b3399
--- /dev/null
+++ b/themes/default/layouts/_default/home.settings.html
@@ -0,0 +1,32 @@
+{{- define "title" -}}Settings &mdash; {{ end -}}
+{{- define "description" -}}A list of all interface settings &mdash; {{ end -}}
+{{- define "styles" -}}
+<style>
+ {{ partial "navigator.css.html" (dict "Link" "/settings/") | safeCSS }}
+</style>
+{{- end -}}
+
+{{- define "header" -}}
+ {{- partial "navigator-middle.html"
+ (dict
+ "Context" .
+ "IconLabel" "Back"
+ "Id" "back"
+ "Title" "Settings"
+ "Icon" "arrow-left"
+ "Subtitle" "Interface"
+ "Href" (or (and (gt .Paginator.PageNumber 1) (.Paginator.Prev.URL | absURL)) "/")
+ )
+ -}}
+{{- end -}}
+
+{{- define "middle" -}}
+{{- end -}}
+
+{{- define "footer" -}}
+ {{- partial "base-footer.html" . -}}
+{{- end -}}
+
+{{- define "right" -}}
+ {{- partial "navigator-right.html" . -}}
+{{- end -}}