From 63f5540e0ed0ff1ace8ec25775bb1f090a7efef9 Mon Sep 17 00:00:00 2001 From: OpenIhu Date: Tue, 6 Jul 2021 10:52:20 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E9=A6=96=E9=A1=B5=E5=A4=B4?= =?UTF-8?q?=E9=83=A8=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- custom/public/css/git.openi.css | 6 + templates/base/head_home.tmpl | 4 +- templates/base/head_navbar_home.tmpl | 161 +++++++++++++++++++++++++++ 3 files changed, 169 insertions(+), 2 deletions(-) create mode 100644 templates/base/head_navbar_home.tmpl diff --git a/custom/public/css/git.openi.css b/custom/public/css/git.openi.css index e10f91460..7ea4823a3 100644 --- a/custom/public/css/git.openi.css +++ b/custom/public/css/git.openi.css @@ -49,6 +49,12 @@ border: none; margin-bottom: 90px; } +.hometop .ui.secondary.menu .active.item{ + color: #000; + background:none; + border-bottom: 1px solid #000; +} + .homebanner{ position: relative; padding: 100px 32px 80px; diff --git a/templates/base/head_home.tmpl b/templates/base/head_home.tmpl index 988f3413a..0311caa31 100644 --- a/templates/base/head_home.tmpl +++ b/templates/base/head_home.tmpl @@ -192,13 +192,13 @@ var _hmt = _hmt || [];
-
+
{{template "custom/body_inner_pre" .}} {{if not .PageIsInstall}}
{{end}} diff --git a/templates/base/head_navbar_home.tmpl b/templates/base/head_navbar_home.tmpl new file mode 100644 index 000000000..62e9de1d7 --- /dev/null +++ b/templates/base/head_navbar_home.tmpl @@ -0,0 +1,161 @@ +