-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
83 lines (75 loc) · 3.19 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Ett Bättre Helsingborg - Web Application</title>
<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0">
<meta name="robots" content="noindex, nofollow">
<script src="https://helsingborgs-stad-sbf.lime-forms.se/js/ce/latest"></script>
<script src="dist/app.js"></script>
<link rel="stylesheet" type="text/css" href="assets/css/style.css" media="all">
<link rel="stylesheet" type="text/css" href="assets/css/theme.css" media="all">
<link rel="stylesheet" type="text/css" href="assets/css/animations.css" media="all">
</head>
<body>
<div class="loader"></div>
<div id="app">
<div id="header" class="hidden-app">
<div id="app-banner" class="c-notice u-display--none" aria-hidden="true">
<span class="c-notice__text">
Ladda ner Ett Bättre Helsingborg till mobilen.
</span>
<a id="app-banner-link" class="c-button c-button__filled c-button__filled--primary" target="_top" type="button" href="#getapp" aria-label="Hämta app">
<span class="c-button__label">
<span class="c-button__label-text">Hämta app</span>
</span>
</a>
</div>
<div id="toolbar" class="c-toolbar hidden-app">
<!-- Cancel button-->
<a id="cancel-button" class="c-button c-button__filled c-button__filled--primary" target="_top" type="button" href="#cancel" aria-label="Avbryt">
<span class="c-button__label">
<span class="c-button__icon">
<span class="c-icon c-icon--close"></span>
</span>
<span class="c-button__label-text">Avbryt</span>
</span>
</a>
<!-- Close button-->
<a id="close-button" class="c-button c-button__filled c-button__filled--primary u-display--none" target="_top" type="button" href="#close" aria-label="Stäng" aria-hidden="true">
<span class="c-button__label">
<span class="c-button__icon">
<span class="c-icon c-icon--close"></span>
</span>
<span class="c-button__label-text">Stäng</span>
</span>
</a>
<!-- Back button -->
<a id="back-button" class="c-button c-button__filled c-button__filled--primary u-display--none" target="_top" type="button" href="#back" aria-label="Gå till förgående" aria-hidden="true">
<span class="c-button__label">
<span class="c-button__icon">
<span class="c-icon c-icon--back"></span>
</span>
<span class="c-button__label-text">Tillbaka</span>
</span>
</a>
</div>
</div>
<!-- Template for injecting app / web specic forms. File: device.js-->
<template id="lime-form-template">
<lime-form id="lime-form" form-id=""></lime-form>
</template>
</div>
<script>
document.querySelector("html, body").style.height = "auto";
const sendMessageToParent = () => {
window.parent.postMessage({
height: document.body.clientHeight
}, '*');
};sendMessageToParent();
new ResizeObserver(() => {
sendMessageToParent();
}).observe(document.body);
</script>
</body>
</html>