blokmap/map.html

134 lines
5.9 KiB
HTML
Raw Normal View History

2014-12-09 19:54:50 +01:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
2014-12-11 20:36:15 +01:00
<title>Bloklocaties in Gent</title>
2014-12-11 10:20:19 +01:00
<meta name="apple-itunes-app" content="app-id=602640924">
<meta name="google-play-app" content="app-id=be.ugent.zeus.hydra">
2014-12-11 08:56:11 +01:00
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
2014-12-11 21:03:08 +01:00
<meta property="og:site_name" content="Zeus WPI">
2014-12-11 20:36:15 +01:00
<meta property="og:type" content="article">
<meta property="og:title" content="Bloklocaties in Gent">
2014-12-12 11:54:51 +01:00
<meta property="og:description" content="Samenhokken om te blokken? Er zijn maar liefst 4000 zitjes in Gent om dat te doen. Schamper en Zeus maakten een overzicht!">
2015-04-09 11:02:00 +02:00
<meta property="og:url" content="//zeus.ugent.be/blok/">
<meta property="og:image" content="//zeus.ugent.be/blok/share.jpg">
2014-12-11 20:36:15 +01:00
<meta name="twitter:card" content="summary">
2015-04-09 11:02:00 +02:00
<meta name="twitter:url" content="//zeus.ugent.be/blok/">
2014-12-11 20:36:15 +01:00
<meta name="twitter:title" content="Bloklocaties in Gent">
2014-12-12 11:54:51 +01:00
<meta name="twitter:description" content="Samenhokken om te blokken? Er zijn maar liefst 4000 zitjes in Gent om dat te doen. Schamper en Zeus maakten een overzicht!">
2015-04-09 11:02:00 +02:00
<meta name="twitter:image" content="//zeus.ugent.be/blok/share.jpg">
2014-12-11 20:36:15 +01:00
2015-04-09 11:02:00 +02:00
<link rel="stylesheet" href="//cdn.leafletjs.com/leaflet-0.7.3/leaflet.css" />
2014-12-09 19:54:50 +01:00
<link rel="stylesheet" href="map.css" />
<script src="http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.js"></script>
2015-04-09 11:02:00 +02:00
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
2014-12-11 18:26:15 +01:00
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/handlebars.js/2.0.0/handlebars.min.js"></script>
<script type="text/javascript" src="map.js"></script>
2014-12-09 19:54:50 +01:00
</head>
<body>
<div id="map"></div>
<script id="popup-template" type="text/x-handlebars-template">
<div id="resto-popup">
2014-12-10 17:21:02 +01:00
<h3>{{name}} ({{capacity}} pl.)</h3>
2014-12-10 15:59:49 +01:00
<img src="{{type}}.png" class="type">
2014-12-10 22:26:09 +01:00
<div class="text">Locatie: {{address}}<br />
Van {{period.start}} tot {{period.end}}
</div>
2014-12-10 15:59:49 +01:00
<h4>Openingsuren</h4>
2014-12-10 22:26:09 +01:00
<table class="desktop">
2014-12-10 17:26:06 +01:00
<tr>
<td>Maandag</td>
<td>Dinsdag</td>
<td>Woensdag</td>
<td>Donderdag</td>
<td>Vrijdag</td>
<td>Zaterdag</td>
<td>Zondag</td>
</tr>
<tr>
2014-12-11 21:03:08 +01:00
<td>{{#if hours.monday}}{{{hours.monday}}}{{else}}Gesloten{{/if}}</td>
<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>
2014-12-10 17:26:06 +01:00
</tr>
</table>
2014-12-10 22:26:09 +01:00
<table class="mobile">
2014-12-09 21:11:31 +01:00
<tr>
<td>Maandag</td>
2014-12-11 21:03:08 +01:00
<td>{{#if hours.monday}}{{{hours.monday}}}{{else}}Gesloten{{/if}}</td>
2014-12-09 21:11:31 +01:00
</tr>
<tr>
2014-12-10 15:59:49 +01:00
<td>Dinsdag</td>
2014-12-11 21:03:08 +01:00
<td>{{#if hours.tuesday}}{{{hours.tuesday}}}{{else}}Gesloten{{/if}}</td>
2014-12-10 15:59:49 +01:00
</tr>
<tr>
<td>Woensdag</td>
2014-12-11 21:03:08 +01:00
<td>{{#if hours.wednesday}}{{{hours.wednesday}}}{{else}}Gesloten{{/if}}</td>
2014-12-10 15:59:49 +01:00
</tr>
<tr>
<td>Donderdag</td>
2014-12-11 21:03:08 +01:00
<td>{{#if hours.thursday}}{{{hours.thursday}}}{{else}}Gesloten{{/if}}</td>
2014-12-10 15:59:49 +01:00
</tr><tr>
<td>Vrijdag</td>
2014-12-11 21:03:08 +01:00
<td>{{#if hours.friday}}{{{hours.friday}}}{{else}}Gesloten{{/if}}</td>
2014-12-10 15:59:49 +01:00
</tr>
<tr>
<td>Zaterdag</td>
2014-12-11 21:03:08 +01:00
<td>{{#if hours.saturday}}{{{hours.saturday}}}{{else}}Gesloten{{/if}}</td>
2014-12-10 15:59:49 +01:00
</tr>
<tr>
<td>Zondag</td>
2014-12-11 21:03:08 +01:00
<td>{{#if hours.sunday}}{{{hours.sunday}}}{{else}}Gesloten{{/if}}</td>
2014-12-09 21:11:31 +01:00
</tr>
</table>
2014-12-11 21:03:08 +01:00
{{#if extra}}{{{extra}}}{{/if}}
2014-12-09 19:54:50 +01:00
</div>
</script>
2014-12-10 14:00:57 +01:00
<script id="info-template" type="text/x-handlebars-template">
2014-12-11 21:50:17 +01:00
<a href="http://schamper.be/"><img id="schamper" src='schamper.png'></a>
2014-12-11 22:12:20 +01:00
<a href="http://zeus.ugent.be/"><img id="zeus" src='zeus.png'></a>
2014-12-10 14:00:57 +01:00
</script>
2014-12-11 18:26:15 +01:00
<script id="share-template" type="text/x-handlebars-template">
2015-04-09 11:02:00 +02:00
<div class="fb-share-button" data-href="//zeus.ugent.be/blok/" data-layout="button_count"></div>
2014-12-09 19:54:50 +01:00
</script>
2014-12-11 21:36:36 +01:00
<script id="legend-template" type="text/x-handlebars-template">
<div style="padding-top: 5px;">
2014-12-12 00:05:16 +01: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>
2014-12-11 21:36:36 +01:00
</div>
2014-12-12 00:05:16 +01:00
<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>
2014-12-11 21:36:36 +01:00
</div>
</div>
</script>
2014-12-11 18:26:15 +01:00
<!-- Facebook SDK -->
<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_US/sdk.js#xfbml=1&appId=146947948791011&version=v2.0";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<!-- Google Analytics SDK -->
2014-12-10 00:36:51 +01:00
<script>
(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', 'UA-25444917-8', 'auto');
ga('send', 'pageview');
</script>
2014-12-09 19:54:50 +01:00
</body>
</html>