diff --git a/internal/core/templates/add_repeater.html b/internal/core/templates/add_repeater.html index aa85bfa..733b10b 100644 --- a/internal/core/templates/add_repeater.html +++ b/internal/core/templates/add_repeater.html @@ -24,29 +24,27 @@ {{/* ---- Step 1: choose connection method ---- */}}
-
-
- + {{else if eq .Step "consent"}} {{/* ---- Step 2: consent (wording adapts to the chosen method) ---- */}} diff --git a/internal/core/templates/command_log.html b/internal/core/templates/command_log.html index 526cb94..95b3184 100644 --- a/internal/core/templates/command_log.html +++ b/internal/core/templates/command_log.html @@ -2,14 +2,7 @@ {{define "header"}}{{template "repeater-header" .Nav}}{{end}} {{define "content"}} {{template "repeater-tabs" .Nav}} -
-
-

- Commands grouped by console session (one modem connection). “Confirmed” means a reply came back; - no reply doesn't mean the command failed — it may have run without us hearing the response. -

-
-
+

Every command sent from the console, by session. No reply doesn't mean a command failed: it may have run without its reply reaching us.

{{if .Sessions}} {{else}}
-

No maintenance has been logged yet.

+ {{template "empty-state" (dict "Compact" true "Title" "Nothing logged yet" "Line" "Entries you add above show up here, newest first.")}}
{{end}} {{end}} diff --git a/internal/core/templates/transfer_repeater.html b/internal/core/templates/transfer_repeater.html index 0c8ecc5..09fabe8 100644 --- a/internal/core/templates/transfer_repeater.html +++ b/internal/core/templates/transfer_repeater.html @@ -121,5 +121,4 @@
-{{template "icon-arrow-left" "me-1"}}Back to sharing {{end}} diff --git a/internal/marketing/templates/landing.html b/internal/marketing/templates/landing.html index e448b16..f3ea974 100644 --- a/internal/marketing/templates/landing.html +++ b/internal/marketing/templates/landing.html @@ -26,7 +26,7 @@

For members

- {{template "landing-tag" "companion"}} + {{template "need-tag" "companion"}}

Check in from the app you already use

Register the companion you carry, then check in to your organization's weekly net by sending a flood advert. Follow the roster and the news as it comes in, and read your organization's docs and recommended setup any time.

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

For repeater owners

- {{template "landing-tag" "usb"}} + {{template "need-tag" "usb"}}

Set up a new repeater to your organization's spec

Plug a freshly flashed repeater into your computer and pick your organization's profile. MeshTender writes the radio, name, region for where it stands and settings in one pass, like the flasher's Repeater Setup, without typing any of it.

@@ -44,7 +44,7 @@
- {{template "landing-tag" "none"}} + {{template "need-tag" "none"}}

Document it, and share it without passwords

Keep each repeater's notes and maintenance history, publish a public page with its stewards, and decide who may run which commands on it: a single-use invite, a trusted steward, or your organization.

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

For organizations

- {{template "landing-tag" "none"}} + {{template "need-tag" "none"}}

One configuration for the whole region

Publish your radio settings and configuration profiles, and draw regions on a map. Members see the exact commands for where their repeater stands, and new repeaters get them at setup.

@@ -64,7 +64,7 @@

With a KISS modem

- {{template "landing-tag" "modem"}} + {{template "need-tag" "modem"}}

Manage repeaters over the air

For admins, stewards and net control: plug a MeshCore radio flashed as a KISS modem into your computer to run CLI commands on repeaters from the browser, confirm they're reachable, apply your organization's configuration, and run a net on the air. Every command and reply is logged.

@@ -87,10 +87,10 @@ {{end}} -{{/* landing-tag says what a feature needs. Pass "companion", "usb", "none" or +{{/* need-tag says what a feature needs. Pass "companion", "usb", "none" or "modem". */}} -{{define "landing-tag"}} -
+{{define "need-tag"}} +
{{if eq . "companion"}}{{template "icon-radio" "me-1"}}Just your companion app {{else if eq . "usb"}}{{template "icon-plug" "me-1"}}Just the repeater and a USB cable {{else if eq . "modem"}}{{template "icon-antenna" "me-1"}}Needs a KISS modem diff --git a/internal/web/static/app.css b/internal/web/static/app.css index 5c2bb4a..9000fd2 100644 --- a/internal/web/static/app.css +++ b/internal/web/static/app.css @@ -291,8 +291,9 @@ code.pubkey { background: var(--tblr-primary-lt); color: var(--tblr-primary-text-emphasis); } -/* What a landing feature needs ("Just your companion app", "Needs a KISS modem"). */ -.landing-tag { +/* What a feature needs ("Just your companion app", "Needs a KISS modem"), on the + landing page and the add-repeater wizard. */ +.need-tag { display: inline-flex; align-items: center; font-size: 0.875rem;