-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
115 lines (107 loc) · 2.23 KB
/
index.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
<!DOCTYPE html>
<html>
<head>
<title>NHS Roll Call</title>
<script type="text/javascript" src="calendar/calendar.js"></script>
<link rel="stylesheet" href="calendar/calendar.css">
<link rel="stylesheet" href="calendar/common/index.css?v=6.4.2">
<link rel="stylesheet" href="calendar/common/suite.css?v=6.4.2">
<style type="text/css">
button {
display: block;
width: 200px;
height: 40px;
border-radius: 20px;
margin: auto;
background: white;
border: 1px solid black;
margin-top: 5px;
}
.working {
background-color: teal;
color: white;
border-radius: 8px;
}
.diagnosed {
background-color: red;
color: white;
border-radius: 8px;
}
.isolating {
background-color: yellow;
color: red;
border-radius: 8px;
}
.childcare {
background-color: blue;
color: white;
border-radius: 8px;
}
.suspected {
background-color: orange;
color: white;
border-radius: 8px;
}
select.times {
overflow: hidden;
display: inline-block;
width: 250px;
border: 1px solid black;
overflow: none;
}
h1 {
text-align: center;
}
select.times option {
display: block;
border-bottom: 1px solid black;
width: 250px;
box-sizing: border-box;
}
.nhs-logo {
display: block;
margin: auto;
width: 70%;
}
</style>
</head>
<body>
<div id="app">
<img src="static/images/NHS-Logo.svg" class="nhs-logo" alt="NHS Logo" />
<router-view></router-view>
</div>
<!-- <div id="app">
<router-link to="/foo">Go to Foo</router-link>
<router-link to="/bar">Go to Bar</router-link>
</div>
-->
<!-- <div id="time_selector">
</div>
<table>
<thead>
<th>
<td>Date</td>
<td>From</td>
<td>To</td>
</th>
</thead>
<tbody>
<tr>
<td></td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
--> <script type="text/javascript" src="nhs-roll-call.js"></script>
<script type="text/javascript">
/*
Data format for posting availability:
timesAvailable: [
{date: 12, month: 4, year: 2020, start: "10:00", duration: "08:00"},
{date: 13, month: 4, year: 2020, start: "08:00", duration: "04:00"}
]
*/
</script>
</body>
</html>