Update room options menu #8 and #7

Took 15 minutes
This commit is contained in:
2020-10-05 22:35:27 +02:00
parent c553843b18
commit d04e90f2cd
3 changed files with 37 additions and 18 deletions

View File

@ -113,21 +113,24 @@
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="optionsModalLabel">Room-Options(not finished yet)</h5>
<h5 class="modal-title text-info" id="optionsModalLabel">Room-Options</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body">
<span class="text-danger" id="optionsErrorMsg"></span>
<div class="form-group">
Not finished yet! - Options not working.
<label for="lock_room">Lock Room?</label>
<input type="checkbox" class="form-control" [[LOCKED]] id="lock_room">
<label for="secret_url">Admin-URL</label>
<input type="text" readonly class="form-control" value="https://faq.hw-table.de/?code=XXXX&secret=XXXXXXXXXXXXX" id="secret_url">
</div>
<form>
<div class="form-check">
<input type="checkbox" class="form-check-input" [[LOCKED]] id="lock_room">
<label for="lock_room" class="form-check-label">Lock Room</label>
</div>
<br>
<div class="form-group">
<label for="secret_url">Admin-URL</label>
<input type="text" readonly class="form-control" value="https://faq.hw-table.de/?code=XXXX&secret=XXXXXXXXXXXXX" onclick="this.select();" id="secret_url">
</div>
</form>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-danger" data-dismiss="modal">Discard</button>