-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathemployeeViewSchedule.html
122 lines (108 loc) · 3.13 KB
/
employeeViewSchedule.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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
<!DOCTYPE html>
<!-- edited by Cecilia: will simply make it so an image can be pulled from the DB once it's able to be stored -->
<html>
<head>
<title>View Published Schedules</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<style>
h1 {
text-align: center;
width: max-content;
margin-left: auto;
margin-right: auto;
}
h2 {
text-align: center;
width: max-content;
margin-left: auto;
margin-right: auto;
}
h3 {
text-align: center;
width: max-content;
margin-left: auto;
margin-right: auto;
}
.button {
border: none;
color: black;
background-color: #FFD94F;
border-radius: 4px;
padding: 13px 25px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 20px;
margin: 4px 2px;
cursor: pointer;
width: 300px;
}
table {
border-collapse: collapse;
width: 100%;
background-color: aliceblue;
}
form {
text-align: center;
}
</style>
<link rel='stylesheet' href='style.css'>
</head>
<body>
<button class='btn' style="width:100px; height:30px; margin-top: 10px" onclick="location.href = 'mainEmployeePortalPage.html'">Home</button>
<h1 id='h1'>Schedules</h1>
<h2 style='color: white'>Choose a schedule to view</h2>
<form action="php/schedule.php" method="post">
<select name="schedule" style='padding: 7px'>
<option name="current" value="current">Current Week</option>
<option name="next" value="next">Next Week</option>
</select>
<input type="submit" value="Submit" class='btn' style='padding:7px; height:initial; margin-top: 0px; margin-left:0px; color:white; background-color:orangered'>
</form>
<h2>View Schedule</h2>
<div id="schedule" style='width:70%; margin: 5px auto; text-align:center; background-color: grey;'>
<table border="1">
<tr>
<th>Day</th>
<th>Start Time</th>
<th>End Time</th>
</tr>
<tr>
<td>Monday</td>
<td>9:00 AM</td>
<td>5:00 PM</td>
</tr>
<tr>
<td>Tuesday</td>
<td>9:00 AM</td>
<td>5:00 PM</td>
</tr>
<tr>
<td>Wednesday</td>
<td>9:00 AM</td>
<td>5:00 PM</td>
</tr>
<tr>
<td>Thursday</td>
<td>9:00 AM</td>
<td>5:00 PM</td>
</tr>
<tr>
<td>Friday</td>
<td>9:00 AM</td>
<td>5:00 PM</td>
</tr>
<tr>
<td>Saturday</td>
<td>9:00 AM</td>
<td>5:00 PM</td>
</tr>
<tr>
<td>Sunday</td>
<td>9:00 AM</td>
<td>5:00 PM</td>
</tr>
</table>
</div>
</body>
</html>