Removed redundent JS scripts
This commit is contained in:
parent
a20e2a4b7b
commit
baa755ef6a
@ -1,6 +1,5 @@
|
|||||||
<body>
|
<h1 class="text-center">LIST USERS</h1>
|
||||||
<h1 class="text-center">LIST USERS</h1>
|
<div class="container">
|
||||||
<div class="container">
|
|
||||||
<table class="table table-striped table-dark table-hover">
|
<table class="table table-striped table-dark table-hover">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
@ -14,26 +13,30 @@
|
|||||||
<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=" display: inline;" 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=" display: inline;" 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>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<hr>
|
<hr>
|
||||||
<h1 class="text-center">ADD NEW USERS</h1>
|
<h1 class="text-center">ADD NEW USERS</h1>
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<form class="loginform" action="/post" method="POST">
|
<form class="loginform" action="/post" method="POST">
|
||||||
<div class="form-group row">
|
<div class="form-group row">
|
||||||
<label for="addbox" class="col-sm-2 col-form-label" >Username</label>
|
<label for="addbox" class="col-sm-2 col-form-label">Username</label>
|
||||||
<div class="col-sm-10">
|
<div class="col-sm-10">
|
||||||
<input type=text class="form-control" id="addbox" type="text" name="username" />
|
<input type=text class="form-control" id="addbox" type="text" name="username" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group row">
|
<div class="form-group row">
|
||||||
<label for="addbox" class="col-sm-2 col-form-label" >Password</label>
|
<label for="addbox" class="col-sm-2 col-form-label">Password</label>
|
||||||
<div class="col-sm-10">
|
<div class="col-sm-10">
|
||||||
<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" />
|
||||||
@ -47,13 +50,6 @@
|
|||||||
home
|
home
|
||||||
</i></button></a>
|
</i></button></a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- jQuery library -->
|
|
||||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
|
|
||||||
<!-- Popper JS -->
|
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script>
|
|
||||||
<!-- Latest compiled JavaScript -->
|
|
||||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js"></script>
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
Loading…
x
Reference in New Issue
Block a user