From 557d2e55b5e226947b470fd8d69ebbc4e6b96c69 Mon Sep 17 00:00:00 2001 From: Jonathon Leight Date: Thu, 30 Jul 2026 08:46:19 -0400 Subject: [PATCH] Fix page headings --- internal/auth/templates/account.html | 18 +- internal/auth/templates/login.html | 2 +- internal/auth/templates/signup.html | 2 +- internal/core/heading_structure_test.go | 189 ++++++++++++++++++ internal/core/templates/add_repeater.html | 12 +- internal/core/templates/admin.html | 10 +- internal/core/templates/admin_catalog.html | 4 +- .../core/templates/admin_user_history.html | 4 +- .../templates/admin_user_permissions.html | 2 +- internal/core/templates/admin_users.html | 2 +- internal/core/templates/analytics.html | 14 +- internal/core/templates/command_log.html | 2 +- internal/core/templates/config_edit.html | 6 +- .../core/templates/config_profile_edit.html | 2 +- .../core/templates/config_regions_edit.html | 2 +- internal/core/templates/console.html | 8 +- internal/core/templates/dashboard.html | 8 +- internal/core/templates/delete_repeater.html | 4 +- internal/core/templates/edit_repeater.html | 2 +- internal/core/templates/invite.html | 2 +- internal/core/templates/join_org.html | 2 +- internal/core/templates/my_orgs.html | 2 +- internal/core/templates/new_org.html | 2 +- internal/core/templates/org.html | 8 +- internal/core/templates/org_edit_links.html | 2 +- internal/core/templates/org_edit_profile.html | 2 +- internal/core/templates/org_members.html | 4 +- internal/core/templates/person_access.html | 2 +- internal/core/templates/proxy_test.html | 10 +- internal/core/templates/repeater.html | 10 +- internal/core/templates/repeater_added.html | 6 +- internal/core/templates/repeater_docs.html | 8 +- .../core/templates/repeater_maintenance.html | 2 +- internal/core/templates/repeaters.html | 4 +- internal/core/templates/share.html | 6 +- internal/core/templates/share_invite_new.html | 2 +- internal/core/templates/share_org_limits.html | 4 +- internal/marketing/templates/docs.html | 16 +- internal/marketing/templates/landing.html | 12 +- internal/marketing/templates/orgs.html | 2 +- .../marketing/templates/repeater_public.html | 14 +- internal/marketing/templates/user_public.html | 6 +- internal/web/security_test.go | 57 ++++++ internal/web/templates/base.html | 2 +- internal/web/templates/command_grid.html | 2 +- internal/web/templates/error.html | 15 +- internal/web/templates/org_config.html | 8 +- internal/web/templates/org_public.html | 8 +- internal/web/templates/org_repeaters.html | 4 +- internal/web/templates/org_tabs.html | 2 +- internal/web/templates/repeater_tabs.html | 2 +- 51 files changed, 389 insertions(+), 132 deletions(-) create mode 100644 internal/core/heading_structure_test.go diff --git a/internal/auth/templates/account.html b/internal/auth/templates/account.html index 3ba56d2..677198e 100644 --- a/internal/auth/templates/account.html +++ b/internal/auth/templates/account.html @@ -3,7 +3,7 @@
Your account
-

Account settings

+

Account settings

{{end}} @@ -12,7 +12,7 @@ {{if .OK}}
{{.OK}}
{{end}}
-

Username

+

Username

Your username is your unique handle (3–32 chars: letters, digits, _ . -). You can change it once every 30 days. When you do, your old username is reserved for 90 days before anyone else can take it.

@@ -36,7 +36,7 @@
-

Display name

+

Display name

Your display name is what other people see — on shares and in organizations. It can be anything, and it isn't tied to sign-in.

@@ -54,7 +54,7 @@
-

Time zone

+

Time zone

Dates and times across MeshTender are shown in this time zone (and in your browser's locale format). Leave it on Auto-detect to use whatever zone your browser reports.

@@ -82,7 +82,7 @@
-

Public profile

+

Public profile

These appear on your public page at {{.RootURL}}/u/{{.User.Username}}, which anyone can view. Leave a field blank to keep it off your page.

@@ -108,7 +108,7 @@
-

Links (public)

+

Links (public)

Ways to reach or find you — social media, a website, or your MeshCore public key (shown as a QR code). Mark one non-MeshCore link as your primary contact so people know the best way to reach you.

@@ -174,7 +174,7 @@
-

Passkeys

+

Passkeys

Passkeys let you sign in with your device's fingerprint, face, or PIN — no password to remember or leak.

{{if .PKErr}}
{{.PKErr}}
{{end}} @@ -217,7 +217,7 @@
-

Password

+

Password

{{if .HasPassword}}

Change the password you use as a fallback to passkeys.

@@ -264,7 +264,7 @@