forked from AndrewCawthon/COSC481W-Team3-FinalProject
-
Notifications
You must be signed in to change notification settings - Fork 0
/
adminRequests.html
93 lines (90 loc) · 3.1 KB
/
adminRequests.html
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<link rel="stylesheet" href="style.css">
<title>Availability Requests</title>
<style>
*{
text-decoration: none;
padding: 5;
}
a {
color: blue;
text-decoration: underline;
}
a:hover {
text-decoration: none;
}
header{
height: 70px;
width: 100%;
position: fixed;
display: flex;
justify-content: flex-end;
border-bottom: 1px black solid;
background-color: rgb(252, 251, 251);
}
.imgs{
display: block;
margin-left: auto;
margin-right: auto;
}
@media screen and (max-width: 480px) {}
</style>
<link rel='stylesheet' href='style.css' />
</head>
<body>
<button class='btn' style="width:100px; height:30px; margin-top: 10px;" onclick="location.href = 'welcomeToTheManagerPortalPage.html'">Home</button>
<h1 id='h1' style='width: 700px;'>Time Off Requests</h1>
<h3 style='color:white;text-align: center'>Have to submit changes before leaving page</h3>
<div id="availsPending">
<form action="/adminAvails.html" method="post" style='display: flex; justify-content: center;'>
<table id="avails" style='width:60%' class='table'>
<script>createHeader()</script>
<script>updateHeader(true)</script>
<script>createRows()</script>
<!-- will have to use JS to list all the requests with their respective available actions
will also have to remember to color code them based on status-->
<tr>
<th class='green'>Name</th>
<th class='green'>Details</th>
</tr>
<tr>
<td class='green'>Sample</td>
<td class='green'>Sample</td>
</tr>
<tr>
<td class='green'>Sample</td>
<td class='green'>Sample</td>
</tr>
<tr>
<td class='yellow'>Sample</td>
<td class='yellow'>Sample</td>
<td>
<img src="tick.png" alt="">
</td>
</tr>
<tr>
<td class='yellow'>Sample</td>
<td class='yellow'>Sample</td>
<td>
<img src="tick.png" alt="">
</td>
</tr>
<tr>
<td class='yellow'>Sample</td>
<td class='yellow'>Sample</td>
<td>
<img src="tick.png" alt="">
</td>
</tr>
</table>
<input class='btn' type="submit" value="Submit Changes" style='font-size:15px; padding:20px; height:30px; margin-top: 30px; margin-left:140px;
text-align: center; color:white; background-color: orangered'>
</form>
</div>
</body>
</html>