-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
182 lines (163 loc) · 8.13 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
176
177
178
179
180
181
182
<!doctype html>
<html lang="en" ng-strict-di>
<head ng-controller="PageMetadata">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="/config.js"></script>
<title ng-bind-template="{{pageTitle}} {{siteTitle}}"></title>
<meta name="description" ng-attr-content="{{pageDescription}}">
<meta name="keywords" ng-attr-content="{{pageKeywords}}">
<meta name="robots" ng-attr-content="{{pageRobots}}">
<meta name="apple-itunes-app" content="app-id={{appStoreId}}, app-argument={{currentFullUrl}}>">
<link rel="manifest" href="/manifest.json">
<link rel="author" href="humans.txt" />
<base href="/">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-169186609-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-169186609-1');
</script>
<!-- Matomo -->
<script type="text/javascript">
var _paq = window._paq || [];
/* Call disableCookies before calling trackPageView */
_paq.push(['disableCookies']);
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="https://matomo.kaleidos.net/";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '16']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
})();
</script>
<!-- End Matomo Code -->
<link href="vendors~app.css" rel="stylesheet"><link href="app.css" rel="stylesheet"></head>
<!-- TODO: set layouts per view directive -->
<body ng-class="{ 'rtl-namespace' : rtlEnabled, 'ltr-namespace' : !rtlEnabled, 'modal-visible': modalVisible, 'demo-visible' : demoBarVisible }" class="{{ globalLayout }} ltr-namespace" canvas>
<div id="bootstrap-loading">
<!-- loading the document -->
<div class="loading">
<div class="line"></div>
<div class="line"></div>
<div class="line"></div>
</div>
<!-- end loading the document -->
</div>
<div id="bootstrap-error" class="hidden">
<div class="wrapper">
<main class="page-content">
<div class="alert error">
<p id="bootstrap-error-message">Sorry, something went wrong. Try reloading the page.</p>
</div>
</main>
</div>
</div>
<div id="bootstrap-app" class="hidden">
<mode-bar current-user="currentUser"></mode-bar>
<ui-view></ui-view>
<!-- TODO: fix and uncomment
<first-time-config></first-time-config>
-->
<ush-slider></ush-slider>
<ush-demo-slider></ush-demo-slider>
<ush-modal-container></ush-modal-container>
<ush-mainsheet-container></ush-mainsheet-container>
</div>
<script type="text/javascript">
if (window.ushahidi && window.ushahidi.doorbellEnabled) {
window.doorbellOptions = {
tags: ['platform'],
appKey: window.ushahidi.doorbellAppKey,
properties: {
apiUrl: window.ushahidi.apiUrl
},
onShow: function () {
injector = angular.element(document).injector();
auth = injector.get('Authentication');
session = injector.get('Session');
if (auth && session) {
doorbell.setOption('email', session.getSessionDataEntry('email'));
doorbell.setProperty('loggedIn', auth.getLoginStatus());
doorbell.setProperty('role', session.getSessionDataEntry('role'));
doorbell.setProperty('realname', session.getSessionDataEntry('realname'));
}
}
};
(function(d, t) {
var g = d.createElement(t);g.id = 'doorbellScript';g.type = 'text/javascript';g.async = true;g.src = 'https://embed.doorbell.io/button/2005?t='+(new Date().getTime());(d.getElementsByTagName('head')[0]||d.getElementsByTagName('body')[0]).appendChild(g);
}(document, 'script'));
}
</script>
<!--
Intercom integration
-->
<script type="text/javascript">
(function(){
var per_app_intercom_widget;
function getAppId() {
if (typeof window.intercomSettings !== 'undefined' &&
typeof(window.intercomSettings.app_id) !== 'undefined') {
return window.intercomSettings.app_id
} else if (typeof window.analytics !== 'undefined' &&
typeof window.analytics._integrations !== 'undefined' &&
typeof analytics._integrations.Intercom !== 'undefined' &&
typeof analytics._integrations.Intercom.options !== 'undefined' &&
typeof analytics._integrations.Intercom.options.appId !== 'undefined') {
return analytics._integrations.Intercom.options.appId;
} else {
return '';
}
}
per_app_intercom_widget = 'https://widget.intercom.io/widget/' + getAppId();
var script_tag = document.createElement('script');
script_tag.type = 'text/javascript';
script_tag.async = true;
script_tag.src = per_app_intercom_widget;
var existing_script = document.getElementsByTagName('script')[0];
existing_script.parentNode.insertBefore(script_tag, existing_script);
})();
</script>
<div ng-controller="intercom"></div>
<script>
if (window.ushahidi && window.ushahidi.gaEnabled) {
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', window.ushahidi.gaKey, 'auto');
ga('send', 'pageview');
}
</script>
<script>
if (window.ushahidi && window.ushahidi.googleMapsApiKey) {
(function(d, t, c, s) {
var g = d.createElement(t);g.id = 'mapsApi';g.type = 'text/javascript';g.async = true; g.src = 'https://maps.googleapis.com/maps/api/js?key=' + window.ushahidi.googleMapsApiKey + '&libraries=places';g.onload=c;g.onreadystatechange=c; s = d.getElementsByTagName(t)[0];s.parentNode.insertBefore(g, s);
}(document, 'script', function () {
var e = document.createElement('div');
e.style.display = 'none';
window.googlePlaces = new google.maps.places.PlacesService(e);
}));
}
</script>
<!--
Facebook sharing code
-->
<!--
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_GB/sdk.js#xfbml=1&version=v2.8";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
-->
<script type="text/javascript" src="vendors~app.f3304d4aaab80558330a.js"></script><script type="text/javascript" src="app.7b9f5a9d833c267bb2a3.js"></script></body>
</html>