blokmap/src/index.html

128 lines
5.9 KiB
HTML
Raw Normal View History

2014-12-09 18:54:50 +00:00
<!DOCTYPE html>
2020-05-20 15:00:25 +00:00
<html lang="nl">
2014-12-09 18:54:50 +00:00
<head>
<meta charset="utf-8">
2020-05-18 18:01:08 +00:00
<title>Bloklocaties in Vlaanderen</title>
<meta name="apple-itunes-app" content="app-id=602640924">
<meta name="google-play-app" content="app-id=be.ugent.zeus.hydra">
2020-05-20 15:00:25 +00:00
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta property="og:site_name" content="Zeus WPI">
<meta property="og:type" content="article">
2020-05-18 18:01:08 +00:00
<meta property="og:title" content="Bloklocaties in Vlaanderen">
<meta property="og:description" content="Heb je nood aan een plek om te blokken? Zeus en de Gentse Studentenraad maakten een overzicht van alle beschikbare bloklocaties op één kaart.">
<meta property="og:url" content="https://blok.ugent.be">
2020-05-20 09:33:48 +00:00
<meta property="og:image" content="https://blok.ugent.be/img/share_square.png">
<meta name="twitter:card" content="summary">
2016-05-13 09:11:03 +00:00
<meta name="twitter:url" content="//blok.ugent.be">
2020-05-18 18:01:08 +00:00
<meta name="twitter:title" content="Bloklocaties in Vlaanderen">
<meta name="twitter:description" content="Heb je nood aan een plek om te blokken? Zeus en de Gentse Studentenraad maakten een overzicht van alle beschikbare bloklocaties op één kaart.">
2020-05-20 09:33:48 +00:00
<meta name="twitter:image" content="https://blok.ugent.be/img/share_square.png">
2020-05-20 14:12:27 +00:00
<link rel="stylesheet" href="css/leaflet-1.6.0.css">
<link rel="stylesheet" href="css/map.css">
2020-05-20 14:12:27 +00:00
<script type="text/javascript" src="js/leaflet-1.6.0.js"></script>
2020-05-20 14:22:08 +00:00
<script type="text/javascript" src="js/jquery-1.11.0.js"></script>
<script type="text/javascript" src="js/handlebars-2.0.0.js"></script>
<script type="text/javascript" src="js/map.js"></script>
2014-12-09 18:54:50 +00:00
</head>
<body>
<div id="map"></div>
2020-05-20 15:00:25 +00:00
<script id="popup-template" type="text/x-handlebars-template">
<div id="resto-popup">
<h3>{{name}} ({{capacity}} pl.)</h3>
<img src="img/{{type}}.png" class="type">
<div class="text">Locatie: {{address}}<br />
2015-12-02 10:51:31 +00:00
{{#if period.start}}
{{date period.start}} tot {{date period.end}}
2015-12-02 10:51:31 +00:00
{{else}}
2020-05-20 15:00:25 +00:00
Open gedurende het hele jaar.
2015-12-02 10:51:31 +00:00
{{/if}}
</div>
<h4>Openingsuren</h4>
<table class="desktop">
<tr>
<td>Maandag</td>
2020-05-20 15:00:25 +00:00
<td>Dinsdag</td>
<td>Woensdag</td>
<td>Donderdag</td>
<td>Vrijdag</td>
<td>Zaterdag</td>
<td>Zondag</td>
</tr><tr>
<td>{{#if hours.monday}}{{{hours.monday}}}{{else}}Gesloten{{/if}}</td>
2020-05-20 15:00:25 +00:00
<td>{{#if hours.tuesday}}{{{hours.tuesday}}}{{else}}Gesloten{{/if}}</td>
<td>{{#if hours.wednesday}}{{{hours.wednesday}}}{{else}}Gesloten{{/if}}</td>
<td>{{#if hours.thursday}}{{{hours.thursday}}}{{else}}Gesloten{{/if}}</td>
<td>{{#if hours.friday}}{{{hours.friday}}}{{else}}Gesloten{{/if}}</td>
<td>{{#if hours.saturday}}{{{hours.saturday}}}{{else}}Gesloten{{/if}}</td>
<td>{{#if hours.sunday}}{{{hours.sunday}}}{{else}}Gesloten{{/if}}</td>
</tr>
2020-05-20 15:00:25 +00:00
</table>
<table class="mobile">
<tr>
2020-05-20 15:00:25 +00:00
<td>Maandag</td>
<td>{{#if hours.monday}}{{{hours.monday}}}{{else}}Gesloten{{/if}}</td>
</tr><tr>
2020-05-20 15:00:25 +00:00
<td>Dinsdag</td>
<td>{{#if hours.tuesday}}{{{hours.tuesday}}}{{else}}Gesloten{{/if}}</td>
</tr><tr>
<td>Woensdag</td>
<td>{{#if hours.wednesday}}{{{hours.wednesday}}}{{else}}Gesloten{{/if}}</td>
</tr><tr>
<td>Donderdag</td>
<td>{{#if hours.thursday}}{{{hours.thursday}}}{{else}}Gesloten{{/if}}</td>
</tr><tr>
<td>Vrijdag</td>
<td>{{#if hours.friday}}{{{hours.friday}}}{{else}}Gesloten{{/if}}</td>
</tr><tr>
<td>Zaterdag</td>
<td>{{#if hours.saturday}}{{{hours.saturday}}}{{else}}Gesloten{{/if}}</td>
</tr><tr>
<td>Zondag</td>
<td>{{#if hours.sunday}}{{{hours.sunday}}}{{else}}Gesloten{{/if}}</td>
</tr>
</table>
{{#if extra}}{{{extra}}}{{/if}}
</div>
</script>
<script id="info-template" type="text/x-handlebars-template">
2020-05-20 15:33:11 +00:00
<a href="https://zeus.gent/" class="author-icon"><img src="img/zeus.png" alt="Zeus WPI"></a>
2020-05-20 14:53:32 +00:00
<a href="https://gentsestudentenraad.be/" class="author-icon"><img src="img/GSR.png" alt="Gentse Studentenraad"></a>
</script>
<script id="share-template" type="text/x-handlebars-template">
<a href="https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fblok.ugent.be%2F"><img src="img/facebook-share.svg" alt="Deel op Facebook"></a>
</script>
<script id="legend-template" type="text/x-handlebars-template">
<div style="padding-top: 5px;">
2020-05-20 15:00:25 +00:00
<div style="width: 125px; height: 18px; padding-top: 5px; padding-left: 5px;">
<div style="height: 10px; width: 10px; background: rgb(209,39,35); margin-top: -1px; margin-left: 5px;"></div>
<span style="position: absolute; left: 25px; top: 5px;">Week en weekend</span>
</div>
<div style="width: 125px; height: 18px; padding-top: 5px; padding-left: 5px;">
<div style="height: 10px; width: 10px; background: rgb(36, 126, 202); margin-top: 1px; margin-left: 5px;"></div>
<span style="position: absolute; left: 25px; top: 30px;">Enkel week</span>
</div>
<div style="width: 140px; height: 18px; padding-top: 5px; padding-left: 5px;" class="holiday">
<div style="height: 10px; width: 10px; background: rgb(121, 230, 121); margin-top: 0px; margin-left: 5px;"></div>
<span style="position: absolute; left: 25px; top: 53px;">Tijdens kerstvakantie</span>
</div>
</div>
</script>
<!-- Google Analytics SDK -->
<script>
2020-05-20 15:58:11 +00:00
(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)
2020-05-20 15:58:11 +00:00
})(window,document,"script","//www.google-analytics.com/analytics.js","ga");
2020-05-20 15:58:11 +00:00
ga("create", "UA-25444917-8", "auto");
ga("send", "pageview");
</script>
2014-12-09 18:54:50 +00:00
</body>
</html>