-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
165 lines (159 loc) · 6.07 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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
<!DOCTYPE html>
<html lang="da">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Tidligere valg af KBU forløb</title>
<link rel="icon" type="image/x-icon" href="favicon.ico" />
<script src="dist/maplibre-gl.js"></script>
<link href="dist/maplibre-gl.css" rel="stylesheet" />
<link href="output.css" rel="stylesheet" />
<link href="dist/daisyui.min.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="isolate bg-white px-6 py-12 sm:py-16 xl:px-32 2xl:px-64">
<div
class="absolute inset-x-0 top-[-10rem] -z-10 transform-gpu overflow-hidden blur-3xl sm:top-[-20rem]"
aria-hidden="true"
>
<div
class="relative left-1/2 -z-10 aspect-[1155/678] w-[36.125rem] max-w-none -translate-x-1/2 rotate-[30deg] bg-gradient-to-tr from-gradient-from to-gradient-to opacity-30 sm:left-[calc(50%-40rem)] sm:w-[72.1875rem]"
style="
clip-path: polygon(
74.1% 44.1%,
100% 61.6%,
97.5% 26.9%,
85.5% 0.1%,
80.7% 2%,
72.5% 32.5%,
60.2% 62.4%,
52.4% 68.1%,
47.5% 58.3%,
45.2% 34.5%,
27.5% 76.7%,
0.1% 64.9%,
17.9% 100%,
27.6% 76.8%,
76.1% 97.7%,
74.1% 44.1%
);
"
></div>
</div>
<div class="mx-auto max-w-2xl text-center">
<h2 class="text-3xl font-bold tracking-tight text-gray-900 sm:text-4xl">
Tidligere valg af KBU forløb
</h2>
<p class="mt-2 text-lg leading-8 text-gray-600">
Hvilke muligheder dit nummer havde givet dig
</p>
</div>
<div class="mx-auto mt-8 max-w-8xl sm:mt-10">
<div
class="grid grid-cols-1 gap-x-8 gap-y-4 md:grid-cols-2 lg:grid-cols-4"
>
<div>
<label
for="input-nummer"
class="block text-sm font-semibold leading-6 text-gray-900"
>Nummer</label
>
<div class="mt-2.5">
<input
id="input-nummer"
type="number"
name="input-nummer"
value="1"
min="1"
max="1000"
class="md:h-36 h-16 text-center block w-full rounded-md border-0 px-3.5 py-2 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-gradient-to text-2xl sm:leading-6"
/>
</div>
</div>
<div>
<label
for="input-year"
class="block text-sm font-semibold leading-6 text-gray-900"
>År</label
>
<div class="mt-2.5">
<select
id="input-year"
name="input-year"
multiple
class="md:h-36 h-16 block w-full rounded-md border-0 px-3.5 py-2 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-gradient-to sm:text-sm sm:leading-6"
>
<option value="3" selected>Vinteren 2023-2024</option>
<option value="2">Sommeren 2023</option>
<option value="1">Vinteren 2022-2023</option>
<option value="0">Sommeren 2022</option>
</select>
</div>
</div>
<div>
<label
for="input-speciale"
class="block text-sm font-semibold leading-6 text-gray-900"
>Speciale</label
>
<div class="mt-2.5">
<select
id="input-speciale"
name="input-speciale"
multiple
class="md:h-36 h-16 block w-full rounded-md border-0 px-3.5 py-2 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-gradient-to sm:text-sm sm:leading-6"
></select>
</div>
</div>
<div>
<label
for="input-enhed"
class="block text-sm font-semibold leading-6 text-gray-900"
>Enhed</label
>
<div class="mt-2.5">
<select
id="input-enhed"
name="input-enhed"
multiple
class="md:h-36 h-16 block w-full rounded-md border-0 px-3.5 py-2 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-gradient-to sm:text-sm sm:leading-6"
></select>
</div>
</div>
</div>
<div class="mt-10">
<button
id="input-submit"
type="button"
class="block w-full rounded-md bg-gradient-to px-3.5 py-2.5 text-center text-sm font-semibold text-white shadow-sm hover:bg-gradient-from focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-gradient-to"
>
Søg
</button>
</div>
</div>
<div class="h-96 mx-auto mt-4 sm:mt-8 rounded-md" id="map"></div>
<div class="overflow-x-auto mt-4 sm:mt-8 rounded-md">
<table class="table table-zebra">
<!-- head -->
<thead>
<tr>
<th>Nummer</th>
<th>Speciale</th>
<th>Enhed</th>
<th>Afdeling</th>
<th>Evaluering</th>
</tr>
</thead>
<tbody id="results"></tbody>
</table>
</div>
</div>
<div>
<ul class="text-gray-200" id="error"></ul>
</div>
<script type="module" src="index.js"></script>
<script type="module" src="results.js"></script>
<script type="module" src="locations.js"></script>
<script type="module" src="logging.js"></script>
</body>
</html>