Fixed admin page
This commit is contained in:
parent
614bbebc46
commit
4cada31e5d
@ -66,7 +66,24 @@
|
||||
</div>
|
||||
<h1 class="text-center">Add User To List</h1>
|
||||
<div class="container">
|
||||
<table class="table table-striped table-dark table-hover">
|
||||
<div class="form-group row">
|
||||
<form action="/post" method="POST">
|
||||
<label for="uesrnamelist" class="col-sm-2 col-form-label">User</label>
|
||||
<select id="usernamelist" name="add2list" class="custom-select custom-select-lg mb-3">
|
||||
{% for userid in data["users"] %}
|
||||
<option type="submit" value="{{userid[2]}}" id="addbox" name="User2list" class="form-control">{{userid[0].title()}}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
<label for="listlist" class="col-sm-2 col-form-label">List</label>
|
||||
<select id="listlist" name="listID" class="custom-select custom-select-lg mb-3">
|
||||
{% for x in data["lists"] %}
|
||||
<option type="submit" value="{{x}}" id="addbox" name="User2list" class="form-control">{{data["lists"][x]}}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
<button class="btn btn-secondary" type="submit" value="x"> Add User To List </button>
|
||||
<!-- <input name="listID" value={{x}} type="hidden">--></form>
|
||||
</div>
|
||||
<!-- <table class="table table-striped table-dark table-hover">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">Username</th>
|
||||
@ -87,7 +104,7 @@
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
</table> -->
|
||||
</div>
|
||||
{% for x in data["lists"] %}
|
||||
{{data["lists"][x]}}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user