mirror of
https://github.com/FAUSheppy/tmnf-replay-server.git
synced 2025-12-06 07:01:37 +01:00
feat: user settings via web interface
This commit is contained in:
@@ -3,15 +3,22 @@
|
||||
</head>
|
||||
<body>
|
||||
{% include "upload-button.html" %}
|
||||
<button class="ml-4 mt-4 mb-4 btn btn-info" onclick="window.location.href='/?game=tmnf'">
|
||||
TMNF
|
||||
</button>
|
||||
<button class="mt-4 mb-4 btn btn-info" onclick="window.location.href='/?game=tm2020'">
|
||||
TM2020
|
||||
</button>
|
||||
<button class="mt-4 mb-4 btn btn-info" onclick="window.location.href='/'">
|
||||
All
|
||||
</button>
|
||||
|
||||
<div class="form-check form-switch">
|
||||
<input class="form-check-input" type="checkbox" role="switch" id="show_tm_2020">
|
||||
<label class="form-check-label" for="show_tm_2020">Show All TM2020</label>
|
||||
</div>
|
||||
<div class="form-check form-switch">
|
||||
<input class="form-check-input" type="checkbox" role="switch" id="show_tmnf">
|
||||
<label class="form-check-label" for="show_tmnf">Show All TMNF</label>
|
||||
</div>
|
||||
<div class="form-check form-switch">
|
||||
<input class="form-check-input" type="checkbox" role="switch" id="notifications_self">
|
||||
<label class="form-check-label" for="notifications_self">Send notifcations</label>
|
||||
</div>
|
||||
|
||||
<script src="/static/user_settings.js" defer></script>
|
||||
|
||||
<table class="m-auto">
|
||||
<thead>
|
||||
<tr>
|
||||
|
||||
Reference in New Issue
Block a user