diff --git a/templates/ca_detail.html b/templates/ca_detail.html index 1d05498..eb5dc07 100644 --- a/templates/ca_detail.html +++ b/templates/ca_detail.html @@ -7,25 +7,25 @@
{{ ca.cert_path }}
拼音路径: {{ ca.cert_path|to_pinyin }}
{{ ca.key_path }}
拼音路径: {{ ca.key_path|to_pinyin }}
@@ -108,60 +107,70 @@
| ID | +ID | 通用名 | 状态 | 有效期至 | 创建时间 | -操作 | +操作 | |
|---|---|---|---|---|---|---|---|---|
| {{ cert.id }} | -{{ cert.common_name }} | +{{ cert.id }} | ++ + {{ cert.common_name }} + + | {% if cert.status == 'active' %} - 有效 + + 有效 + {% elif cert.status == 'revoked' %} - 已吊销 + + 已吊销 + {% else %} - 已过期 + + 已过期 + {% endif %} | {{ cert.expires_at.strftime('%Y-%m-%d') }} | {{ cert.created_at.strftime('%Y-%m-%d') }} | -+ |