From 042a599ffa5b2d66da933c89e17277bc9c75f201 Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Tue, 23 Jun 2020 22:12:08 +0200 Subject: [PATCH] Update 1.12.x (#15) * readme update * rm not used templates * update home.tmpl from v1.12.1 release --- README.md | 2 +- templates/base/footer_content.tmpl | 26 ---- templates/base/head.tmpl | 190 ----------------------------- templates/base/head_navbar.tmpl | 135 -------------------- templates/home.tmpl | 12 +- 5 files changed, 7 insertions(+), 358 deletions(-) delete mode 100644 templates/base/footer_content.tmpl delete mode 100644 templates/base/head.tmpl delete mode 100644 templates/base/head_navbar.tmpl diff --git a/README.md b/README.md index 3edb698..c0c216e 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ ![preview 5](preview/profilepage.png "Preview") -## For Gitea Version ***1.11.x*** +## For Gitea Version ***1.12.x*** ## How to use: 1. Find your gitea custom directory path in ***Site Administration > Configuration > Custom File Root Path***. diff --git a/templates/base/footer_content.tmpl b/templates/base/footer_content.tmpl deleted file mode 100644 index 22bb38b..0000000 --- a/templates/base/footer_content.tmpl +++ /dev/null @@ -1,26 +0,0 @@ - diff --git a/templates/base/head.tmpl b/templates/base/head.tmpl deleted file mode 100644 index 7bd0685..0000000 --- a/templates/base/head.tmpl +++ /dev/null @@ -1,190 +0,0 @@ - - - - - - - {{if .Title}}{{.Title}} - {{end}} {{if .Repository.Name}}{{.Repository.Name}} - {{end}}{{AppName}} - - {{if UseServiceWorker}} - - {{else}} - - {{end}} - - - - - - - - {{if .IsSigned}} - - {{end}} - {{if .ContextUser}} - - {{end}} - {{if .SearchLimit}} - - {{end}} -{{if .GoGetImport}} - - -{{end}} - - - - - - - - - -{{if .RequireSimpleMDE}} - -{{end}} - -{{if .RequireTribute}} - -{{end}} - - - - - - -{{if .RequireHighlightJS}} - -{{end}} -{{if .RequireMinicolors}} - -{{end}} -{{if .RequireDatetimepicker}} - -{{end}} -{{if .RequireDropzone}} - -{{end}} -{{if .EnableHeatmap}} - -{{end}} - - - - - -{{if .PageIsUserProfile}} - - - - - {{if .Owner.Description}} - - {{end}} -{{else if .Repository}} - {{if .Issue}} - - - {{if .Issue.Content}} - - {{end}} - {{else}} - - - {{if .Repository.Description}} - - {{end}} - {{end}} - - -{{else}} - - - - - -{{end}} - -{{if .IsSigned }} - {{ if ne .SignedUser.Theme "gitea" }} - - {{end}} -{{else if ne DefaultTheme "gitea"}} - -{{end}} -{{template "custom/header" .}} - - - {{template "custom/body_outer_pre" .}} - -
- - - {{template "custom/body_inner_pre" .}} - - {{if not .PageIsInstall}} - - {{end}} -{{/* -
- - -*/}} diff --git a/templates/base/head_navbar.tmpl b/templates/base/head_navbar.tmpl deleted file mode 100644 index 44647ea..0000000 --- a/templates/base/head_navbar.tmpl +++ /dev/null @@ -1,135 +0,0 @@ - diff --git a/templates/home.tmpl b/templates/home.tmpl index 7e21489..53e5e1f 100644 --- a/templates/home.tmpl +++ b/templates/home.tmpl @@ -6,11 +6,11 @@
- +

- {{AppName}} + {{AppName}}

{{.i18n.Tr "startpage.app_desc"}}

@@ -19,7 +19,7 @@

- {{.i18n.Tr "startpage.install"}} + {{svg "octicon-flame" 16}} {{.i18n.Tr "startpage.install"}}

{{.i18n.Tr "startpage.install_desc" | Str2html}} @@ -27,7 +27,7 @@

- {{.i18n.Tr "startpage.platform"}} + {{svg "octicon-device-desktop" 16}} {{.i18n.Tr "startpage.platform"}}

{{.i18n.Tr "startpage.platform_desc" | Str2html}} @@ -37,7 +37,7 @@

- {{.i18n.Tr "startpage.lightweight"}} + {{svg "octicon-rocket" 16}} {{.i18n.Tr "startpage.lightweight"}}

{{.i18n.Tr "startpage.lightweight_desc" | Str2html}} @@ -45,7 +45,7 @@

- {{.i18n.Tr "startpage.license"}} + {{svg "octicon-code" 16}} {{.i18n.Tr "startpage.license"}}

{{.i18n.Tr "startpage.license_desc" | Str2html}}