feat: dark mode switch and svg logo
This commit is contained in:
1 parent
b0b9af408f
commit
dd548e36a3
8 files changed
+282
-43
No files matched your search
@@ -70,7 +70,10 @@ templ Show(hx bool, td TrackerData) {
|
||||
@Mana(md)
|
||||
</div>
|
||||
</div>
|
||||
<button type="button" hx-get="/hp-mana-tracker/reset" hx-target="main" hx-swap="innerHTML">Reset</button>
|
||||
<details>
|
||||
<summary>Extras</summary>
|
||||
<button type="button" hx-get="/hp-mana-tracker/reset" hx-target="main" hx-swap="innerHTML">Reset</button>
|
||||
</details>
|
||||
</div>
|
||||
}
|
||||
}
|
||||
@@ -169,9 +172,11 @@ templ Hp(dd DamageData) {
|
||||
}
|
||||
<fieldset>
|
||||
<label for="savingthrow">
|
||||
<input id="savingthrow" name="savingthrow" type="checkbox" role="switch" if dd.SavingThrow !="" {
|
||||
checked
|
||||
}/>
|
||||
<input id="savingthrow" name="savingthrow" type="checkbox" role="switch"
|
||||
if dd.SavingThrow != "" {
|
||||
checked
|
||||
}
|
||||
/>
|
||||
Verteidigungswurf
|
||||
</label>
|
||||
</fieldset>
|
||||
|
||||
Reference in new issue
Block a user