Merge branches 'privacy' and 'layout'

This commit is contained in:
Midgard 2020-05-20 17:09:27 +02:00
commit daf979ee0e
Signed by: midgard
GPG key ID: 511C112F1331BBB4
6 changed files with 98 additions and 849 deletions

13
.editorconfig Normal file
View file

@ -0,0 +1,13 @@
# https://editorconfig.org
root = true
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 4
[*.html]
indent_size = 2

View file

@ -2,7 +2,7 @@
A useful map that lists all the public study locations in Ghent. A useful map that lists all the public study locations in Ghent.
We usually use data from [Stad Gent](https://stad.gent/studenten/studeren/bloklocaties) and emails sent by people.. Data is managed in a separate project, [Blokdata](https://github.com/ZeusWPI/Blokdata).
## Development ## Development
@ -11,5 +11,3 @@ You can easily run the site locally by spawning a simple static file server in t
``` ```
(cd src/; python3 -m http.server) (cd src/; python3 -m http.server)
``` ```
You can also validate the JSON with `(cd src/; python -m json.tool data.json > /dev/null)`. If there are no errors, there will be no output.

View file

@ -13,9 +13,6 @@ echo "-> Pulling latest release"
# Apparently, some systems put "up to date", while others put "up-to-date" # Apparently, some systems put "up to date", while others put "up-to-date"
git pull | grep 'Already up[- ]to[- ]date.' && echo "No updates, exiting..." && exit 20 git pull | grep 'Already up[- ]to[- ]date.' && echo "No updates, exiting..." && exit 20
echo "-> Checking validity of data.json"
python -m json.tool src/data.json > /dev/null
# Create release dir and copy sources to that dir # Create release dir and copy sources to that dir
echo "-> This release will be stored in $release_dir" echo "-> This release will be stored in $release_dir"

View file

@ -1,28 +1,28 @@
html, body { html, body {
margin: 0px; margin: 0px;
padding: 0px; padding: 0px;
width: 100%; width: 100%;
height: 100%; height: 100%;
} }
#map { #map {
width: 100%; width: 100%;
height: 100%; height: 100%;
} }
.leaflet-popup-content-wrapper, .leaflet-popup-content-wrapper,
.leaflet-control-zoom { .leaflet-control-zoom {
border-radius: 0px; border-radius: 0px;
} }
.leaflet-popup-content-wrapper { .leaflet-popup-content-wrapper {
width: 600px; width: 600px;
max-height: 400px; max-height: 400px;
overflow-y:auto overflow-y: auto;
} }
.leaflet-popup-content { .leaflet-popup-content {
width:auto !important; width: auto !important;
} }
a img { a img {
@ -48,8 +48,8 @@ table {
} }
.mobile tr td:first-child { .mobile tr td:first-child {
padding: 0; padding: 0;
padding-right: 10px; padding-right: 10px;
} }
.mobile tr:nth-child(2n) { .mobile tr:nth-child(2n) {
@ -61,32 +61,29 @@ table {
font: 14px/16px Arial, Helvetica, sans-serif; font: 14px/16px Arial, Helvetica, sans-serif;
background: white; background: white;
background: rgba(255,255,255,0.0); background: rgba(255,255,255,0.0);
text-align: right;
} }
#zeus { .author-icon {
padding-left: 10px; margin-left: 10px;
}
#GSR {
float: right;
} }
.legend { .legend {
height: 52px; height: 52px;
width: 130px; width: 130px;
background-color: #fff; background-color: #fff;
box-shadow: 0 1px 5px rgba(0,0,0,0.65); box-shadow: 0 1px 5px rgba(0,0,0,0.65);
} }
.holiday-legend { .holiday-legend {
height: 72px; height: 72px;
width: 145px; width: 145px;
background-color: #fff; background-color: #fff;
box-shadow: 0 1px 5px rgba(0,0,0,0.65); box-shadow: 0 1px 5px rgba(0,0,0,0.65);
} }
.legend .holiday { .legend .holiday {
display: none; display: none;
} }
.type { .type {
@ -125,12 +122,8 @@ table {
} }
@media screen and (max-width: 800px) { @media screen and (max-width: 800px) {
.info { .author-icon {
max-width: 90px;s display: block;
}
#zeus {
width: 75px;
} }
} }

