From 4f1425febf6efb45eaf91aff19b215b8c7e77bec Mon Sep 17 00:00:00 2001 From: r Date: Sat, 30 Jan 2021 16:51:09 +0000 Subject: Add filters --- templates/filters.tmpl | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 templates/filters.tmpl (limited to 'templates/filters.tmpl') diff --git a/templates/filters.tmpl b/templates/filters.tmpl new file mode 100644 index 0000000..ef7c024 --- /dev/null +++ b/templates/filters.tmpl @@ -0,0 +1,40 @@ +{{with .Data}} +{{template "header.tmpl" (WithContext .CommonData $.Ctx)}} +
Filters
+ +{{if .Filters}} + + {{range .Filters}} + + + + + {{end}} +
{{.Phrase}}{{if not .WholeWord}}*{{end}} +
+ + + +
+
+{{else}} +
No filters added
+{{end}} + +
Add filter
+
+ + + + + + + + + + + +
+ +{{template "footer.tmpl"}} +{{end}} -- cgit v1.2.3