ui: simplify footer to build version

This commit is contained in:
anonsaber 2026-10-01 09:23:33 +08:00
parent af89a17f7f
commit 0c84f8ef56
3 changed files with 3 additions and 5 deletions

View File

@ -145,7 +145,6 @@
"runtime.defaultsToast": "Runtime parameters restored to default-value preview. They are written to Redis only after clicking \"Save runtime parameters\".", "runtime.defaultsToast": "Runtime parameters restored to default-value preview. They are written to Redis only after clicking \"Save runtime parameters\".",
"privacy.title": "Secrets are never echoed or persisted to the browser.", "privacy.title": "Secrets are never echoed or persisted to the browser.",
"privacy.body": "Your settings are encrypted before they are saved on the server. Email contents are not shown here.", "privacy.body": "Your settings are encrypted before they are saved on the server. Email contents are not shown here.",
"footer.note": "Configuration managed by your server",
"common.required": "Required", "common.required": "Required",
"common.optional": "Optional", "common.optional": "Optional",
"common.buildVersion": "Build version", "common.buildVersion": "Build version",
@ -359,7 +358,6 @@
"runtime.defaultsToast": "运行参数已恢复为默认值预览。点击“保存运行参数”后才会更新 Redis。", "runtime.defaultsToast": "运行参数已恢复为默认值预览。点击“保存运行参数”后才会更新 Redis。",
"privacy.title": "密钥不会显示或保存在浏览器里。", "privacy.title": "密钥不会显示或保存在浏览器里。",
"privacy.body": "你的设置会加密后保存在服务器上。这里不会显示邮件内容。", "privacy.body": "你的设置会加密后保存在服务器上。这里不会显示邮件内容。",
"footer.note": "配置由你的服务端管理",
"common.required": "必填", "common.required": "必填",
"common.optional": "可选", "common.optional": "可选",
"common.buildVersion": "构建版本", "common.buildVersion": "构建版本",

View File

@ -170,9 +170,9 @@
</section> </section>
</section> </section>
<aside id="privacy-note" class="privacy-note" hidden><span class="privacy-icon" aria-hidden="true"><svg viewBox="0 0 24 24"><path d="M12 3 5 6v5c0 4.5 2.8 8 7 10 4.2-2 7-5.5 7-10V6l-7-3Z"/><path d="m9 12 2 2 4-4"/></svg></span><p><strong data-i18n="privacy.title">Secrets are never echoed or persisted to the browser.</strong> <span data-i18n="privacy.body">Business configuration is submitted only to the same-origin API and encrypted into Redis by the backend; this page never reads mailbox contents and uses no local files or database.</span></p></aside> <aside id="privacy-note" class="privacy-note" hidden><span class="privacy-icon" aria-hidden="true"><svg viewBox="0 0 24 24"><path d="M12 3 5 6v5c0 4.5 2.8 8 7 10 4.2-2 7-5.5 7-10V6l-7-3Z"/><path d="m9 12 2 2 4-4"/></svg></span><p><strong data-i18n="privacy.title">Secrets are never echoed or persisted to the browser.</strong> <span data-i18n="privacy.body">Your settings are encrypted before they are saved on the server. Email contents are not shown here.</span></p></aside>
</main> </main>
<footer class="footer"><span>MessageWeave</span><span id="build-version" class="footer-version">build version —</span><span data-i18n="footer.note">Configuration managed by your server</span></footer> <footer class="footer"><span id="build-version" class="footer-version">build version —</span></footer>
</body> </body>
</html> </html>

View File

@ -158,7 +158,7 @@ fieldset:disabled .field input, fieldset:disabled .field textarea, fieldset:disa
.privacy-icon svg { width: 18px; height: 18px; } .privacy-icon svg { width: 18px; height: 18px; }
.privacy-note p { margin: 0; font-size: 11px; line-height: 1.65; } .privacy-note p { margin: 0; font-size: 11px; line-height: 1.65; }
.privacy-note strong { color: #64657a; font-weight: 680; } .privacy-note strong { color: #64657a; font-weight: 680; }
.footer { width: min(1100px, calc(100% - 48px)); display: flex; justify-content: space-between; margin: 0 auto; padding: 18px 0 23px; border-top: 1px solid rgba(224, 224, 238, .72); color: #a5a5b2; font-size: 9px; letter-spacing: .08em; } .footer { width: min(1100px, calc(100% - 48px)); display: flex; justify-content: center; margin: 0 auto; padding: 18px 0 23px; border-top: 1px solid rgba(224, 224, 238, .72); color: #a5a5b2; font-size: 9px; letter-spacing: .08em; }
.footer span:last-child { letter-spacing: 0; } .footer span:last-child { letter-spacing: 0; }
.footer-version { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0; } .footer-version { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); border: 0; } .visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); border: 0; }