View file

@ -1,746 +0,0 @@
[
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [ 3.724770, 51.045507 ]
},
"properties": {
"name": "Faculteit Letteren en Wijsbegeerte, faculteitsbibliotheek, vleugels Magnel & Loveling",
"address": "Rozier 44",
"capacity": 998,
"period": { "start": "03/01/2020", "end": "31/01/2020" },
"hours": {
"monday": "9u - 20u",
"tuesday": "9u - 20u",
"wednesday": "9u - 20u",
"thursday": "9u - 20u",
"friday": "9u - 17u",
"saturday": false,
"sunday": false
},
"extra": "<a href='https://www.ugent.be/lw/nl/diensten/bibliotheek'> Bekijk de website </a>. Vleugel Magnel bevat 660 werkplekken. De vleugel Loveling bevat 338 werkplekken.",
"type": "UGent"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [ 3.724090, 51.051192 ]
},
"properties": {
"name": "Faculteit recht en criminologie",
"address": "Universiteitstraat 4, verdieping 1",
"capacity": 324,
"period": { "start": "06/01/2020", "end": "30/01/2020" },
"hours": {
"monday": "8u30 - 22u",
"tuesday": "8u30 - 22u",
"wednesday": "8u30 - 22u",
"thursday": "8u30 - 22u",
"friday": "8u30 - 16u30",
"saturday": false,
"sunday": false
},
"extra": "Toegankelijk voor iedereen. <a href=\"http://www.ugent.be/re/nl/diensten/bibliotheek\">Bekijk de website</a> <i>Gesloten op weekends.</i>" ,
"type": "UGent"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [ 3.70700, 51.053446 ]
},
"properties": {
"name": "Faculteit Bio-Ingenieurswetenschappen, Resto Agora. (gelijkvloers gebouw E)",
"address": "Coupure 653",
"capacity": 400,
"period": { "start": "06/12/2019", "end": "31/01/2020" },
"hours": {
"monday": "9u - 19u",
"tuesday": "9u - 19u",
"wednesday": "9u - 19u",
"thursday": "9u - 19u",
"friday": "9u - 19u",
"saturday": false,
"sunday": false
},
"extra": "Toegankelijk voor alle Gentse studenten. Ook bib toegankelijk. <a href=\"http://lib.ugent.be/en/libraries/ALLW\">Ga naar de website</a>. Gesloten van 23/12 tot 03/01 en tijdens weekends.",
"type": "UGent"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [3.7014217, 51.04866]
},
"properties": {
"name": "Faculteit Psychologie en Pedagogische Wetenschappen",
"address": "Henri Dunantlaan 2",
"capacity": 132,
"period": { "start": "06/12/2019", "end": "31/01/2020" },
"hours": {
"monday": "8u30 - 19u",
"tuesday": "8u30 - 19u",
"wednesday": "8u30 - 19u",
"thursday": "8u30 - 19u",
"friday": "8u30 - 15u",
"saturday": false,
"sunday": false
},
"extra": "Gesloten tijdens het weekend.</br> <a href='https://www.ugent.be/pp/nl/diensten/faculteitsbibliotheek'>https://www.ugent.be/pp/nl/diensten/faculteitsbibliotheek</a></br><a href='https://lib.ugent.be/nl/libraries/PPW'>https://lib.ugent.be/nl/libraries/PPW</a></br><a href='https://www.facebook.com/BibFPPW'>https://www.facebook.com/BibFPPW</a>",
"type": "UGent"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [3.7245747, 51.0517789]
},
"properties": {
"name": "Faculteit Politieke en Sociale Wetenschappen",
"address": "Paddenhoek 3, 2de verdiep lokaal 007",
"capacity": 60,
"period": { "start": "02/01/2020", "end": "31/01/2020" },
"hours": {
"monday": "9u - 19u",
"tuesday": "9u - 19u",
"wednesday": "9u - 19u",
"thursday": "9u - 19u",
"friday": "9u - 19u",
"saturday": false,
"sunday": false
},
"extra": "Enkel voor studenten van de UGent. Niet drinken en eten in het lokaal.</br><i>60 plaatsen waarvan 20 plaatsen met pc.</i> <a href='http://www.ugent.be/ps/nl/diensten/pc-knooppunt/pc-klas'>Bekijk de website </a>.",
"type": "UGent"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [3.712859, 51.026039]
},
"properties": {
"name": "Faculteit Wetenschappen, Resto S5",
"address": "Krijgslaan 281 Gebouw S5",
"capacity": 400,
"period": { "start": "16/12/2019", "end": "31/01/2020" },
"hours": {
"monday": "15u - 22u",
"tuesday": "15u - 22u",
"wednesday": "15u - 22u",
"thursday": "15u - 22u",
"friday": "15u - 22u",
"saturday": "8u30 - 22u",
"sunday": "8u30 - 22u"
},
"extra": "<strong>Tijdens weekend enkel na reservatie week op voorhand:</strong> iedere zondag om 19u30 op <a href=\"http://dsa.ugent.be/blok/\">deze website</a>. Tijdens de week enkel voor UGent studenten, tijdens het weekend voor alle studenten. Doorheen de week van 8u30 tot 15u open als resto.",
"type": "UGent"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [3.727952, 51.044599]
},
"properties": {
"name": "Blok@Therminal",
"address": "Hoveniersberg 24",
"capacity": 300,
"period": { "start": "16/12/2019", "end": "31/01/2020" },
"hours": {
"monday": "8u30 - 24u",
"tuesday": "8u30 - 24u",
"wednesday": "8u30 - 24u",
"thursday": "8u30 - 24u",
"friday": "8u30 - 24u",
"saturday": "8u30 - 24u",
"sunday": "8u30 - 24u"
},
"extra": "<strong>Enkel na registratie week op voorhand:</strong> iedere zondag om 19u op <a href=\"http://dsa.ugent.be/blok/\">deze website</a>.",
"type": "UGent"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [3.728294, 51.039980]
},
"properties": {
"name": "Studentenrestaurant Kantienberg",
"address": "Stalhof 45",
"capacity": 300,
"period": { "start": "11/12/2020", "end": "26/01/2020" },
"hours": {
"monday": "8u30 - 22u",
"tuesday": "8u30 - 22u",
"wednesday": "8u30 - 22u",
"thursday": "8u30 - 22u",
"friday": "8u30 - 22u",
"saturday": "8u30 - 22u",
"sunday": "8u30 - 22u"
},
"extra": "<strong>Enkel na registratie week op voorhand:</strong> iedere zondag om 19u op <a href=\"http://dsa.ugent.be/blok/\">deze website</a>. Enkel open tijdens de kerstvakantie en de weekends. Tijdens de week enkel UGent studenten, tijdens weekends ook andere Gentse studenten.",
"type": "UGent"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [3.703135, 51.031663]
},
"properties": {
"name": "Bib Schoonmeersen",
"address": "Openleercentrum campus Schoonmeersen, Vaerwyckweg 1",
"capacity": 444,
"period": { "start": "02/01/2020", "end": "31/01/2020" },
"hours": {
"monday": "8u - 21u45",
"tuesday": "8u - 21u45",
"wednesday": "8u - 21u45",
"thursday": "8u - 21u45",
"friday": "8u - 16u45",
"saturday": false,
"sunday": false
},
"extra": "Toegankelijk voor alle Gentse studenten.</br><a href=\"https://www.facebook.com/ByBSchoonmeersen\">Bekijk hier de facebookpagina</a>.",
"type": "hogent"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [3.724287, 51.036624]
},
"properties": {
"name": "BYTES & BOOKS LEDEGANCK",
"address": "K.L. Ledeganckstraat 8",
"capacity": 110,
"period": { "start": "06/01/2020", "end": "31/01/2020" },
"hours": {
"monday": "8u15 - 17u30",
"tuesday": "8u15 - 17u30",
"wednesday": "8u15 - 17u30",
"thursday": "8u15 - 17u30",
"friday": "8u15 - 17u30",
"saturday": false,
"sunday": false
},
"extra": "Toegankelijk voor alle Gentse studenten.</br><a href=\"https://www.facebook.com/LeercentrumLerarenopleidingLedeganck\">Bekijk de website</a>",
"type": "hogent"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [3.726827, 51.019702]
},
"properties": {
"name": "BYTES & BOOKS VESALIUS",
"address": "Keramiekstraat 80",
"capacity": 58,
"period": { "start": "06/01/2020", "end": "31/01/2020" },
"hours": {
"monday": "8u15 - 17u",
"tuesday": "8u15 - 17u",
"wednesday": "8u15 - 17u",
"thursday": "8u15 - 17u",
"friday": "8u15 - 16u",
"saturday": false,
"sunday": false
},
"extra": "Toegankelijk voor alle Gentse studenten. <a href=\"https://www.facebook.com/BYBVesalius\">Website</a>",
"type": "hogent"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [3.71691, 51.04393]
},
"properties": {
"name": "Kunstenbibliotheek",
"address": "Godshuizenlaan 2A (bij STAM)",
"capacity": 80,
"period": { "start": "06/01/2020", "end": "31/01/2020" },
"hours": {
"monday": "9u - 18u",
"tuesday": "9u - 18u",
"wednesday": "9u - 18u",
"thursday": "9u - 22u",
"friday": "9u - 16u",
"saturday": false,
"sunday": false
},
"extra": "Toegankelijk voor alle Gentse studenten.</br><a href=\"https://www.facebook.com/kunstenbibliotheek\">Bekijk de website</a>",
"type": "hogent"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [3.715416, 51.042241]
},
"properties": {
"name": "BYTES & BOOKS MERCATOR",
"address": "Henleykaai 84",
"capacity": 50,
"period": { "start": "06/01/2020", "end": "31/01/2020" },
"hours": {
"monday": "8u - 21u45",
"tuesday": "8u - 21u45",
"wednesday": "8u - 21u45",
"thursday": "8u - 21u45",
"friday": "8u - 16u45",
"saturday": false,
"sunday": false
},
"extra": "Toegankelijk voor alle Gentse studenten.",
"type": "hogent"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [3.786580, 51.014401]
},
"properties": {
"name": "BYTES & BOOKS MELLE",
"address": "Brusselsesteenweg 161",
"capacity": 50,
"period": { "start": "06/01/2020", "end": "31/01/2020" },
"hours": {
"monday": "8u - 17u",
"tuesday": "8u - 17u",
"wednesday": "8u - 17u",
"thursday": "8u - 17u",
"friday": "8u - 16u",
"saturday": false,
"sunday": false
},
"extra": "Toegankelijk voor alle Gentse studenten.",
"type": "hogent"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [3.728505, 51.040832]
},
"properties": {
"name": "Mediatheek campus Kantienberg",
"address": "Voetweg 66",
"capacity": 190,
"period": { "start": "06/01/2020", "end": "31/01/2020" },
"hours": {
"monday": "8u - 18u",
"tuesday": "8u - 18u",
"wednesday": "8u - 18u",
"thursday": "8u - 18u",
"friday": "8u - 16u",
"saturday": false,
"sunday": false
},
"extra": "40 van de 190 plaatsen zijn stille plekken.",
"type": "Arteveldehogeschool"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [3.728505, 51.040832]
},
"properties": {
"name": "De Kantiene",
"address": "Voetweg 66",
"capacity": 400,
"period": { "start": "06/01/2020", "end": "31/01/2020" },
"hours": {
"monday": "8u - 21u",
"tuesday": "8u - 21u",
"wednesday": "8u - 21u",
"thursday": "8u - 21u",
"friday": "8u - 19u30",
"saturday": false,
"sunday": false
},
"extra": "Toegankelijk voor alle Gentse studenten. Geen parkeermogelijkheden op het terrein. Stilte is niet gegarandeerd. Eters krijgen voorrang. Zoals overal houden jullie de ruimte proper. Eters krijgen voorrang.",
"type": "Arteveldehogeschool"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [3.725, 51.041703]
},
"properties": {
"name": "Mediatheek campus Kattenberg",
"address": "Kattenberg 9",
"capacity": 40,
"period": { "start": "06/01/2020", "end": "31/01/2020" },
"hours": {
"monday": "8u - 18u",
"tuesday": "8u - 18u",
"wednesday": "8u - 18u",
"thursday": "8u - 18u",
"friday": "8u - 16u",
"saturday": false,
"sunday": false
},
"extra": "Enkel toegankelijk voor studenten van de Arteveldehogeschool.",
"type": "Arteveldehogeschool"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [3.724520, 51.041703]
},
"properties": {
"name": "Ontspanningsruimtes campus Kattenberg",
"address": "Kattenberg 9",
"capacity": 80,
"period": { "start": "06/01/2020", "end": "31/01/2020" },
"hours": {
"monday": "8u30 - 18u30",
"tuesday": "8u30 - 18u30",
"wednesday": "8u30 - 18u30",
"thursday": "8u30 - 18u30",
"friday": "8u30 - 18u30",
"saturday": false,
"sunday": false
},
"extra": "Enkel toegankelijk voor studenten van de Arteveldehogeschool.",
"type": "Arteveldehogeschool"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [3.668704, 51.087336]
},
"properties": {
"name": "Mediatheek campus Mariakerke",
"address": "Industrieweg 232, 9030 Mariakerke",
"capacity": 40,
"period": { "start": "06/01/2020", "end": "31/01/2020" },
"hours": {
"monday": "8u30 - 13u</br>13u30 - 17u",
"tuesday": "8u30 - 13u</br>13u30 - 17u",
"wednesday": "8u30 - 13u</br>13u30 - 17u",
"thursday": "8u30 - 13u</br>13u30 - 17u",
"friday": "8u30 - 13u</br>13u30 - 15u30",
"saturday": false,
"sunday": false
},
"extra": "Enkel toegankelijk voor studenten van de Arteveldehogeschool.",
"type": "Arteveldehogeschool"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [3.737994, 51.042897]
},
"properties": {
"name": "Ontspanningsruimte campus BPS",
"address": "Brusselsepoortstraat 93",
"capacity": 90,
"period": { "start": "06/01/2020", "end": "31/01/2020" },
"hours": {
"monday": "8u - 18u30",
"tuesday": "8u - 18u30",
"wednesday": "8u - 18u30",
"thursday": "8u - 18u30",
"friday": "8u - 18u30",
"saturday": false,
"sunday": false
},
"extra": "Enkel toegankelijk voor studenten van de Arteveldehogeschool.",
"type": "Arteveldehogeschool"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [3.735499, 51.049960]
},
"properties": {
"name": "Mediatheek campus Sint-Annaplein",
"address": "Sint-Annaplein 31",
"capacity": 40,
"period": { "start": "06/01/2020", "end": "31/01/2020" },
"hours": {
"monday": "8u45 - 17u30",
"tuesday": "8u45 - 17u30",
"wednesday": "8u45 - 17u30",
"thursday": "8u45 - 17u30",
"friday": "8u45 - 17u30",
"saturday": false,
"sunday": false
},
"extra": "Enkel toegankelijk voor studenten van de Arteveldehogeschool.",
"type": "Arteveldehogeschool"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [3.730262, 51.036897]
},
"properties": {
"name": "Ontspanningsruimte campus Stropkaai",
"address": "Stropkaai 14",
"capacity": 35,
"period": { "start": "06/01/2020", "end": "31/01/2020" },
"hours": {
"monday": "8u - 18u30",
"tuesday": "8u - 18u30",
"wednesday": "8u - 18u30",
"thursday": "8u - 18u30",
"friday": "8u - 18u30",
"saturday": false,
"sunday": false
},
"extra": "Enkel toegankelijk voor studenten van de Arteveldehogeschool.",
"type": "Arteveldehogeschool"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [3.731638, 51.041816]
},
"properties": {
"name": "Ontspanningsruimtes campus Leeuwstraat",
"address": "Leeuwstraat 1",
"capacity": 90,
"period": { "start": "06/01/2020", "end": "31/01/2020" },
"hours": {
"monday": "8u - 18u30",
"tuesday": "8u - 18u30",
"wednesday": "8u - 18u30",
"thursday": "8u - 18u30",
"friday": "8u - 18u30",
"saturday": false,
"sunday": false
},
"extra": "Enkel toegankelijk voor studenten van de Arteveldehogeschool.",
"type": "Arteveldehogeschool"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [ 3.708502, 51.060961 ]
},
"properties": {
"name": "Bibliotheek Odisee",
"address": "Gebr. Desmetstraat 1",
"capacity": 80,
"period": { "start": "06/01/2020", "end": "31/01/2020" },
"hours": {
"monday": "8u30 - 21u",
"tuesday": "8u30 - 21u",
"wednesday": "8u30 - 21u",
"thursday": "8u30 - 21u",
"friday": "8u30 - 16u30",
"saturday": false,
"sunday": false
},
"extra": "Gesloten op feestdagen en brugdagen.",
"type": "Odisee"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [ 3.728544, 51.051602 ]
},
"properties": {
"name": "Bibliotheek",
"address": "Reep 1",
"capacity": 25,
"period": { "start": "07/01/2020", "end": "31/01/2020" },
"hours": {
"monday": "10u - 18u",
"tuesday": "10u - 18u",
"wednesday": "10u - 18u",
"thursday": "10u - 18u",
"friday": "10u - 18u",
"saturday": false,
"sunday": false
},
"extra": "Toegankelijk voor iedereen. <a href=\"http://www.vlerick.com/library\">Ga naar de website</a>. Gesloten op feestdagen en brugdagen.",
"type": "vlerick"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [3.726730, 51.042146]
},
"properties": {
"name": "Sint-Pietersabdij Monnikenzolder",
"address": "Sint-Pietersplein 9",
"capacity": 60,
"period": { "start": "18/12/2019", "end": "26/01/2020" },
"hours": {
"monday": false,
"tuesday": "10u - 18u",
"wednesday": "10u - 18u",
"thursday": "10u - 18u",
"friday": "10u - 18u",
"saturday": "10u - 18u",
"sunday": "10u - 18u"
},
"extra": "Gesloten op 23,24 en 31/12 en op 1/01",
"type": "Stad Gent"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [3.728892, 51.049027]
},
"properties": {
"name": "De Krook",
"address": "Miriam Makebaplein 1",
"capacity": 260,
"period": { "start": false, "end": false },
"hours": {
"monday": "10u - 19u",
"tuesday": "10u - 19u",
"wednesday": "10u - 19u",
"thursday": "10u - 21u",
"friday": "10u - 19u",
"saturday": "10u - 19u",
"sunday": false
},
"extra": "200 plaatsen in de lees- en studiezaal op 3e verdiep.</br> 3x 20 stille werkplekken op 1e, 2e en 3e verdiep aan de kant Platteberg. </br><strong>Respecteer de voorbehouden plaatsen voor het raadplegen van de collectie. In de Kinder- en Jongerenbibliotheek (-1 en -2) zijn er geen studieplekken.</strong></br><a href=\"http://studieplekken.dekrook.be\">Bekijk studieplaatsen</a>. ",
"type": "Stad Gent"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [3.72234, 51.04744]
},
"properties": {
"name": "Rijksarchief Gent",
"address": "Bagattenstraat 43",
"capacity": 40,
"period": { "start": false, "end": false},
"hours": {
"monday": false,
"tuesday": "9u - 16u30",
"wednesday": "9u - 16u30",
"thursday": "9u - 16u30",
"friday": "9u - 16u30",
"saturday": false,
"sunday": false
},
"extra": "40 plaatsen voor studenten, geen Wi-Fi. <a href=\"http://arch.arch.be/\">Meer info</a>.",
"type": "Stad Gent"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [3.727145, 51.056998]
},
"properties": {
"name": "Bond Moyson Historische kelder",
"address": "Vrijdagsmarkt 10",
"capacity": 20,
"period": { "start": "19/08/2018", "end": "30/08/2019" },
"hours": {
"monday": "9u - 16u30",
"tuesday": "9u - 16u30",
"wednesday": "9u - 16u30",
"thursday": "9u - 16u30",
"friday": "9u - 12u30",
"saturday": false,
"sunday": false
},
"extra": "Reserveren per sessie op <a href=\"http://www.supersaas.be/schedule/Bond_Moyson/samen_studeren_bij_bond_moyson\">deze website</a>.",
"type": "Andere"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [3.72101,51.03710]
},
"properties": {
"name": "Nachtuil",
"address": "ICC Gent, Kleine Casinozaal",
"capacity": 20,
"period": { "start": "16/12/2019", "end": "07/01/2020" },
"hours": {
"monday": "19u30 - 8u",
"tuesday": "19u30 - 8u",
"wednesday": "19u30 - 8u",
"thursday": "19u30 - 8u",
"friday": "19u30 - 8u",
"saturday": "19u30 - 8u",
"sunday": "19u30 - 8u"
},
"extra": "<a href=\"https://www.facebook.com/Nachtuilgent/\">deze website</a>",
"type": "Andere"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [ 3.7192127, 51.0554202]
},
"properties": {
"name": "OVERKOP",
"address": "Drabstraat 18",
"capacity": 20,
"period": { "start": "30/12/2019", "end": "24/01/2020" },
"hours": {
"monday": "14u - 20u",
"tuesday": "14u - 20u",
"wednesday": "14u - 20u",
"thursday": "14u - 20u",
"friday": "14u - 20u",
"saturday": false,
"sunday": false
},
"extra": "Koffie, thee, water. Breakroom met pooltafel, kicker keuken, ...",
"type": "Andere"
}
}
]

View file

@ -1,11 +1,11 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="nl">
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>Bloklocaties in Vlaanderen</title> <title>Bloklocaties in Vlaanderen</title>
<meta name="apple-itunes-app" content="app-id=602640924"> <meta name="apple-itunes-app" content="app-id=602640924">
<meta name="google-play-app" content="app-id=be.ugent.zeus.hydra"> <meta name="google-play-app" content="app-id=be.ugent.zeus.hydra">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> <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:site_name" content="Zeus WPI">
<meta property="og:type" content="article"> <meta property="og:type" content="article">
@ -30,104 +30,98 @@
</head> </head>
<body> <body>
<div id="map"></div> <div id="map"></div>
<script id="popup-template" type="text/x-handlebars-template"> <script id="popup-template" type="text/x-handlebars-template">
<div id="resto-popup"> <div id="resto-popup">
<h3>{{name}} ({{capacity}} pl.)</h3> <h3>{{name}} ({{capacity}} pl.)</h3>
<img src="img/{{type}}.png" class="type"> <img src="img/{{type}}.png" class="type">
<div class="text">Locatie: {{address}}<br /> <div class="text">Locatie: {{address}}<br />
{{#if period.start}} {{#if period.start}}
Van {{period.start}} tot {{period.end}} Van {{period.start}} tot {{period.end}}
{{else}} {{else}}
Open gedurende het hele jaar. Open gedurende het hele jaar.
{{/if}} {{/if}}
</div> </div>
<h4>Openingsuren</h4> <h4>Openingsuren</h4>
<table class="desktop"> <table class="desktop">
<tr> <tr>
<td>Maandag</td> <td>Maandag</td>
<td>Dinsdag</td> <td>Dinsdag</td>
<td>Woensdag</td> <td>Woensdag</td>
<td>Donderdag</td> <td>Donderdag</td>
<td>Vrijdag</td> <td>Vrijdag</td>
<td>Zaterdag</td> <td>Zaterdag</td>
<td>Zondag</td> <td>Zondag</td>
</tr> </tr><tr>
<tr> <td>{{#if hours.monday}}{{{hours.monday}}}{{else}}Gesloten{{/if}}</td>
<td>{{#if hours.monday}}{{{hours.monday}}}{{else}}Gesloten{{/if}}</td> <td>{{#if hours.tuesday}}{{{hours.tuesday}}}{{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.wednesday}}{{{hours.wednesday}}}{{else}}Gesloten{{/if}}</td> <td>{{#if hours.thursday}}{{{hours.thursday}}}{{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.friday}}{{{hours.friday}}}{{else}}Gesloten{{/if}}</td> <td>{{#if hours.saturday}}{{{hours.saturday}}}{{else}}Gesloten{{/if}}</td>
<td>{{#if hours.saturday}}{{{hours.saturday}}}{{else}}Gesloten{{/if}}</td> <td>{{#if hours.sunday}}{{{hours.sunday}}}{{else}}Gesloten{{/if}}</td>
<td>{{#if hours.sunday}}{{{hours.sunday}}}{{else}}Gesloten{{/if}}</td> </tr>
</tr>
</table> </table>
<table class="mobile"> <table class="mobile">
<tr> <tr>
<td>Maandag</td> <td>Maandag</td>
<td>{{#if hours.monday}}{{{hours.monday}}}{{else}}Gesloten{{/if}}</td> <td>{{#if hours.monday}}{{{hours.monday}}}{{else}}Gesloten{{/if}}</td>
</tr>
<tr>
<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> </tr><tr>
<td>Vrijdag</td> <td>Dinsdag</td>
<td>{{#if hours.friday}}{{{hours.friday}}}{{else}}Gesloten{{/if}}</td> <td>{{#if hours.tuesday}}{{{hours.tuesday}}}{{else}}Gesloten{{/if}}</td>
</tr> </tr><tr>
<tr> <td>Woensdag</td>
<td>Zaterdag</td> <td>{{#if hours.wednesday}}{{{hours.wednesday}}}{{else}}Gesloten{{/if}}</td>
<td>{{#if hours.saturday}}{{{hours.saturday}}}{{else}}Gesloten{{/if}}</td> </tr><tr>
</tr> <td>Donderdag</td>
<tr> <td>{{#if hours.thursday}}{{{hours.thursday}}}{{else}}Gesloten{{/if}}</td>
<td>Zondag</td> </tr><tr>
<td>{{#if hours.sunday}}{{{hours.sunday}}}{{else}}Gesloten{{/if}}</td> <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> </tr>
</table> </table>
{{#if extra}}{{{extra}}}{{/if}} {{#if extra}}{{{extra}}}{{/if}}
</div> </div>
</script> </script>
<script id="info-template" type="text/x-handlebars-template"> <script id="info-template" type="text/x-handlebars-template">
<a href="http://zeus.ugent.be/"><img id="zeus" src="img/zeus.png"></a> <a href="http://zeus.ugent.be/" class="author-icon"><img src="img/zeus.png" alt="Zeus WPI"></a>
<a href="https://gentsestudentenraad.be/"><img id="GSR" src="img/GSR.png"></a> <a href="https://gentsestudentenraad.be/" class="author-icon"><img src="img/GSR.png" alt="Gentse Studentenraad"></a>
</script> </script>
<script id="share-template" type="text/x-handlebars-template"> <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> <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>
<script id="legend-template" type="text/x-handlebars-template"> <script id="legend-template" type="text/x-handlebars-template">
<div style="padding-top: 5px;"> <div style="padding-top: 5px;">
<div style="width: 125px; height: 18px; padding-top: 5px; padding-left: 5px;"> <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> <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> <span style="position: absolute; left: 25px; top: 5px;">Week en weekend</span>
</div> </div>
<div style="width: 125px; height: 18px; padding-top: 5px; padding-left: 5px;"> <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> <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> <span style="position: absolute; left: 25px; top: 30px;">Enkel week</span>
</div> </div>
<div style="width: 140px; height: 18px; padding-top: 5px; padding-left: 5px;" class="holiday"> <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> <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> <span style="position: absolute; left: 25px; top: 53px;">Tijdens kerstvakantie</span>
</div> </div>
</div> </div>
</script> </script>
<!-- Google Analytics SDK --> <!-- Google Analytics SDK -->
<script> <script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (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), (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) 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'); })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-25444917-8', 'auto');
ga('send', 'pageview');
ga('create', 'UA-25444917-8', 'auto');
ga('send', 'pageview');
</script> </script>
</body> </body>
</html> </html>