From 196845d7396d333c7d00afbee04e5fd52f2e591e Mon Sep 17 00:00:00 2001 From: Wim Brand Date: Tue, 4 Aug 2026 13:37:59 +0200 Subject: [PATCH] Remove unused Go templates --- res/template/email_confirm.html | 50 --------------- res/template/fragments/page_wrap.html | 90 --------------------------- res/template/user_logout.html | 40 ------------ 3 files changed, 180 deletions(-) delete mode 100644 res/template/email_confirm.html delete mode 100644 res/template/fragments/page_wrap.html delete mode 100644 res/template/user_logout.html diff --git a/res/template/email_confirm.html b/res/template/email_confirm.html deleted file mode 100644 index 5211cb6..0000000 --- a/res/template/email_confirm.html +++ /dev/null @@ -1,50 +0,0 @@ -{{define "email_confirm"}} - - - {{template "meta_tags" "E-mail verification"}} - - - {{template "page_top" .}} - - {{if eq .Other "success"}} -
-

Success!

-
-
-
-

- Your account's e-mail address has been updated. -

-
-
- {{else if eq .Other "not_found"}} -
-

E-mail change failed

-
-
-
-

- This e-mail change request does not exist or has expired. - Please try again if you still want to change your e-mail - address. -

-
-
- {{else}} -
-

Error

-
-
-
-

- Something went wrong while processing this request. Please - try again later. -

-
-
- {{end}} - - {{template "page_bottom" .}} - - -{{end}} diff --git a/res/template/fragments/page_wrap.html b/res/template/fragments/page_wrap.html deleted file mode 100644 index 23ff63a..0000000 --- a/res/template/fragments/page_wrap.html +++ /dev/null @@ -1,90 +0,0 @@ -{{define "menu"}} - - - -{{end}} - -{{define "footer"}} - -{{end}} - -{{define "page_top"}} -{{template "menu" .}} -
-{{end}} - -{{define "page_bottom"}} -{{template "footer" .}} -
-{{end}} diff --git a/res/template/user_logout.html b/res/template/user_logout.html deleted file mode 100644 index 1d41abf..0000000 --- a/res/template/user_logout.html +++ /dev/null @@ -1,40 +0,0 @@ -{{define "logout"}} - - - {{template "meta_tags" "Logging out..."}} - - - {{template "page_top" .}} -
-

Logging out of your Nova account

-
-
-
-
- -
-
-
-

Why do I need to confirm my logout?

-

- We need you to confirm your action so we can be sure that you - really requested a logout. If we didn't do this, anyone (or any - website) would be able to send you to this page and you would - automatically get logged out of Nova, which would be very - annoying. -

-

- To prevent this from happening we're verifying that you actually - want to log out by making you click this button. Because this - logout button triggers a different request type than normal - page visit we can confirm that you really want to log out. -

-
-
- {{template "page_bottom" .}} - - -{{end}}