CONFIG ERROR
.fig.toml could not be parsed. Continuing with default settings.
error: could not parse configuration
--> .fig.toml
TOML parse error at line 14, column 1
|
14 | [present]
| ^^^^^^^^^
missing field `files`
help: fix the syntax shown above; default settings apply until it is valid1 10 20 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 1901use maud::{Markup, html};23pub fn admin_pin_guard(error: Option<&str>) -> Markup {4 html! {5 div class="max-w-md mx-auto my-12 p-6 bg-[#fbf8f2] border-2 border-[#c6b297] rounded-2xl shadow-lg text-center" {6 div class="text-3xl mb-2" { "🔒" }7 h2 class="text-2xl font-bold text-stone-800 mb-1" { "Admin Access" }8 p class="text-sm text-stone-600 mb-6 italic" {9 "Enter the 6-digit Admin PIN to access database diagnostics and tournament controls."10 }1112 @if let Some(err) = error {13 div class="mb-4 p-3 bg-red-100 border border-red-300 text-red-700 text-xs rounded-lg font-semibold" {14 (err)15 }16 }1718 form19 hx-post="/pin"20 hx-target="#main-content"21 class="flex flex-col items-center gap-4" {2223 div class="flex justify-center" {24 input25 type="password"26 name="pin"27 maxlength="6"28 minlength="6"29 pattern="[0-9]{6}"30 inputmode="numeric"31 autocomplete="current-password"32 placeholder="••••••"33 required34 autofocus35 class="text-center font-mono text-2xl tracking-[0.4em] py-2 px-4 w-52 rounded-lg border-2 border-[#c6b297] bg-white text-stone-800 focus:outline-none focus:border-[#5b7c60]";36 }3738 button39 type="submit"40 class="cottage-btn cottage-btn-primary w-full mt-2" {41 "Unlock Admin Area"42 }43 }44 }45 }46}