Fixed formatting on html pages
This commit is contained in:
parent
b1db5e4a17
commit
2b98e9db55
@ -7,6 +7,8 @@
|
|||||||
<option type="submit" value="{{listid}}" id="addbox" name="list">{{id[listid]}}</option>
|
<option type="submit" value="{{listid}}" id="addbox" name="list">{{id[listid]}}</option>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</select>
|
</select>
|
||||||
<div style="text-align: center; padding-bottom: 2px"><input class="btn btn-secondary" type="submit" style="text-align: center" name="addValue" value="Submit"></form>
|
<div style="text-align: center; padding-bottom: 2px"><input class="btn btn-secondary" type="submit"
|
||||||
|
style="text-align: center" name="addValue" value="Submit">
|
||||||
|
</form>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
@ -16,7 +16,12 @@
|
|||||||
<tr scope="row">
|
<tr scope="row">
|
||||||
<td>{{x[0]}}</td>
|
<td>{{x[0]}}</td>
|
||||||
<td>{% if x[1] == 1 %} Yes {% else %} No {% endif %}</td>
|
<td>{% if x[1] == 1 %} Yes {% else %} No {% endif %}</td>
|
||||||
<td align="right"><form action="/post" method="POST"><input style="width: 70%; display: inline;" class="form-control" type="text" name="newpass" id="addbox"><button class="btn btn-secondary" type="submit" name="updatepass" value="{{x[2]}}"> Change Password </button></form></td>
|
<td align="right">
|
||||||
|
<form action="/post" method="POST"><input style="width: 70%; display: inline;"
|
||||||
|
class="form-control" type="text" name="newpass" id="addbox"><button
|
||||||
|
class="btn btn-secondary" type="submit" name="updatepass" value="{{x[2]}}"> Change
|
||||||
|
Password </button></form>
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tbody>
|
</tbody>
|
||||||
@ -38,7 +43,8 @@
|
|||||||
<input class="form-control" id="addbox" type="password" name="password" />
|
<input class="form-control" id="addbox" type="password" name="password" />
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group" style="padding-top: 10px; padding-left: 10px;">
|
<div class="form-group" style="padding-top: 10px; padding-left: 10px;">
|
||||||
<input class="btn btn-secondary" id="logbtn" type="submit" name="newuser" value="Create new account" />
|
<input class="btn btn-secondary" id="logbtn" type="submit" name="newuser"
|
||||||
|
value="Create new account" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
@ -68,47 +74,35 @@
|
|||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="form-group row">
|
<div class="form-group row">
|
||||||
<form action="/post" method="POST">
|
<form action="/post" method="POST">
|
||||||
<label for="uesrnamelist" class="col-sm-2 col-form-label">User</label>
|
<div class="form-row">
|
||||||
<select id="usernamelist" name="add2list" class="custom-select custom-select-lg mb-3">
|
<div class="col">
|
||||||
|
<label for="usernamelist" class="col-form-label form-control">User</label>
|
||||||
|
<select id="usernamelist" name="add2list"
|
||||||
|
class="custom-select custom-select-lg mb-3 form-control">
|
||||||
{% for userid in data["users"] %}
|
{% for userid in data["users"] %}
|
||||||
<option type="submit" value="{{userid[2]}}" id="addbox" name="User2list" class="form-control">{{userid[0].title()}}</option>
|
<option type="submit" value="{{userid[2]}}" id="addbox" name="User2list"
|
||||||
|
class="form-control">{{userid[0].title()}}</option>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</select>
|
</select>
|
||||||
<label for="listlist" class="col-sm-2 col-form-label">List</label>
|
</div>
|
||||||
<select id="listlist" name="listID" class="custom-select custom-select-lg mb-3">
|
<div class="col">
|
||||||
|
<label for="listlist" class="col-form-label form-control">List</label>
|
||||||
|
<select id="listlist" name="listID" class="custom-select custom-select-lg mb-3 form-control">
|
||||||
{% for x in data["lists"] %}
|
{% for x in data["lists"] %}
|
||||||
<option type="submit" value="{{x}}" id="addbox" name="User2list" class="form-control">{{data["lists"][x]}}</option>
|
<option type="submit" value="{{x}}" id="addbox" name="User2list" class="form-control">
|
||||||
|
{{data["lists"][x]}}</option>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</select>
|
</select>
|
||||||
<button class="btn btn-secondary" type="submit" value="x"> Add User To List </button>
|
<div class="col">
|
||||||
<!-- <input name="listID" value={{x}} type="hidden">--></form>
|
<button class="btn btn-secondary" type="submit" value="x"> Add
|
||||||
|
User To List </button>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
</div>
|
</div>
|
||||||
<!-- <table class="table table-striped table-dark table-hover">
|
|
||||||
<thead>
|
|
||||||
<tr>
|
|
||||||
<th scope="col">Username</th>
|
|
||||||
<th scope="col">User</th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody>
|
|
||||||
{% for x in data["lists"] %}
|
|
||||||
<tr scope="row">
|
|
||||||
<td>{{data["lists"][x]}}</td>
|
|
||||||
<td><form action="/post" method="POST">
|
|
||||||
<select id="addbox" 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">{{userid[0].title()}}</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></td>
|
|
||||||
</tr>
|
|
||||||
{% endfor %}
|
|
||||||
</tbody>
|
|
||||||
</table> -->
|
|
||||||
</div>
|
</div>
|
||||||
{% for x in data["lists"] %}
|
|
||||||
{{data["lists"][x]}}
|
|
||||||
{% endfor %}
|
|
||||||
<!-- jQuery library -->
|
<!-- jQuery library -->
|
||||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
|
||||||
<!-- Popper JS -->
|
<!-- Popper JS -->
|
||||||
|
|||||||
@ -4,7 +4,8 @@
|
|||||||
<h1 class="container" style="text-align: center">{{ data["title"] }}, {{data["session"]["username"].title()}}
|
<h1 class="container" style="text-align: center">{{ data["title"] }}, {{data["session"]["username"].title()}}
|
||||||
<div class="dropdown">
|
<div class="dropdown">
|
||||||
<form action="/post" method="post" id="test">
|
<form action="/post" method="post" id="test">
|
||||||
<button class="btn btn-secondary dropdown-toggle" type="button" id="dropdownMenu2" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
<button class="btn btn-secondary dropdown-toggle" type="button" id="dropdownMenu2"
|
||||||
|
data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||||
{% set id = session["list_ids"] %}
|
{% set id = session["list_ids"] %}
|
||||||
{% set actid = session["active_id"] %}
|
{% set actid = session["active_id"] %}
|
||||||
{% if actid == "0" %}
|
{% if actid == "0" %}
|
||||||
|
|||||||
@ -1,9 +1,11 @@
|
|||||||
{% include "header.html" %}
|
{% include "header.html" %}
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<h1 class="container" style="text-align: center">{{ data["title"] }}</h1>
|
<h1 class="container" style="text-align: center">{{ data["title"] }}</h1>
|
||||||
<div class="dropdown">
|
<div class="dropdown">
|
||||||
<form action="/post" method="post" id="test">
|
<form action="/post" method="post" id="test">
|
||||||
<button class="btn btn-secondary dropdown-toggle" type="button" id="dropdownMenu2" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
<button class="btn btn-secondary dropdown-toggle" type="button" id="dropdownMenu2" data-toggle="dropdown"
|
||||||
|
aria-haspopup="true" aria-expanded="false">
|
||||||
{% set id = session["list_ids"] %}
|
{% set id = session["list_ids"] %}
|
||||||
{% set actid = session["active_id"] %}
|
{% set actid = session["active_id"] %}
|
||||||
{% if actid == "0" %}
|
{% if actid == "0" %}
|
||||||
@ -15,7 +17,8 @@
|
|||||||
<div class="dropdown-menu" aria-labelledby="dropdownMenu2">
|
<div class="dropdown-menu" aria-labelledby="dropdownMenu2">
|
||||||
<button class="dropdown-item" type="submit" value="0" id="" name="list">All</button>
|
<button class="dropdown-item" type="submit" value="0" id="" name="list">All</button>
|
||||||
{% for listid in data["list_ids"] %}
|
{% for listid in data["list_ids"] %}
|
||||||
<button class="dropdown-item" type="submit" value="{{listid}}" id="{{id}}" name="list">{{id[listid]}}</button>
|
<button class="dropdown-item" type="submit" value="{{listid}}" id="{{id}}"
|
||||||
|
name="list">{{id[listid]}}</button>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
@ -24,11 +27,11 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="container" id="memes">
|
<div class="container" id="memes">
|
||||||
{% include "list.html" %}
|
{% include "list.html" %}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div id="logout">
|
<div id="logout">
|
||||||
<form action="/post" method="POST">
|
<form action="/post" method="POST">
|
||||||
<button type="submit" name="logout" class="btn btn-secondary"><i style="padding-top: 3px;" class="material-icons">
|
<button type="submit" name="logout" class="btn btn-secondary"><i style="padding-top: 3px;"
|
||||||
|
class="material-icons">
|
||||||
exit_to_app
|
exit_to_app
|
||||||
</i></button>
|
</i></button>
|
||||||
</form>
|
</form>
|
||||||
@ -40,14 +43,12 @@
|
|||||||
vpn_key
|
vpn_key
|
||||||
</i></button></a>
|
</i></button></a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- jQuery library -->
|
<!-- jQuery library -->
|
||||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
|
||||||
|
|
||||||
<!-- Popper JS -->
|
<!-- Popper JS -->
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script>
|
||||||
|
|
||||||
<!-- Latest compiled JavaScript -->
|
<!-- Latest compiled JavaScript -->
|
||||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js"></script>
|
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js"></script>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
Loading…
x
Reference in New Issue
Block a user