panel: align page URLs, titles, and headings
test / test (push) Has been cancelled

Settings moves to /settings with a 308 redirect from /account; domains, Status, Users, and user forms get matching browser titles and h1 text; backup page title reflects domain import.

Co-Authored-By: Composer <noreply@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-12 15:24:14 +03:00
parent b87baa6dd6
commit 1d30605533
15 changed files with 41 additions and 17 deletions
@@ -53,7 +53,7 @@
they are policy, and the domain may already publish an SPF record for other
senders. SelfPost is a send-only relay — most operators have no inbox on the
sending domain, so the suggested DMARC record omits <code>rua=</code> unless a
report address is configured below or in <a href="/account">Settings</a>.
report address is configured below or in <a href="/settings">Settings</a>.
Publish both as TXT records.</p>
<label>SPF — host / name</label>
+1 -1
View File
@@ -81,7 +81,7 @@
{{template "sections" .}}
<div class="session">
<span class="session-user muted">{{template "icon-account"}}User: {{.User}}</span>
{{if eq .Active "account"}}<span aria-current="page">{{template "icon-settings"}}Settings</span>{{else}}<a href="/account">{{template "icon-settings"}}Settings</a>{{end}}
{{if eq .Active "settings"}}<span aria-current="page">{{template "icon-settings"}}Settings</span>{{else}}<a href="/settings">{{template "icon-settings"}}Settings</a>{{end}}
<form class="inline" method="post" action="/logout">
<button type="submit" class="danger">{{template "icon-sign-out"}}Sign out</button>
</form>
@@ -9,7 +9,7 @@
{{if .Error}}<p class="error">{{.Error}}</p>{{end}}
{{if .ShowDMARC}}
<form method="post" action="/account">
<form method="post" action="/settings">
<div class="split">
<div class="card">
<h2>Panel credentials</h2>
@@ -80,7 +80,7 @@ this one stays signed in.</p>
<h2>Panel credentials</h2>
<p class="muted">These are the credentials for this control panel only.
Applications keep their own logins and passwords, which are not affected.</p>
<form method="post" action="/account">
<form method="post" action="/settings">
<label for="username">Username</label>
<input id="username" name="username" autocomplete="username"
autocapitalize="none" spellcheck="false" value="{{.FormUsername}}" required>
+1 -1
View File
@@ -3,7 +3,7 @@
{{define "wide"}}wide{{end}}
{{define "content"}}
<h1>Server status</h1>
<h1>Status</h1>
{{if .Flash}}<div class="flash">{{.Flash}}</div>{{end}}
+1 -1
View File
@@ -1,5 +1,5 @@
{{define "content"}}
<h1>Panel users</h1>
<h1>Users</h1>
{{if .Flash}}<div class="flash">{{.Flash}}</div>{{end}}