-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
175 lines (153 loc) · 6.81 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
166
167
168
169
170
171
172
173
174
175
<!--
@license
Can be accessed at ./LICENSE.txt
-->
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>eTools | FM</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="UNICEF Field Monitoring">
<!--
The `<base>` tag below is present to support two advanced deployment options:
1) Differential serving. 2) Serving from a non-root path.
Instead of manually editing the `<base>` tag yourself, you should generally either:
a) Add a `basePath` property to the build configuration in your `polymer.json`.
b) Use the `--base-path` command-line option for `polymer build`.
-->
<base href="/fm/">
<link rel="icon" href="assets/images/favicon.ico">
<!-- See https://goo.gl/OOhYW5 -->
<link rel="manifest" href="manifest.json">
<!-- See https://goo.gl/qRE0vM -->
<meta name="theme-color" content="#3f51b5">
<!-- Add to homescreen for Chrome on Android. Fallback for manifest.json -->
<meta name="mobile-web-app-capable" content="yes">
<meta name="application-name" content="eTools - Field Monitoring">
<!-- Add to homescreen for Safari on iOS -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta name="apple-mobile-web-app-title" content="eTools - Field Monitoring">
<!-- Homescreen icons -->
<link rel="apple-touch-icon" href="assets/images/manifest/icon-48x48.png">
<link rel="apple-touch-icon" sizes="72x72" href="assets/images/manifest/icon-72x72.png">
<link rel="apple-touch-icon" sizes="96x96" href="assets/images/manifest/icon-96x96.png">
<link rel="apple-touch-icon" sizes="144x144" href="assets/images/manifest/icon-144x144.png">
<link rel="apple-touch-icon" sizes="192x192" href="assets/images/manifest/icon-192x192.png">
<!-- Tile icon for Windows 8 (144x144 + tile color) -->
<meta name="msapplication-TileImage" content="assets/images/manifest/icon-144x144.png">
<meta name="msapplication-TileColor" content="#3f51b5">
<meta name="msapplication-tap-highlight" content="no">
<!-- Default twitter cards -->
<meta name="twitter:card" content="summary">
<meta name="twitter:site" content="@username">
<meta property="og:type" content="website">
<meta property="og:site_name" content="eTools - Field Monitoring">
<meta property="og:image" content="assets/images/manifest/icon-144x144.png" />
<!-- Performance tip: hint to the browser to start the handshake for the fonts site -->
<link rel="dns-prefetch" href="https://fonts.googleapis.com">
<link rel="dns-prefetch" href="https://fonts.gstatic.com">
<link rel="preconnect" crossorigin="anonymous" href="https://fonts.googleapis.com">
<link rel="preconnect" crossorigin="anonymous" href="https://fonts.gstatic.com">
<link rel="preload" as="style" crossorigin="anonymous" href="https://fonts.googleapis.com/css?family=Roboto+Mono:400,700|Roboto:400,300,300italic,400italic,500,500italic,700,700italic&display=swap" onload="this.onload=null;this.rel='stylesheet'">
<noscript><link rel="stylesheet" crossorigin="anonymous" href="https://fonts.googleapis.com/css?family=Roboto+Mono:400,700|Roboto:400,300,300italic,400italic,500,500italic,700,700italic&display=swap"></noscript>
<link rel="preload" href="https://cdn.jsdelivr.net/npm/@shoelace-style/[email protected]/dist/themes/light.css" as="style" onload="this.onload=null;this.rel='stylesheet'">
<noscript><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@shoelace-style/[email protected]/dist/themes/light.css"></noscript>
<link rel="preload" href="node_modules/leaflet/dist/leaflet.css" as="style" onload="this.onload=null;this.rel='stylesheet'">
<noscript><link rel="stylesheet" href="node_modules/leaflet/dist/leaflet.css"></noscript>
<link rel="preload" href="assets/css/app-theme.css" as="style" onload="this.onload=null;this.rel='stylesheet'">
<noscript><link rel="stylesheet" href="assets/css/app-theme.css"></noscript>
<script>
// Load and register pre-caching Service Worker
if ('serviceWorker' in navigator) {
window.addEventListener('load', function() {
navigator.serviceWorker.register('service-worker.js', {
scope: '/fm/'
});
});
}
// Redux assumes `process.env.NODE_ENV` exists in the ES module build.
// https://github.com/reactjs/redux/issues/2907
window.process = { env: { NODE_ENV: 'production' } };
</script>
<!-- Add any global styles for body, document, etc. -->
<style>
body {
margin: 0;
font-family: var(--sl-font-sans);
font-size: var(--etools-font-size-14, 14px);
font-weight: 400;
line-height: 1.5;
min-height: 100vh;
background-color: var(--secondary-background-color);
color: var(--primary-text-color);
-webkit-font-smoothing: antialiased;
}
* {
outline: none;
}
#loading-animation {
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
background: rgba(35,57,68, 0.15);
display: flex;
flex-direction: row;
flex: 1;
align-content: center;
justify-content: center;
}
#loading-animation img {
width: 200px;
margin: 8px;
}
#loading-animation span {
display: flex;
flex-direction: column;
align-content: center;
justify-content: center;
}
.hidden {
display: none;
}
@media print {
body {
background-color: #fff;
}
}
@page {
size: A4 portrait;
margin-top: 0.2cm;
margin-bottom: 1.2cm;
margin-left: 0.2cm;
margin-right: 0.2cm;
background-color: #fff;
}
</style>
<link rel="preload" as="image" href="./assets/images/etools-logo-color-white.svg" />
<link rel="preload" as="image" href="./assets/images/loading.svg" />
</head>
<body>
<!-- need this for leaflet -->
<div class="leaflet-tile-pane hidden"></div>
<div id="buildRevNo" style="display: none">revNo</div>
<div id="buildDate" style="display: none">bDate</div>
<app-shell>
<div id="loading-animation">
<span>
<img src="./assets/images/etools-logo-color-white.svg" alt="UNICEF Logo">
<img src="./assets/images/loading.svg" alt="loading animation">
</span>
</div>
</app-shell>
<noscript>
Please enable JavaScript to view this website.
</noscript>
<!-- Load webcomponents-loader.js to check and load any polyfills your browser needs -->
<!-- Built with love using PWA Starter Kit -->
<script type="module" src="src/app-shell.js" defer></script>
</body>
</html>