From e9ac763312852cbb45283324698d4fda7cba8bbe Mon Sep 17 00:00:00 2001 From: unknown Date: Sun, 7 Aug 2022 18:57:51 +0700 Subject: [PATCH] Gitea-ui-customized : re-adjusted templates as Gitea 1.17.0 break homepage --- .../templates/base/footer_content.tmpl | 25 -- .../templates/base/head_navbar.tmpl | 376 +++++++++--------- Gitea-ui-customized/templates/home.tmpl | 30 +- 3 files changed, 210 insertions(+), 221 deletions(-) delete mode 100644 Gitea-ui-customized/templates/base/footer_content.tmpl diff --git a/Gitea-ui-customized/templates/base/footer_content.tmpl b/Gitea-ui-customized/templates/base/footer_content.tmpl deleted file mode 100644 index d4f823c..0000000 --- a/Gitea-ui-customized/templates/base/footer_content.tmpl +++ /dev/null @@ -1,25 +0,0 @@ - \ No newline at end of file diff --git a/Gitea-ui-customized/templates/base/head_navbar.tmpl b/Gitea-ui-customized/templates/base/head_navbar.tmpl index 39bd757..87e7cd1 100644 --- a/Gitea-ui-customized/templates/base/head_navbar.tmpl +++ b/Gitea-ui-customized/templates/base/head_navbar.tmpl @@ -1,195 +1,209 @@ \ No newline at end of file diff --git a/Gitea-ui-customized/templates/home.tmpl b/Gitea-ui-customized/templates/home.tmpl index c917246..02d8d74 100644 --- a/Gitea-ui-customized/templates/home.tmpl +++ b/Gitea-ui-customized/templates/home.tmpl @@ -1,19 +1,19 @@ {{template "base/head" .}}
-
-
-
- -
-
-

- {{AppName}} -

-
-
-
-
- - +
+
+
+ +
+
+

+ {{AppName}} +

+

{{.locale.Tr "startpage.app_desc"}}

+
+
+
+ + {{template "base/footer" .}} \ No newline at end of file