13 lines
528 B
HTML
13 lines
528 B
HTML
|
<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>
|