feat(web): add embedded localized sync console

This commit is contained in:
2026-07-17 05:44:27 +08:00
parent b7f730cba9
commit 4b78f30a61
27 changed files with 1497 additions and 258 deletions
+10
View File
@@ -0,0 +1,10 @@
{{define "home"}}{{template "layout" .}}{{end}}
{{define "content"}}
<section class="hero card">
<p class="eyebrow">{{t .Locale "home.eyebrow"}}</p>
<h1>{{t .Locale "home.heading"}}</h1>
<p class="lead">{{t .Locale "home.description"}}</p>
<div class="actions"><a class="button primary" href="/login">{{t .Locale "home.login"}}</a>{{if .AllowRegistration}}<a class="button secondary" href="/register">{{t .Locale "home.register"}}</a>{{end}}</div>
<p class="muted">{{t .Locale "home.version"}} {{.Version}} · {{.BuildCommit}} · <span class="badge ok">{{.Status}}</span></p>
</section>
{{end}}