From e6d04738a5f5081aad719116441ba5acc3a7c670 Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Tue, 4 Feb 2020 08:12:36 +0100 Subject: [PATCH] cleanup --- base/alert.tmpl | 15 ------------ base/delete_modal_actions.tmpl | 10 -------- base/paginate.tmpl | 24 -------------------- {base => templates/base}/footer.tmpl | 0 {base => templates/base}/footer_content.tmpl | 0 {base => templates/base}/head.tmpl | 0 {base => templates/base}/head_navbar.tmpl | 0 home.tmpl => templates/home.tmpl | 0 8 files changed, 49 deletions(-) delete mode 100644 base/alert.tmpl delete mode 100644 base/delete_modal_actions.tmpl delete mode 100644 base/paginate.tmpl rename {base => templates/base}/footer.tmpl (100%) rename {base => templates/base}/footer_content.tmpl (100%) rename {base => templates/base}/head.tmpl (100%) rename {base => templates/base}/head_navbar.tmpl (100%) rename home.tmpl => templates/home.tmpl (100%) diff --git a/base/alert.tmpl b/base/alert.tmpl deleted file mode 100644 index 61b9948..0000000 --- a/base/alert.tmpl +++ /dev/null @@ -1,15 +0,0 @@ -{{if .Flash.ErrorMsg}} -
-

{{.Flash.ErrorMsg | Str2html}}

-
-{{end}} -{{if .Flash.SuccessMsg}} -
-

{{.Flash.SuccessMsg | Str2html}}

-
-{{end}} -{{if .Flash.InfoMsg}} -
-

{{.Flash.InfoMsg | Str2html}}

-
-{{end}} diff --git a/base/delete_modal_actions.tmpl b/base/delete_modal_actions.tmpl deleted file mode 100644 index a889c67..0000000 --- a/base/delete_modal_actions.tmpl +++ /dev/null @@ -1,10 +0,0 @@ -
-
- - {{.i18n.Tr "modal.no"}} -
-
- - {{.i18n.Tr "modal.yes"}} -
-
diff --git a/base/paginate.tmpl b/base/paginate.tmpl deleted file mode 100644 index da07fd2..0000000 --- a/base/paginate.tmpl +++ /dev/null @@ -1,24 +0,0 @@ -{{$paginationLink := .Page.GetParams}} -{{with .Page.Paginater}} - {{if gt .TotalPages 1}} -
- -
- {{end}} -{{end}} diff --git a/base/footer.tmpl b/templates/base/footer.tmpl similarity index 100% rename from base/footer.tmpl rename to templates/base/footer.tmpl diff --git a/base/footer_content.tmpl b/templates/base/footer_content.tmpl similarity index 100% rename from base/footer_content.tmpl rename to templates/base/footer_content.tmpl diff --git a/base/head.tmpl b/templates/base/head.tmpl similarity index 100% rename from base/head.tmpl rename to templates/base/head.tmpl diff --git a/base/head_navbar.tmpl b/templates/base/head_navbar.tmpl similarity index 100% rename from base/head_navbar.tmpl rename to templates/base/head_navbar.tmpl diff --git a/home.tmpl b/templates/home.tmpl similarity index 100% rename from home.tmpl rename to templates/home.tmpl