fixed mock mode button; shortened simulation tabs

This commit is contained in:
2026-08-20 00:23:41 -06:00
parent 25615fabc6
commit 496310c93a
3 changed files with 19 additions and 6 deletions
@@ -9,14 +9,24 @@
{{- $mockMode := .MockMode }}
<form id="mock-mode-form">
<label class="flex items-center gap-[0.5em] font-display text-[1.5em]">
<label
class="
flex
items-center
gap-[0.5em]
font-display
text-[1.5em]
cursor-pointer
w-fit
"
>
Mock Mode
<input
type="checkbox"
{{- if $mockMode }}
checked
{{- end }}
class="h-[1em] w-[1em]"
class="h-[1em] w-[1em] cursor-pointer"
hx-put="/api/accounts/{{$acctID}}/mock-mode"
hx-vals='{"on": {{not $mockMode}}}'
hx-swap="none"