summaryrefslogtreecommitdiffstats
path: root/web/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'web/index.html')
-rw-r--r--web/index.html55
1 files changed, 51 insertions, 4 deletions
diff --git a/web/index.html b/web/index.html
index 877da14..42a61ff 100644
--- a/web/index.html
+++ b/web/index.html
@@ -14,11 +14,57 @@
14 14
15 <form name="gpx-upload-form" class="box"> 15 <form name="gpx-upload-form" class="box">
16 <div> 16 <div>
17 <label for="gpx-file">Upload een GPX-bestand:</label> 17 <label for="gpx-file">GPX-bestand:</label>
18 <input type="file" id="gpx-file-input" name="gpx-file" accept="application/gpx+xml,.gpx" autofocus /> 18 <input type="file" id="gpx-file-input" name="gpx-file" accept="application/gpx+xml,.gpx" required autofocus />
19 </div> 19 </div>
20 <fieldset>
21 <legend>Controleer werkzaamheden gepland in periode</legend>
22 <table class="borderless">
23 <tr>
24 <td>
25 <label for="check-period-begin-preset">Vanaf (incl.):</label>
26 </td>
27 <td>
28 <select name="check-period-begin-preset" id="check-period-begin-preset-select">
29 <option value="-1m">1 maand geleden</option>
30 <option value="-2w">2 weken geleden</option>
31 <option value="-1w" selected>1 week geleden</option>
32 <option value="0">nu</option>
33 <option value="+1w">over 1 week</option>
34 <option value="+2w">over 2 weken</option>
35 <option value="+1m">over 1 maand</option>
36 <option value="custom">een ander moment</option>
37 </select>
38 </td>
39 <td>
40 <input type="datetime-local" id="check-period-begin-input" name="check-period-begin" class="hidden" />
41 </td>
42 </tr>
43 <tr>
44 <td>
45 <label for="check-period-end-preset">Tot (excl.):</label>
46 </td>
47 <td>
48 <select name="check-period-end-preset" id="check-period-end-preset-select">
49 <option value="">aanpassen naar…</option>
50 <option value="-1m">1 maand geleden</option>
51 <option value="+2w">2 weken geleden</option>
52 <option value="-1w">1 week geleden</option>
53 <option value="0">nu</option>
54 <option value="+1w" selected>over 1 week</option>
55 <option value="+2w">over 2 weken</option>
56 <option value="+1m">over 1 maand</option>
57 <option value="custom">een ander moment</option>
58 </select>
59 </td>
60 <td>
61 <input type="datetime-local" id="check-period-end-input" name="check-period-end" class="hidden" />
62 </td>
63 </tr>
64 </table>
65 </fieldset>
20 <div> 66 <div>
21 <input type="submit" value="Opsturen" /> 67 <input type="submit" value="Aanvraag versturen" />
22 </div> 68 </div>
23 </form> 69 </form>
24 70
@@ -38,7 +84,7 @@
38 <dialog class="box"> 84 <dialog class="box">
39 <h3 id="dialog-title"></h3> 85 <h3 id="dialog-title"></h3>
40 <p id="dialog-message"></p> 86 <p id="dialog-message"></p>
41 <details> 87 <details id="dialog-more-info-container">
42 <summary>Meer informatie</summary> 88 <summary>Meer informatie</summary>
43 <small id="dialog-more-info"></small> 89 <small id="dialog-more-info"></small>
44 </details> 90 </details>
@@ -46,6 +92,7 @@
46 </dialog> 92 </dialog>
47 93
48 <script src="https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.9.4/leaflet.js" integrity="sha256-20nQCchB9co0qIjJZRGuk2/Z9VM+kNiyxNV1lvTlZBo=" crossorigin="anonymous" referrerpolicy="no-referrer"></script> 94 <script src="https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.9.4/leaflet.js" integrity="sha256-20nQCchB9co0qIjJZRGuk2/Z9VM+kNiyxNV1lvTlZBo=" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
95 <script src="https://cdn.jsdelivr.net/npm/[email protected]/global.min.js"></script>
49 <script src="index.js"></script> 96 <script src="index.js"></script>
50 </body> 97 </body>
51</html> 98</html>