-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathreject.html
More file actions
57 lines (53 loc) · 1.67 KB
/
reject.html
File metadata and controls
57 lines (53 loc) · 1.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<!DOCTYPE html>
<html>
<head>
<meta charset='UTF-8'>
<meta http-equiv='X-UA-Compatible' content='IE=edge'>
<title>Registration</title>
<meta name='viewport' content='width=device-width, initial-scale=1'>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
<link rel='stylesheet' type='text/css' media ='screen' href='main.css'
<script src='main.js'></script>
</head>
<style>
table {
font-family: arial, sans-serif;
border-collapse: collapse;
}
td, th {
border: 1px solid #dddddd;
text-align: left;
padding: 8px;
}
tr:nth-child(even) {
background-color: #dddddd;
}
</style>
<body>
<table>
<tr>
<th> Id</th>
<th>Last Name </th>
<th> Status</th>
<th>First Name </th>
<th>Service Category</th>
<th>From</th>
<th>To</th>
<th colspan = "2">Action</th>
</tr>
{% for perm in perms %}
<tr>
{% if perm.approved == 2 %}
<td>{{perm.id}}</a></td>
<td>Rejected</td>
<td> {{perm.last_name}} </td>
<td>{{perm.first_name}}</td>
<td>{{perm.service_category}}</td>
<td> {{perm.to_date}}</td>
<td>{{perm.from_date}}</td>
<td><button class ="btn btn-danger" disabled="disabled">Declined</button></td>
{% endif %}
</tr>
{% endfor %}