From 8b87a9d31c966b431e9547bcc411f9da7f3c527a Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Wed, 28 Oct 2026 09:25:36 +0100 Subject: web: load an alternative hill database from the UI MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Secondary button under the database status line: picks a .dat (or gzipped) peak list at runtime — e.g. a regional file like everest.dat instead of the full 21k gipfel.dat. Markers and track reference hill indices, so they are dropped when the database is swapped. --- crates/wipfel/www/style.css | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'crates/wipfel/www') diff --git a/crates/wipfel/www/style.css b/crates/wipfel/www/style.css index 80c4d15..9ed7bd8 100644 --- a/crates/wipfel/www/style.css +++ b/crates/wipfel/www/style.css @@ -163,6 +163,15 @@ body { .sidebar button:hover { background: var(--btn-hover); } +.sidebar button.secondary { + background: var(--chip-bg); + color: var(--text); + font-size: 13px; + padding: 6px 10px; +} +.sidebar button.secondary:hover { + background: var(--chip-hover); +} .status { font-size: 13px; color: var(--text-dim); -- cgit v1.2.3