From 1450c6aca632827511fd912a58b0d2909e633f51 Mon Sep 17 00:00:00 2001 From: wzj <244142824@qq.com> Date: Sat, 14 Jun 2025 14:32:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=9B=BE=E6=A0=87=E6=98=BE?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/base.html | 24 +++++++++++++++++++----- templates/ca_detail.html | 2 +- templates/certificate_detail.html | 2 +- 3 files changed, 21 insertions(+), 7 deletions(-) diff --git a/templates/base.html b/templates/base.html index bf235b3..a2921bf 100644 --- a/templates/base.html +++ b/templates/base.html @@ -12,10 +12,6 @@ flex-direction: column; min-height: 100vh; } - .navbar { - box-shadow: 0 2px 4px rgba(0,0,0,.1); - background-color: rgb(124 146 157) !important; - } .main-content { flex: 1; padding-top: 20px; @@ -26,9 +22,27 @@ padding: 20px 0; margin-top: auto; } + .navbar { + box-shadow: 0 2px 4px rgba(0,0,0,.1); + background-color: rgb(124 146 157) !important; + } + .nav-item.active { + position: relative; + } + .nav-item.active::after { + content: ''; + position: absolute; + bottom: 0; + left: 50%; + transform: translateX(-50%); + width: 50%; + height: 3px; + background-color: #333333; + border-radius: 3px 3px 0 0; + } .nav-item.active .nav-link { font-weight: 500; - color: #333333 !important; + color: #333333 !important; } {% block styles %}{% endblock %} diff --git a/templates/ca_detail.html b/templates/ca_detail.html index f1e2f30..1b597a4 100644 --- a/templates/ca_detail.html +++ b/templates/ca_detail.html @@ -97,7 +97,7 @@
创建时间
{{ ca.created_at.strftime('%Y-%m-%d %H:%M') }}
-
证书路径
+
证书路径
{{ ca.cert_path|to_pinyin }}
diff --git a/templates/certificate_detail.html b/templates/certificate_detail.html index c5a998e..abf574c 100644 --- a/templates/certificate_detail.html +++ b/templates/certificate_detail.html @@ -176,7 +176,7 @@
-
证书文件
+
证书文件
{{ cert.cert_path }}
私钥文件