From 5f95a26ca1a5a0aaf6227b64412f63f2f5069ff9 Mon Sep 17 00:00:00 2001 From: rock2dust Date: Wed, 5 Oct 2022 23:20:29 +0800 Subject: [PATCH 1/4] Fix default theme-auto selector when nologin --- templates/base/head.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/base/head.tmpl b/templates/base/head.tmpl index 39749613dec43..8bf89f7f2ae1d 100644 --- a/templates/base/head.tmpl +++ b/templates/base/head.tmpl @@ -1,5 +1,5 @@ - + From a1fb16dd1e187880c17e82033e7003c0453c3351 Mon Sep 17 00:00:00 2001 From: rock2dust Date: Wed, 5 Oct 2022 23:33:12 +0800 Subject: [PATCH 2/4] Fix default theme-auto selector when nologin the bug is theme selector is theme- when not login to Gitea --- templates/base/head.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/base/head.tmpl b/templates/base/head.tmpl index 8bf89f7f2ae1d..6e34d667341c0 100644 --- a/templates/base/head.tmpl +++ b/templates/base/head.tmpl @@ -1,5 +1,5 @@ - + From bb9881d4429082c385dd1f94468b52942f3c5fad Mon Sep 17 00:00:00 2001 From: rock2dust Date: Thu, 6 Oct 2022 00:21:11 +0800 Subject: [PATCH 3/4] Apply suggestions from code review Co-authored-by: silverwind --- templates/base/head.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/base/head.tmpl b/templates/base/head.tmpl index 6e34d667341c0..f8649552d8c96 100644 --- a/templates/base/head.tmpl +++ b/templates/base/head.tmpl @@ -1,5 +1,5 @@ - + From e5c65ea107f1dc6fc4196eb36e9ce774e71835d8 Mon Sep 17 00:00:00 2001 From: rock2dust Date: Thu, 6 Oct 2022 08:09:23 +0800 Subject: [PATCH 4/4] Apply suggestions from code review Co-authored-by: delvh --- templates/base/head.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/base/head.tmpl b/templates/base/head.tmpl index cca984ac5d47c..70a88ff75569a 100644 --- a/templates/base/head.tmpl +++ b/templates/base/head.tmpl @@ -1,5 +1,5 @@ - +