Refactored out 'layout.ts'
This commit is contained in:
parent
36f5e896df
commit
73f32e0ecf
30 changed files with 465 additions and 400 deletions
|
@ -12,6 +12,7 @@
|
|||
"language": [
|
||||
"en"
|
||||
],
|
||||
"hideFromOverview": true,
|
||||
"maintainer": "",
|
||||
"icon": "./assets/layers/bike_monitoring_station/monitoring_station.svg",
|
||||
"version": "0",
|
||||
|
|
|
@ -7,6 +7,9 @@
|
|||
"shortDescription": {
|
||||
"nl": "Met deze tool kan je natuur in je buurt in kaart brengen en meer informatie geven over je favoriete plekje"
|
||||
},
|
||||
"hideFromOverview": true,
|
||||
"enableShareScreen": false,
|
||||
"enableMoreQuests": false,
|
||||
"description": {
|
||||
"nl": "<img style='float:right;margin: 1em;width: 10em;height: auto;' src='./assets/themes/buurtnatuur/groen_logo.svg' alt='logo-groen' class='logo'> <br /><b>Natuur maakt gelukkig.</b> Aan de hand van deze website willen we de natuur dicht bij ons beter inventariseren. Met als doel meer mensen te laten genieten van toegankelijke natuur én te strijden voor meer natuur in onze buurten. \n<ul><li>In welke natuurgebieden kan jij terecht? Hoe toegankelijk zijn ze?</li><li>In welke bossen kan een gezin in jouw gemeente opnieuw op adem komen?</li><li>Op welke onbekende plekjes is het zalig spelen?</li></ul><p>Samen kleuren we heel Vlaanderen en Brussel groen.</p>Blijf op de hoogte van de resultaten van buurtnatuur.be: <a href=\"https://www.groen.be/buurtnatuur\" target='_blank'>meld je aan voor e-mailupdates</a>."
|
||||
},
|
||||
|
|
|
@ -7,9 +7,9 @@
|
|||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="123"
|
||||
height="123"
|
||||
viewBox="0 0 123 123"
|
||||
width="98"
|
||||
height="98"
|
||||
viewBox="0 0 98 98"
|
||||
version="1.1"
|
||||
id="svg42"
|
||||
sodipodi:docname="logo.svg"
|
||||
|
@ -36,17 +36,17 @@
|
|||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="1680"
|
||||
inkscape:window-height="1013"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="1001"
|
||||
id="namedview44"
|
||||
showgrid="false"
|
||||
inkscape:zoom="4"
|
||||
inkscape:cx="51.676089"
|
||||
inkscape:cy="85.90359"
|
||||
inkscape:cx="-2.2900136"
|
||||
inkscape:cy="62.988337"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="0"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="layer1" />
|
||||
inkscape:current-layer="layer4" />
|
||||
<defs
|
||||
id="defs40">
|
||||
<filter
|
||||
|
@ -105,12 +105,7 @@
|
|||
id="layer4"
|
||||
inkscape:label="pin"
|
||||
style="display:inline"
|
||||
sodipodi:insensitive="true">
|
||||
<path
|
||||
d="m 66.510602,115.17875 c -1.7831,3.887 -7.3059,3.887 -9.089,0 l -30.7431,-67.009004 c -1.5196,-3.3121 0.9005,-7.085 4.5445,-7.085 h 61.4862 c 3.644,0 6.0641,3.7729 4.5445,7.085 z"
|
||||
id="path2"
|
||||
inkscape:connector-curvature="0"
|
||||
style="display:inline;fill:#e2783d" />
|
||||
transform="translate(-12.466103,-2.0847473)">
|
||||
<circle
|
||||
cx="61.466103"
|
||||
cy="51.084747"
|
||||
|
@ -122,7 +117,8 @@
|
|||
inkscape:groupmode="layer"
|
||||
id="layer1"
|
||||
inkscape:label="re"
|
||||
style="display:inline">
|
||||
style="display:inline"
|
||||
transform="translate(-12.466103,-2.0847473)">
|
||||
<rect
|
||||
style="fill:#fffcff;fill-opacity:1;stroke:#ffffff;stroke-width:3.50900006;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
||||
id="rect834"
|
||||
|
|
Before Width: | Height: | Size: 5.6 KiB After Width: | Height: | Size: 5.4 KiB |
22
assets/themes/drinking_water/drinking_water.json
Normal file
22
assets/themes/drinking_water/drinking_water.json
Normal file
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"id": "drinking_water",
|
||||
"title": {
|
||||
"en": "Drinking Water",
|
||||
"nl": "Drinkwaterpunten"
|
||||
},
|
||||
"description": {
|
||||
"en": "On this map, publicly accessible drinkging water spots are shown and can be easily added",
|
||||
"nl": "Op deze kaart staan publiek toegankelijke drinkwaterpunten en kan je makkelijk een nieuw drinkwaterpunt toevoegen",
|
||||
},
|
||||
"language": ["en", "nl"],
|
||||
"maintainer": "MapComplete",
|
||||
"icon": "./assets/themes/drinking_water/logo.svg",
|
||||
"version": "0",
|
||||
"startLat": 50.8465573,
|
||||
"defaultBackgroundId": "CartoDB.Voyager",
|
||||
"startLon": 4.3516970,
|
||||
"startZoom": 16,
|
||||
"widenFactor": 0.05,
|
||||
"layers": ["drinking_water"],
|
||||
"roamingRenderings": []
|
||||
}
|
106
assets/themes/drinking_water/logo.svg
Normal file
106
assets/themes/drinking_water/logo.svg
Normal file
|
@ -0,0 +1,106 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="98"
|
||||
height="98"
|
||||
viewBox="0 0 98 98"
|
||||
version="1.1"
|
||||
id="svg27"
|
||||
sodipodi:docname="logo.svg"
|
||||
style="fill:none"
|
||||
inkscape:version="0.92.4 (5da689c313, 2019-01-14)">
|
||||
<metadata
|
||||
id="metadata31">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<sodipodi:namedview
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="697"
|
||||
inkscape:window-height="480"
|
||||
id="namedview29"
|
||||
showgrid="false"
|
||||
inkscape:zoom="1.9032258"
|
||||
inkscape:cx="49"
|
||||
inkscape:cy="36"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="0"
|
||||
inkscape:window-maximized="0"
|
||||
inkscape:current-layer="svg27" />
|
||||
<circle
|
||||
cx="49"
|
||||
cy="49"
|
||||
r="49"
|
||||
id="circle4"
|
||||
style="fill:#6bc4f7" />
|
||||
<g
|
||||
id="g8"
|
||||
style="filter:url(#filter0_d)">
|
||||
<path
|
||||
d="M 79,41.8705 C 79,39.3976 77.4079,35.6726 74.1327,30.4823 71.8064,26.7956 69.5171,23.8005 69.4208,23.6747 69.0964,23.2513 68.5726,23 68.0144,23 c -0.5582,0 -1.0822,0.2514 -1.4066,0.6748 -0.2291,0.299 -4.7798,6.2642 -7.5136,11.694 C 54.8849,28.8794 50.9494,23.7307 50.9067,23.6748 50.5821,23.2513 50.0582,23 49.5,23 c -0.5582,0 -1.0821,0.2513 -1.4066,0.6747 -0.0466,0.061 -4.7264,6.1834 -9.3404,13.4954 -0.4943,0.7835 -0.9674,1.5491 -1.4235,2.3005 -2.3812,-3.8202 -4.8133,-7.0045 -4.9373,-7.1663 -0.3245,-0.4234 -0.8484,-0.6747 -1.4066,-0.6747 -0.5582,0 -1.082,0.2513 -1.4065,0.6747 -0.0963,0.1257 -2.3856,3.1209 -4.7119,6.8076 C 21.5921,44.3021 20,48.0271 20,50.5 c 0,5.1193 4.0504,9.3732 9.3205,10.1234 C 30.1402,70.3329 38.8775,78 49.5,78 c 11.1619,0 20.2429,-8.4653 20.2429,-18.8705 0,-1.8756 -0.5352,-4.2206 -1.598,-7.0198 C 74.1423,52.0443 79,47.4766 79,41.8705 Z M 23.457,50.5 c 0,-1.043 0.5687,-3.6947 4.3774,-9.7344 1.1411,-1.8094 2.2916,-3.4709 3.1512,-4.6727 1.172,1.6389 2.8862,4.1349 4.3885,6.7079 -3.4518,6.0994 -5.4558,10.9816 -5.9787,14.5599 C 26.0053,56.6784 23.457,53.8613 23.457,50.5 Z M 49.5,74.7773 c -9.2557,0 -16.7858,-7.0195 -16.7858,-15.6478 0,-2.7503 1.5624,-8.5056 9.0059,-20.3054 3.0174,-4.7834 6.0639,-9.0496 7.7799,-11.3887 1.713,2.3348 4.7519,6.5904 7.7673,11.3688 7.4539,11.8125 9.0184,17.5731 9.0184,20.3254 10e-5,8.6282 -7.53,15.6477 -16.7857,15.6477 z M 68.0144,48.8887 c -0.4308,0 -0.8584,-0.0338 -1.2782,-0.1008 -1.3649,-2.9346 -3.199,-6.2819 -5.4645,-9.9716 1.536,-3.812 4.8482,-8.7016 6.7432,-11.3525 0.8558,1.1963 1.9999,2.8487 3.1381,4.6524 3.8197,6.0532 4.39,8.7095 4.39,9.7543 0,3.8697 -3.3774,7.0182 -7.5286,7.0182 z"
|
||||
id="path6"
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:#ffffff" />
|
||||
</g>
|
||||
<defs
|
||||
id="defs25">
|
||||
<filter
|
||||
id="filter0_d"
|
||||
x="16"
|
||||
y="23"
|
||||
width="67"
|
||||
height="63"
|
||||
filterUnits="userSpaceOnUse"
|
||||
style="color-interpolation-filters:sRGB">
|
||||
<feFlood
|
||||
flood-opacity="0"
|
||||
result="BackgroundImageFix"
|
||||
id="feFlood10" />
|
||||
<feColorMatrix
|
||||
in="SourceAlpha"
|
||||
type="matrix"
|
||||
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
|
||||
id="feColorMatrix12" />
|
||||
<feOffset
|
||||
dy="4"
|
||||
id="feOffset14" />
|
||||
<feGaussianBlur
|
||||
stdDeviation="2"
|
||||
id="feGaussianBlur16" />
|
||||
<feColorMatrix
|
||||
type="matrix"
|
||||
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"
|
||||
id="feColorMatrix18" />
|
||||
<feBlend
|
||||
mode="normal"
|
||||
in2="BackgroundImageFix"
|
||||
result="effect1_dropShadow"
|
||||
id="feBlend20" />
|
||||
<feBlend
|
||||
mode="normal"
|
||||
in="SourceGraphic"
|
||||
in2="effect1_dropShadow"
|
||||
result="shape"
|
||||
id="feBlend22" />
|
||||
</filter>
|
||||
</defs>
|
||||
</svg>
|
After Width: | Height: | Size: 4.3 KiB |
|
@ -251,6 +251,5 @@
|
|||
"wayHandling": 1
|
||||
}
|
||||
],
|
||||
"roamingRenderings": [],
|
||||
"shortDescription": {}
|
||||
"roamingRenderings": []
|
||||
}
|
37
assets/themes/personalLayout/personalLayout.json
Normal file
37
assets/themes/personalLayout/personalLayout.json
Normal file
|
@ -0,0 +1,37 @@
|
|||
{
|
||||
"id": "personal",
|
||||
"title": {
|
||||
"en": "Personal theme",
|
||||
"nl": "Persoonlijk thema",
|
||||
"es": "Interficie personal",
|
||||
"ca": "Interfície personal",
|
||||
"gl": "Tema personalizado",
|
||||
"de": "Persönliches Thema"
|
||||
},
|
||||
"description": {
|
||||
"en": "Create a personal theme based on all the available layers of all themes",
|
||||
"es": "Crea una interficie basada en todas las capas disponibles de todas las interficies",
|
||||
"ca": "Crea una interfície basada en totes les capes disponibles de totes les interfícies",
|
||||
"gl": "Crea un tema baseado en todas as capas dispoñíbeis de todos os temas",
|
||||
"de": "Erstellen Sie ein persönliches Thema auf der Grundlage aller verfügbaren Ebenen aller Themen"
|
||||
},
|
||||
"language": [
|
||||
"en",
|
||||
"nl",
|
||||
"es",
|
||||
"ca",
|
||||
"gl",
|
||||
"de"
|
||||
],
|
||||
"maintainer": "MapComplete",
|
||||
"icon": "./assets/svg/addSmall.svg",
|
||||
"version": "0",
|
||||
"startLat": 0,
|
||||
"startLon": 0,
|
||||
"startZoom": 16,
|
||||
"widenFactor": 0.05,
|
||||
"layers": [
|
||||
"drinking_water"
|
||||
],
|
||||
"roamingRenderings": []
|
||||
}
|
|
@ -12,6 +12,15 @@
|
|||
"language": [
|
||||
"nl"
|
||||
],
|
||||
"hideFromOverview": true,
|
||||
|
||||
"enableUserBadge": false,
|
||||
"enableShareScreen":false,
|
||||
"enableMoreQuests": false,
|
||||
"enableLayers":false,
|
||||
"enableSearch": false,
|
||||
"enableGeolocation":false,
|
||||
|
||||
"maintainer": "",
|
||||
"icon": "./assets/themes/widths/icon.svg",
|
||||
"version": "0",
|
||||
|
|
|
@ -886,21 +886,6 @@
|
|||
}
|
||||
},
|
||||
"favourite": {
|
||||
"title": {
|
||||
"en": "Personal theme",
|
||||
"nl": "Persoonlijk thema",
|
||||
"es": "Interficie personal",
|
||||
"ca": "Interfície personal",
|
||||
"gl": "Tema personalizado",
|
||||
"de": "Persönliches Thema"
|
||||
},
|
||||
"description": {
|
||||
"en": "Create a personal theme based on all the available layers of all themes",
|
||||
"es": "Crea una interficie basada en todas las capas disponibles de todas las interficies",
|
||||
"ca": "Crea una interfície basada en totes les capes disponibles de totes les interfícies",
|
||||
"gl": "Crea un tema baseado en todas as capas dispoñíbeis de todos os temas",
|
||||
"de": "Erstellen Sie ein persönliches Thema auf der Grundlage aller verfügbaren Ebenen aller Themen"
|
||||
},
|
||||
"panelIntro": {
|
||||
"en": "<h3>Your personal theme</h3>Activate your favourite layers from all the official themes",
|
||||
"ca": "<h3>La teva interfície personal</h3>Activa les teves capes favorites de totes les interfícies oficials",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue