fixed mock mode button; shortened simulation tabs
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user