This repository has been archived on 2023-12-29. You can view files and clone it, but cannot push or open issues or pull requests.
dogstats/web/pages/settings/settings.html

13 lines
528 B
HTML
Raw Permalink Normal View History

2023-10-31 21:29:17 +01:00
<form hx-post="/settings/edit" hx-target="#response">
<div>
<label for="theme">Farbschema</label>
<select name="theme">
<option value="light" <?= $_SESSION['user']->data['theme']=='light'?'selected':''; ?>>Hell</option>
<option value="dark" <?= $_SESSION['user']->data['theme']=='dark'?'selected':''; ?>>Dunkel</option>
</select>
</div>
<div id="response"></div>
<button type="submit" name="submit" value="true" class="btn btn-primary">Speichern</button>
</form>