Themes: add various services to hackerspaces and makerspaces, add icons, some fixes to make this work with expandRewrite
59
assets/layers/hackerspace/3d_printer.svg
Normal file
|
@ -0,0 +1,59 @@
|
|||
<?xml version="1.0" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
|
||||
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
|
||||
<svg version="1.0" xmlns="http://www.w3.org/2000/svg"
|
||||
width="251.000000pt" height="250.000000pt" viewBox="0 0 251.000000 250.000000"
|
||||
preserveAspectRatio="xMidYMid meet">
|
||||
|
||||
<g transform="translate(0.000000,250.000000) scale(0.100000,-0.100000)"
|
||||
fill="#000000" stroke="none">
|
||||
<path d="M1410 2282 c-48 -24 -80 -75 -80 -127 l0 -42 -73 -5 c-108 -7 -147
|
||||
-41 -147 -128 l0 -40 -321 0 c-326 0 -348 -2 -376 -39 -21 -27 -15 -79 12
|
||||
-106 l24 -25 331 0 c326 0 330 0 330 -20 0 -32 26 -74 54 -89 22 -12 25 -21
|
||||
28 -75 3 -54 5 -61 25 -64 17 -3 26 -16 40 -58 10 -33 25 -60 38 -66 11 -6 25
|
||||
-18 31 -27 18 -24 71 32 91 96 12 38 22 53 37 55 18 3 21 11 24 63 3 55 6 62
|
||||
35 80 21 13 37 36 47 63 11 33 19 42 37 42 l23 0 0 -296 c0 -192 4 -302 11
|
||||
-316 14 -26 67 -48 101 -41 14 3 37 16 50 30 21 23 23 35 28 168 4 129 7 146
|
||||
25 159 28 21 58 20 89 -5 l26 -20 0 -270 c0 -173 4 -269 10 -269 6 0 10 97 10
|
||||
271 l0 271 -29 29 c-33 32 -67 37 -110 14 -41 -21 -51 -61 -51 -200 0 -105 -2
|
||||
-124 -18 -138 -25 -23 -78 -21 -102 3 -19 19 -20 33 -20 315 l0 295 164 0
|
||||
c159 0 166 1 192 24 35 30 37 87 5 120 -20 19 -34 21 -190 24 l-169 3 -4 129
|
||||
c-3 112 -6 132 -24 157 -52 70 -132 92 -204 55z m157 -33 c43 -40 53 -78 53
|
||||
-199 l0 -110 -25 0 c-21 0 -25 5 -25 30 0 44 -24 96 -54 116 -16 10 -55 19
|
||||
-96 22 l-70 5 0 34 c0 46 24 90 63 114 43 27 117 21 154 -12z m-67 -209 c18
|
||||
-18 20 -33 20 -165 0 -178 -4 -185 -105 -185 l-65 0 0 114 c0 66 -4 117 -10
|
||||
121 -6 4 -10 -37 -10 -114 l0 -121 -67 0 c-55 0 -71 4 -90 22 -22 20 -23 28
|
||||
-23 162 0 191 -5 186 187 186 130 0 145 -2 163 -20z m-390 -190 l0 -40 -319 0
|
||||
c-277 0 -322 2 -335 16 -9 8 -16 21 -16 28 0 34 21 36 347 36 l323 0 0 -40z
|
||||
m868 11 c7 -46 -16 -51 -220 -51 l-188 0 0 40 0 40 203 -2 202 -3 3 -24z
|
||||
m-538 -261 l0 -40 -105 0 -105 0 0 40 0 40 105 0 105 0 0 -40z m-54 -96 c-3
|
||||
-9 -9 -27 -12 -40 -5 -21 -12 -25 -37 -22 -25 2 -32 10 -43 41 l-13 37 56 0
|
||||
c46 0 54 -3 49 -16z"/>
|
||||
<path d="M2035 1419 c-10 -26 -1 -504 10 -502 14 4 19 493 6 506 -7 7 -12 5
|
||||
-16 -4z"/>
|
||||
<path d="M2120 1165 c0 -163 4 -255 10 -255 6 0 10 92 10 255 0 163 -4 255
|
||||
-10 255 -6 0 -10 -92 -10 -255z"/>
|
||||
<path d="M1324 1307 c-9 -25 0 -62 16 -62 10 0 15 10 15 34 0 36 -21 54 -31
|
||||
28z"/>
|
||||
<path d="M1304 1192 c-6 -4 -16 -17 -23 -30 -10 -18 -9 -23 4 -28 21 -9 45 14
|
||||
45 42 0 25 -7 29 -26 16z"/>
|
||||
<path d="M902 1123 c2 -13 13 -18 38 -18 25 0 36 5 38 18 3 14 -4 17 -38 17
|
||||
-34 0 -41 -3 -38 -17z"/>
|
||||
<path d="M1030 1119 c0 -17 5 -20 37 -17 27 2 39 8 41 21 3 14 -4 17 -37 17
|
||||
-35 0 -41 -3 -41 -21z"/>
|
||||
<path d="M1152 1123 c2 -13 13 -18 38 -18 25 0 36 5 38 18 3 14 -4 17 -38 17
|
||||
-34 0 -41 -3 -38 -17z"/>
|
||||
<path d="M796 990 c-57 -59 -66 -73 -56 -85 11 -13 67 -15 380 -15 203 0 375
|
||||
3 384 6 29 11 16 39 -47 102 l-63 62 -265 0 -266 0 -67 -70z m609 -10 l39 -40
|
||||
-319 0 -319 0 39 40 39 40 241 0 241 0 39 -40z"/>
|
||||
<path d="M741 851 c-8 -5 -11 -16 -8 -25 6 -14 48 -16 396 -16 321 0 390 2
|
||||
394 14 13 34 -13 36 -392 36 -207 0 -382 -4 -390 -9z"/>
|
||||
<path d="M735 760 c-17 -27 18 -30 396 -30 382 0 389 0 389 20 0 20 -7 20
|
||||
-389 20 -249 0 -392 -4 -396 -10z"/>
|
||||
<path d="M734 677 c-3 -8 -4 -54 -2 -103 l3 -89 389 -3 c305 -2 391 1 398 10
|
||||
13 21 10 172 -4 186 -18 18 -777 17 -784 -1z m746 -97 l0 -60 -350 0 -350 0 0
|
||||
60 0 60 350 0 350 0 0 -60z"/>
|
||||
<path d="M580 420 c0 -7 197 -10 571 -10 377 0 568 3 564 10 -4 6 -205 10
|
||||
-571 10 -369 0 -564 -3 -564 -10z"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 3.3 KiB |
2
assets/layers/hackerspace/3d_printer.svg.license
Normal file
|
@ -0,0 +1,2 @@
|
|||
SPDX-FileCopyrightText: Verbund Offener Werkstätten
|
||||
SPDX-License-Identifier: CC-By-SA
|
57
assets/layers/hackerspace/bicycle.svg
Normal file
|
@ -0,0 +1,57 @@
|
|||
<?xml version="1.0" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
|
||||
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
|
||||
<svg version="1.0" xmlns="http://www.w3.org/2000/svg"
|
||||
width="251.000000pt" height="251.000000pt" viewBox="0 0 251.000000 251.000000"
|
||||
preserveAspectRatio="xMidYMid meet">
|
||||
|
||||
<g transform="translate(0.000000,251.000000) scale(0.100000,-0.100000)"
|
||||
fill="#000000" stroke="none">
|
||||
<path d="M734 2059 c-11 -19 9 -28 71 -31 l60 -3 38 -66 38 -67 -36 -72 c-25
|
||||
-49 -41 -70 -50 -66 -57 21 -139 29 -201 19 -175 -30 -302 -155 -333 -328 -46
|
||||
-257 191 -496 451 -454 163 26 284 139 324 302 l17 67 76 0 76 0 120 239 c65
|
||||
132 122 238 126 235 4 -2 21 -29 38 -59 l31 -54 -55 -52 c-141 -133 -166 -344
|
||||
-60 -505 88 -134 249 -202 403 -170 81 17 120 35 180 84 132 106 180 311 109
|
||||
464 -30 67 -101 147 -162 183 -95 55 -228 68 -332 31 -50 -18 -39 -28 -128
|
||||
132 -72 130 -105 167 -158 177 -52 10 -102 2 -102 -15 0 -11 15 -17 53 -21 65
|
||||
-8 96 -28 122 -79 11 -21 20 -42 20 -45 0 -3 -109 -4 -242 -3 l-242 3 -32 55
|
||||
c-18 30 -33 58 -34 63 0 4 14 7 30 7 23 0 30 4 30 20 0 19 -7 20 -119 20 -76
|
||||
0 -122 -4 -127 -11z m630 -411 c-58 -117 -107 -214 -109 -216 -1 -2 -49 79
|
||||
-105 180 -56 101 -111 198 -122 216 l-20 32 231 0 231 0 -106 -212z m-275 -20
|
||||
c61 -108 114 -203 117 -212 5 -13 -2 -16 -43 -16 l-50 0 -12 58 c-23 103 -99
|
||||
217 -175 259 -16 9 -16 13 10 66 16 31 31 54 35 49 4 -4 57 -95 118 -204z
|
||||
m-277 92 c35 -10 36 -12 26 -34 -9 -21 -14 -23 -42 -15 -17 5 -56 9 -87 9
|
||||
-208 0 -352 -209 -279 -404 81 -213 357 -262 508 -91 38 44 72 117 72 157 0
|
||||
13 8 18 26 18 26 0 27 -1 21 -45 -14 -95 -98 -204 -196 -252 -49 -25 -67 -28
|
||||
-151 -28 -84 1 -101 4 -148 28 -75 39 -124 87 -163 159 -31 59 -34 69 -34 158
|
||||
0 76 4 104 22 142 38 84 125 163 212 194 44 16 162 18 213 4z m1112 -11 c113
|
||||
-42 208 -166 222 -289 13 -119 -51 -259 -150 -327 -163 -111 -390 -68 -495 95
|
||||
-89 139 -73 314 39 436 46 49 63 56 79 29 7 -14 2 -24 -29 -51 -80 -68 -116
|
||||
-193 -85 -298 86 -298 494 -298 580 0 40 139 -23 279 -157 346 -50 24 -74 30
|
||||
-128 30 -37 0 -82 -5 -100 -11 -27 -10 -34 -9 -42 4 -14 25 -10 31 25 44 54
|
||||
20 179 16 241 -8z m-971 -73 c54 -52 95 -128 104 -191 5 -43 5 -45 -19 -45
|
||||
-22 0 -26 6 -32 41 -9 59 -41 114 -92 163 -31 30 -43 48 -38 60 10 26 29 19
|
||||
77 -28z m-147 11 c5 -4 -21 -65 -55 -136 -35 -70 -61 -133 -57 -140 5 -7 54
|
||||
-11 153 -11 l145 0 -7 -37 c-16 -91 -101 -183 -194 -210 -207 -60 -402 126
|
||||
-351 336 20 85 93 166 177 197 39 15 175 15 189 1z m1117 -17 c206 -104 198
|
||||
-408 -12 -504 -63 -28 -169 -28 -232 0 -140 65 -203 238 -136 376 28 58 79
|
||||
114 95 104 5 -3 38 -57 73 -120 36 -64 72 -117 82 -120 32 -8 19 32 -49 150
|
||||
-36 64 -64 118 -62 120 33 32 173 29 241 -6z m-1018 -47 c40 -39 85 -123 85
|
||||
-160 0 -23 -2 -23 -120 -23 -66 0 -120 2 -120 5 0 11 105 215 111 215 3 0 23
|
||||
-17 44 -37z"/>
|
||||
<path d="M765 881 c-45 -21 -97 -69 -92 -85 2 -6 43 -13 97 -16 l93 -5 26 -47
|
||||
26 -48 -26 -47 -26 -48 -98 -5 c-69 -3 -100 -9 -103 -18 -8 -24 75 -90 135
|
||||
-108 87 -25 149 -8 221 62 l56 54 179 0 180 0 47 -49 c37 -39 60 -53 106 -67
|
||||
218 -63 384 194 236 367 -46 53 -101 79 -172 79 -70 0 -124 -25 -172 -78 l-38
|
||||
-42 -187 0 -186 0 -35 41 c-20 23 -54 50 -76 60 -53 24 -139 24 -191 0z m171
|
||||
-40 c23 -10 50 -31 60 -46 48 -68 34 -65 258 -65 l204 0 37 46 c42 51 101 83
|
||||
153 84 64 0 138 -44 168 -102 18 -35 18 -131 0 -166 -66 -127 -243 -138 -321
|
||||
-20 l-25 38 -213 0 -213 0 -38 -46 c-21 -25 -54 -52 -72 -60 -53 -22 -123 -18
|
||||
-169 11 l-40 24 75 1 c41 0 80 4 86 8 6 4 26 35 45 69 l34 62 -29 57 c-42 80
|
||||
-48 84 -124 85 l-67 1 40 19 c51 24 99 24 151 0z"/>
|
||||
<path d="M1556 744 c-14 -26 -26 -54 -26 -64 0 -10 12 -38 26 -64 l26 -46 63
|
||||
0 c69 0 87 12 115 80 14 33 4 70 -32 115 -17 22 -27 25 -83 25 l-63 0 -26 -46z
|
||||
m151 -29 c16 -33 16 -37 0 -70 -15 -31 -21 -35 -56 -35 -34 0 -42 4 -60 36
|
||||
l-21 36 21 34 c18 29 26 34 60 34 35 0 41 -4 56 -35z"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 3.7 KiB |
2
assets/layers/hackerspace/bicycle.svg.license
Normal file
|
@ -0,0 +1,2 @@
|
|||
SPDX-FileCopyrightText: Verbund Offener Werkstätten
|
||||
SPDX-License-Identifier: CC-By-SA
|
64
assets/layers/hackerspace/cnc.svg
Normal file
|
@ -0,0 +1,64 @@
|
|||
<?xml version="1.0" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
|
||||
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
|
||||
<svg version="1.0" xmlns="http://www.w3.org/2000/svg"
|
||||
width="250.000000pt" height="250.000000pt" viewBox="0 0 250.000000 250.000000"
|
||||
preserveAspectRatio="xMidYMid meet">
|
||||
|
||||
<g transform="translate(0.000000,250.000000) scale(0.100000,-0.100000)"
|
||||
fill="#000000" stroke="none">
|
||||
<path d="M612 2138 c-8 -8 -9 -15 -1 -25 9 -10 113 -13 535 -13 601 0 544 11
|
||||
544 -104 l0 -66 -610 0 c-400 0 -610 -3 -610 -10 0 -7 210 -10 610 -10 l610 0
|
||||
0 -33 c0 -70 34 -67 -662 -67 -343 0 -627 -3 -631 -6 -3 -3 -3 -12 0 -20 4
|
||||
-12 64 -14 353 -14 l348 0 4 -74 c4 -79 19 -109 66 -127 19 -7 22 -16 22 -67
|
||||
0 -54 2 -60 40 -97 l40 -39 0 -311 0 -311 48 -47 c26 -26 52 -47 58 -47 5 0
|
||||
31 22 57 48 l47 48 0 310 0 310 40 39 c38 37 40 43 40 97 0 51 3 60 23 67 46
|
||||
18 61 48 65 126 4 69 6 74 32 85 42 17 50 48 50 185 0 117 -1 126 -24 152
|
||||
l-24 28 -529 3 c-401 2 -531 0 -541 -10z m988 -436 c0 -40 -5 -73 -12 -80 -17
|
||||
-17 -409 -17 -426 0 -7 7 -12 40 -12 80 l0 68 225 0 225 0 0 -68z m-80 -189
|
||||
c0 -39 -5 -52 -32 -80 -31 -32 -35 -33 -112 -33 -76 0 -82 1 -113 32 -28 27
|
||||
-33 39 -33 80 l0 48 145 0 145 0 0 -47z m-80 -196 c0 -27 -11 -43 -58 -90 -32
|
||||
-31 -61 -57 -65 -57 -4 0 -7 41 -7 90 l0 90 65 0 65 0 0 -33z m-64 -216 l-66
|
||||
-66 0 45 c0 41 5 49 63 108 l62 63 3 -42 c3 -40 0 -46 -62 -108z m7 -123 c-31
|
||||
-32 -61 -58 -65 -58 -4 0 -8 19 -8 42 0 39 6 48 63 106 l62 63 3 -47 c3 -46 1
|
||||
-49 -55 -106z m-5 -126 l-63 -61 -3 41 c-3 39 0 45 60 105 l63 64 3 -44 c3
|
||||
-42 1 -47 -60 -105z m30 -119 l-32 -33 -30 30 -30 30 59 60 60 61 3 -57 c3
|
||||
-53 1 -59 -30 -91z"/>
|
||||
<path d="M879 1449 c-11 -11 -18 -27 -15 -36 3 -8 6 -19 6 -24 0 -17 50 -30
|
||||
71 -19 28 15 35 57 14 80 -23 26 -50 25 -76 -1z m61 -14 c18 -21 5 -45 -25
|
||||
-45 -20 0 -25 5 -25 23 0 39 26 50 50 22z"/>
|
||||
<path d="M1784 1459 c-16 -21 -164 -396 -164 -416 0 -35 20 7 100 206 74 185
|
||||
92 246 64 210z"/>
|
||||
<path d="M870 1209 c0 -18 281 -374 298 -378 13 -2 14 0 6 10 -6 8 -75 96
|
||||
-153 197 -78 100 -144 182 -147 182 -2 0 -4 -5 -4 -11z"/>
|
||||
<path d="M1907 1154 c-70 -35 -125 -69 -122 -74 7 -11 265 115 265 130 0 16
|
||||
-7 13 -143 -56z"/>
|
||||
<path d="M831 996 c-15 -18 -4 -46 19 -46 28 0 45 27 30 45 -16 19 -34 19 -49
|
||||
1z"/>
|
||||
<path d="M273 924 c-11 -28 18 -34 174 -34 l153 0 5 -27 c40 -192 104 -296
|
||||
239 -384 167 -110 395 -110 562 0 135 88 199 192 239 384 l5 27 278 0 c152 0
|
||||
283 4 291 9 8 5 11 16 8 25 -6 14 -40 16 -305 16 -218 0 -301 -3 -310 -12 -7
|
||||
-7 -12 -28 -12 -47 0 -97 -57 -218 -140 -301 -187 -187 -483 -187 -670 0 -83
|
||||
83 -140 204 -140 301 0 19 -5 40 -12 47 -8 8 -64 12 -185 12 -150 0 -174 -2
|
||||
-180 -16z"/>
|
||||
<path d="M421 826 c-16 -19 -10 -66 10 -79 26 -16 68 0 75 30 4 14 2 33 -3 42
|
||||
-13 21 -66 26 -82 7z m65 -21 c7 -18 -13 -45 -33 -45 -17 0 -27 24 -19 45 7
|
||||
20 45 19 52 0z"/>
|
||||
<path d="M2040 821 c-15 -28 -12 -46 8 -64 27 -24 59 -21 78 8 15 23 15 27 0
|
||||
50 -21 31 -70 35 -86 6z m68 -29 c4 -28 -24 -41 -44 -20 -20 20 -7 50 20 46
|
||||
13 -2 22 -12 24 -26z"/>
|
||||
<path d="M870 791 c0 -10 277 -131 300 -131 29 0 -8 20 -147 79 -151 65 -153
|
||||
66 -153 52z"/>
|
||||
<path d="M1748 775 c-17 -37 3 -75 40 -75 35 0 52 16 52 50 0 34 -17 50 -52
|
||||
50 -21 0 -32 -7 -40 -25z m67 -25 c0 -18 -6 -26 -23 -28 -13 -2 -25 3 -28 12
|
||||
-10 26 4 48 28 44 17 -2 23 -10 23 -28z"/>
|
||||
<path d="M1923 633 c-19 -7 -16 -50 3 -57 19 -7 44 10 44 30 0 16 -30 33 -47
|
||||
27z"/>
|
||||
<path d="M1635 570 c-26 -29 -24 -79 4 -102 70 -56 164 39 101 102 -26 26 -81
|
||||
26 -105 0z m89 -16 c21 -20 20 -43 -1 -66 -32 -36 -83 -17 -83 32 0 14 5 31
|
||||
12 38 17 17 54 15 72 -4z"/>
|
||||
<path d="M1426 414 c-29 -29 -10 -94 27 -94 25 0 57 32 57 55 0 23 -32 55 -57
|
||||
55 -6 0 -19 -7 -27 -16z m58 -27 c8 -12 7 -21 -5 -32 -21 -21 -49 -9 -49 20 0
|
||||
36 34 44 54 12z"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 3.6 KiB |
2
assets/layers/hackerspace/cnc.svg.license
Normal file
|
@ -0,0 +1,2 @@
|
|||
SPDX-FileCopyrightText: Verbund Offener Werkstätten
|
||||
SPDX-License-Identifier: CC-By-SA
|
|
@ -243,7 +243,8 @@
|
|||
"sourceString": [
|
||||
"device-key",
|
||||
"{device-name}",
|
||||
"{negative-name}"
|
||||
"{negative-name}",
|
||||
"{icon}"
|
||||
],
|
||||
"into": [
|
||||
[
|
||||
|
@ -261,7 +262,8 @@
|
|||
"de": "3D-Drucker",
|
||||
"ca": "Impressora 3D",
|
||||
"cs": "3D-tiskárna"
|
||||
}
|
||||
},
|
||||
"./assets/layers/hackerspace/3d_printer.svg"
|
||||
],
|
||||
[
|
||||
"lasercutter",
|
||||
|
@ -278,7 +280,8 @@
|
|||
"de": "Laserschneider",
|
||||
"ca": "tallador laser",
|
||||
"cs": "laserová řezačka"
|
||||
}
|
||||
},
|
||||
"./assets/layers/hackerspace/lasercutter.svg"
|
||||
],
|
||||
[
|
||||
"cnc_drilling_machine",
|
||||
|
@ -295,7 +298,58 @@
|
|||
"de": "CNC-Fräse",
|
||||
"ca": "trepant CNC",
|
||||
"cs": "CNC vrtačka"
|
||||
}
|
||||
},
|
||||
"./assets/layers/hackerspace/cnc.svg"
|
||||
],
|
||||
[
|
||||
"media_studio",
|
||||
{
|
||||
"en": "a multimedia studio"
|
||||
},
|
||||
{
|
||||
"en": "multimedia studio"
|
||||
},
|
||||
"./assets/layers/hackerspace/media_studio.svg"
|
||||
],
|
||||
[
|
||||
"sewing_machine",
|
||||
{
|
||||
"en": "a sewing machine"
|
||||
},
|
||||
{
|
||||
"en": "sewing machine"
|
||||
},
|
||||
"./assets/layers/hackerspace/sewing_machine.svg"
|
||||
],
|
||||
[
|
||||
"workshop:wood",
|
||||
{
|
||||
"en": "a woodworking workshop"
|
||||
},
|
||||
{
|
||||
"en": "woodworking workshop"
|
||||
},
|
||||
"./assets/layers/hackerspace/woodworking.svg"
|
||||
],
|
||||
[
|
||||
"workshop:metal",
|
||||
{
|
||||
"en": "a metal workshop"
|
||||
},
|
||||
{
|
||||
"en": "meta workshop"
|
||||
},
|
||||
"./assets/layers/hackerspace/metal.svg"
|
||||
],
|
||||
[
|
||||
"bicycle:diy",
|
||||
{
|
||||
"en": "a bicycle repair workshop"
|
||||
},
|
||||
{
|
||||
"en": "bicycle repair workshop"
|
||||
},
|
||||
"./assets/layers/hackerspace/bicycle.svg"
|
||||
]
|
||||
]
|
||||
},
|
||||
|
@ -308,9 +362,11 @@
|
|||
"ca": "Hi ha {device-name} disponible a aquest espai hacker?",
|
||||
"cs": "Je {device-name} dostupné v tomto hackerspace?"
|
||||
},
|
||||
"#iconsize": "large",
|
||||
"mappings": [
|
||||
{
|
||||
"if": "service:device-key=yes",
|
||||
"icon": "{icon}",
|
||||
"then": {
|
||||
"en": "There is {device-name} available at this hackerspace",
|
||||
"nl": "Er is {device-name} beschikbaar in deze hackerspace",
|
||||
|
|
57
assets/layers/hackerspace/lasercutter.svg
Normal file
|
@ -0,0 +1,57 @@
|
|||
<?xml version="1.0" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
|
||||
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
|
||||
<svg version="1.0" xmlns="http://www.w3.org/2000/svg"
|
||||
width="251.000000pt" height="250.000000pt" viewBox="0 0 251.000000 250.000000"
|
||||
preserveAspectRatio="xMidYMid meet">
|
||||
|
||||
<g transform="translate(0.000000,250.000000) scale(0.100000,-0.100000)"
|
||||
fill="#000000" stroke="none">
|
||||
<path d="M1030 2000 l0 -60 -264 0 c-264 0 -265 0 -292 -24 -39 -33 -39 -89 0
|
||||
-122 27 -24 28 -24 292 -24 l264 0 0 -40 0 -40 40 0 40 0 0 -58 c0 -49 5 -65
|
||||
36 -112 84 -127 118 -139 175 -62 77 102 79 107 79 170 l0 61 43 3 c41 3 42 4
|
||||
45 41 l3 37 254 0 c269 0 294 4 314 47 18 39 13 63 -18 94 l-29 29 -261 0
|
||||
-260 0 -3 58 -3 57 -227 3 -228 2 0 -60z m410 -125 l0 -145 -185 0 -185 0 0
|
||||
145 0 145 185 0 185 0 0 -145z m-410 -25 l0 -40 -251 0 c-153 0 -258 4 -270
|
||||
10 -18 10 -26 50 -12 63 3 4 125 7 270 7 l263 0 0 -40z m993 18 c9 -13 7 -22
|
||||
-7 -37 -18 -20 -29 -21 -273 -21 l-253 0 0 40 0 40 261 -2 c233 -3 263 -5 272
|
||||
-20z m-663 -228 l0 -50 -105 0 -105 0 0 50 0 50 105 0 105 0 0 -50z m-20 -75
|
||||
c0 -3 -12 -23 -26 -45 -22 -32 -33 -40 -58 -40 -22 0 -35 7 -45 23 -8 12 -21
|
||||
32 -29 45 l-14 22 86 0 c47 0 86 -2 86 -5z m-73 -131 c-3 -3 -12 -4 -19 -1 -8
|
||||
3 -5 6 6 6 11 1 17 -2 13 -5z"/>
|
||||
<path d="M1120 1875 l0 -96 53 3 52 3 0 90 0 90 -52 3 -53 3 0 -96z m80 0 l0
|
||||
-75 -30 0 -30 0 0 75 0 75 30 0 30 0 0 -75z"/>
|
||||
<path d="M1248 1133 l-3 -246 -39 97 c-37 90 -51 114 -62 104 -2 -3 14 -47 36
|
||||
-98 22 -52 40 -96 40 -99 0 -3 -25 19 -55 49 -30 29 -58 51 -62 47 -4 -4 18
|
||||
-33 48 -63 61 -63 69 -63 -79 0 -94 40 -100 24 -7 -18 157 -71 151 -65 53 -65
|
||||
-52 -1 -88 -5 -88 -11 0 -6 40 -10 100 -10 l100 0 0 -56 c0 -48 -4 -59 -29
|
||||
-85 l-29 -29 -326 0 c-179 0 -326 3 -325 8 0 4 56 77 123 162 l122 155 87 3
|
||||
c79 3 87 5 87 22 0 19 -7 20 -98 20 l-99 0 -147 -190 c-89 -115 -146 -197
|
||||
-144 -208 3 -16 29 -17 331 -20 l327 -2 0 -45 0 -45 -240 0 c-153 0 -240 -4
|
||||
-240 -10 0 -7 223 -10 650 -10 427 0 650 3 650 10 0 6 -137 10 -391 10 l-390
|
||||
0 3 46 3 45 441 -1 c242 0 448 2 457 6 10 3 17 10 17 15 0 5 -59 97 -130 205
|
||||
l-131 195 -97 -3 c-78 -2 -97 -6 -97 -18 0 -12 18 -16 86 -18 l86 -3 107 -159
|
||||
c58 -88 106 -162 106 -165 0 -3 -171 -5 -379 -5 l-379 0 19 37 c11 21 19 58
|
||||
19 85 l0 48 124 0 c166 0 177 18 14 22 l-123 3 50 19 c98 38 116 47 110 56 -3
|
||||
5 -28 1 -58 -11 -29 -12 -59 -23 -67 -26 -8 -3 32 42 90 101 57 58 98 106 90
|
||||
106 -9 0 -58 -43 -110 -95 -52 -52 -95 -93 -97 -91 -2 2 12 40 32 86 20 46 33
|
||||
85 30 88 -10 10 -22 -12 -59 -98 l-35 -85 0 243 c-1 151 -5 242 -11 242 -6 0
|
||||
-11 -94 -12 -247z"/>
|
||||
<path d="M1040 1330 c0 -16 23 -60 32 -60 11 0 10 14 -4 45 -11 25 -28 34 -28
|
||||
15z"/>
|
||||
<path d="M1430 1281 c-17 -43 -7 -63 13 -24 19 36 21 53 8 53 -5 0 -14 -13
|
||||
-21 -29z"/>
|
||||
<path d="M1090 1210 c0 -16 23 -60 32 -60 11 0 10 14 -4 45 -11 25 -28 34 -28
|
||||
15z"/>
|
||||
<path d="M1377 1148 c-4 -12 -4 -24 -1 -27 6 -7 24 20 24 37 0 21 -17 13 -23
|
||||
-10z"/>
|
||||
<path d="M960 1122 c0 -14 59 -66 67 -59 3 4 -6 21 -22 37 -28 30 -45 38 -45
|
||||
22z"/>
|
||||
<path d="M1522 959 c-13 -5 -21 -13 -17 -18 7 -12 47 1 53 17 4 14 -4 14 -36
|
||||
1z"/>
|
||||
<path d="M875 830 c3 -5 26 -10 51 -10 24 0 44 5 44 10 0 6 -23 10 -51 10 -31
|
||||
0 -48 -4 -44 -10z"/>
|
||||
<path d="M1585 830 c3 -5 15 -10 25 -10 10 0 22 5 25 10 4 6 -7 10 -25 10 -18
|
||||
0 -29 -4 -25 -10z"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 3.2 KiB |
2
assets/layers/hackerspace/lasercutter.svg.license
Normal file
|
@ -0,0 +1,2 @@
|
|||
SPDX-FileCopyrightText: Verbund Offener Werkstätten
|
||||
SPDX-License-Identifier: CC-By-SA
|
82
assets/layers/hackerspace/license_info.json
Normal file
|
@ -0,0 +1,82 @@
|
|||
[
|
||||
{
|
||||
"path": "3d_printer.svg",
|
||||
"license": "CC-By-SA",
|
||||
"authors": [
|
||||
"Verbund Offener Werkstätten"
|
||||
],
|
||||
"sources": [
|
||||
"https://www.offene-werkstaetten.org/de/werkstatt-suche"
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "bicycle.svg",
|
||||
"license": "CC-By-SA",
|
||||
"authors": [
|
||||
"Verbund Offener Werkstätten"
|
||||
],
|
||||
"sources": [
|
||||
"https://www.offene-werkstaetten.org/de/werkstatt-suche"
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "cnc.svg",
|
||||
"license": "CC-By-SA",
|
||||
"authors": [
|
||||
"Verbund Offener Werkstätten"
|
||||
],
|
||||
"sources": [
|
||||
"https://www.offene-werkstaetten.org/de/werkstatt-suche"
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "lasercutter.svg",
|
||||
"license": "CC-By-SA",
|
||||
"authors": [
|
||||
"Verbund Offener Werkstätten"
|
||||
],
|
||||
"sources": [
|
||||
"https://www.offene-werkstaetten.org/de/werkstatt-suche"
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "media_studio.svg",
|
||||
"license": "CC-By-SA",
|
||||
"authors": [
|
||||
"Verbund Offener Werkstätten"
|
||||
],
|
||||
"sources": [
|
||||
"https://www.offene-werkstaetten.org/de/werkstatt-suche"
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "metal.svg",
|
||||
"license": "CC-By-SA",
|
||||
"authors": [
|
||||
"Verbund Offener Werkstätten"
|
||||
],
|
||||
"sources": [
|
||||
"https://www.offene-werkstaetten.org/de/werkstatt-suche"
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "sewing_machine.svg",
|
||||
"license": "CC-By-SA",
|
||||
"authors": [
|
||||
"Verbund Offener Werkstätten"
|
||||
],
|
||||
"sources": [
|
||||
"https://www.offene-werkstaetten.org/de/werkstatt-suche"
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "woodworking.svg",
|
||||
"license": "CC-By-SA",
|
||||
"authors": [
|
||||
"Verbund Offener Werkstätten"
|
||||
],
|
||||
"sources": [
|
||||
"https://www.offene-werkstaetten.org/de/werkstatt-suche"
|
||||
]
|
||||
}
|
||||
]
|
107
assets/layers/hackerspace/media_studio.svg
Normal file
|
@ -0,0 +1,107 @@
|
|||
<?xml version="1.0" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
|
||||
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
|
||||
<svg version="1.0" xmlns="http://www.w3.org/2000/svg"
|
||||
width="250.000000pt" height="250.000000pt" viewBox="0 0 250.000000 250.000000"
|
||||
preserveAspectRatio="xMidYMid meet">
|
||||
|
||||
<g transform="translate(0.000000,250.000000) scale(0.100000,-0.100000)"
|
||||
fill="#000000" stroke="none">
|
||||
<path d="M567 2053 c-4 -3 -7 -104 -7 -223 l0 -217 -52 -6 c-40 -5 -59 -14
|
||||
-83 -37 l-30 -30 -3 -463 c-2 -425 -1 -465 15 -497 29 -56 46 -60 265 -60
|
||||
l198 0 32 29 33 29 3 181 c3 171 4 181 23 181 15 0 19 -7 19 -39 0 -26 5 -41
|
||||
16 -45 24 -9 497 -7 512 2 9 7 12 55 10 208 l-3 199 -265 0 -265 0 -3 -37 c-3
|
||||
-30 -7 -38 -23 -38 -18 0 -19 8 -19 100 l0 100 350 0 c304 0 350 -2 350 -15 0
|
||||
-10 -10 -15 -29 -15 -51 0 -52 -8 -49 -280 l3 -252 33 -29 c29 -26 39 -29 102
|
||||
-29 l70 0 0 -60 0 -60 -55 0 c-75 0 -121 -21 -141 -64 -32 -67 -35 -66 261
|
||||
-66 205 0 265 3 266 13 7 74 -46 117 -145 117 l-56 0 0 60 0 60 63 0 c137 0
|
||||
147 22 147 327 0 255 -2 263 -61 263 l-29 0 0 88 c0 65 -4 94 -16 111 -20 28
|
||||
-72 51 -114 51 l-30 0 0 209 c0 115 -3 216 -6 225 -6 14 -72 16 -643 16 -351
|
||||
0 -641 -3 -644 -7z m1243 -238 l0 -205 -32 0 c-76 0 -138 -62 -138 -137 l0
|
||||
-33 -350 0 -350 0 0 40 c0 23 -7 55 -16 71 -24 46 -66 59 -199 59 l-115 0 0
|
||||
205 0 205 600 0 600 0 0 -205z m-936 -271 c14 -14 16 -71 16 -484 l0 -470 -24
|
||||
-15 c-21 -14 -54 -16 -211 -13 -171 3 -188 5 -201 22 -12 16 -14 99 -14 480 0
|
||||
413 2 461 17 478 14 16 35 18 209 18 162 0 195 -3 208 -16z m1086 -4 c11 -11
|
||||
20 -31 20 -45 0 -22 -4 -25 -35 -25 -19 0 -35 -4 -35 -10 0 -5 16 -10 35 -10
|
||||
32 0 35 -2 35 -29 0 -26 -4 -30 -32 -33 -18 -2 -33 -7 -33 -13 0 -5 15 -11 33
|
||||
-13 28 -3 32 -7 32 -33 0 -27 -3 -29 -35 -29 -19 0 -35 -4 -35 -10 0 -5 16
|
||||
-10 35 -10 32 0 35 -2 35 -30 0 -28 -3 -30 -35 -30 -19 0 -35 -4 -35 -10 0 -5
|
||||
16 -10 35 -10 32 0 35 -2 35 -29 0 -26 -4 -30 -32 -33 -18 -2 -33 -7 -33 -13
|
||||
0 -5 15 -11 33 -13 28 -3 32 -7 32 -33 0 -27 -3 -29 -35 -29 -19 0 -35 -4 -35
|
||||
-10 0 -5 16 -10 35 -10 31 0 35 -3 35 -25 0 -14 -9 -34 -20 -45 -18 -18 -33
|
||||
-20 -127 -20 -119 0 -143 10 -143 62 0 24 4 28 29 28 17 0 33 5 36 10 4 6 -8
|
||||
10 -29 10 -33 0 -36 2 -36 29 0 26 4 30 33 33 17 2 32 8 32 13 0 6 -15 11 -32
|
||||
13 -29 3 -33 7 -33 33 0 27 3 29 36 29 21 0 33 4 29 10 -3 6 -19 10 -36 10
|
||||
-26 0 -29 3 -29 30 0 27 3 30 29 30 17 0 33 5 36 10 4 6 -8 10 -29 10 -33 0
|
||||
-36 2 -36 29 0 26 4 30 33 33 17 2 32 8 32 13 0 6 -15 11 -32 13 -29 3 -33 7
|
||||
-33 33 0 27 3 29 36 29 21 0 33 4 29 10 -3 6 -19 10 -36 10 -25 0 -29 4 -29
|
||||
27 0 53 22 63 142 63 95 0 110 -2 128 -20z m-320 -290 c0 -47 -3 -60 -15 -60
|
||||
-12 0 -15 13 -15 60 0 47 3 60 15 60 12 0 15 -13 15 -60z m420 0 c0 -53 -2
|
||||
-60 -20 -60 -18 0 -20 7 -20 60 0 53 2 60 20 60 18 0 20 -7 20 -60z m-580
|
||||
-185 l0 -165 -230 0 -230 0 0 165 0 165 230 0 230 0 0 -165z m-500 -5 c0 -73
|
||||
-2 -80 -20 -80 -18 0 -20 7 -20 80 0 73 2 80 20 80 18 0 20 -7 20 -80z m660 8
|
||||
c0 -138 44 -178 193 -178 156 0 187 27 187 162 0 81 2 88 20 88 19 0 20 -7 20
|
||||
-145 0 -197 14 -185 -223 -185 -243 0 -227 -13 -227 181 0 126 2 149 15 149
|
||||
12 0 15 -15 15 -72z m210 -371 c0 -43 5 -78 12 -85 7 -7 42 -12 89 -12 56 0
|
||||
80 -4 89 -15 7 -9 11 -18 8 -20 -3 -3 -102 -4 -221 -3 -189 3 -215 5 -207 18
|
||||
7 11 34 16 97 20 l88 5 3 83 c3 74 5 82 22 82 18 0 20 -7 20 -73z"/>
|
||||
<path d="M700 1886 c0 -79 -2 -86 -20 -86 -18 0 -20 -7 -20 -70 l0 -70 50 0
|
||||
50 0 0 70 c0 63 -2 70 -20 70 -18 0 -20 7 -20 79 0 44 -4 83 -10 86 -6 4 -10
|
||||
-25 -10 -79z m40 -156 c0 -49 -1 -50 -30 -50 -29 0 -30 1 -30 50 0 49 1 50 30
|
||||
50 29 0 30 -1 30 -50z"/>
|
||||
<path d="M866 1963 c-3 -3 -6 -42 -6 -85 0 -71 -2 -78 -20 -78 -18 0 -20 -7
|
||||
-20 -70 l0 -70 55 0 55 0 0 70 c0 63 -2 70 -20 70 -18 0 -20 7 -20 79 0 74 -7
|
||||
100 -24 84z m44 -233 l0 -50 -35 0 -35 0 0 50 0 50 35 0 35 0 0 -50z"/>
|
||||
<path d="M990 1899 c0 -62 2 -71 20 -76 18 -5 20 -14 20 -84 0 -46 4 -79 10
|
||||
-79 6 0 10 33 10 80 0 73 2 80 20 80 18 0 20 7 20 75 l0 75 -50 0 -50 0 0 -71z
|
||||
m80 -4 c0 -54 0 -55 -30 -55 -30 0 -30 1 -30 55 0 54 0 55 30 55 30 0 30 -1
|
||||
30 -55z"/>
|
||||
<path d="M1200 1951 c0 -14 -6 -21 -20 -21 -18 0 -20 -7 -20 -75 0 -68 2 -75
|
||||
20 -75 18 0 20 -7 20 -60 0 -33 4 -60 10 -60 6 0 10 27 10 60 0 53 2 60 20 60
|
||||
18 0 20 7 20 71 0 62 -2 71 -20 76 -11 3 -20 11 -20 19 0 7 -4 16 -10 19 -5 3
|
||||
-10 -3 -10 -14z m40 -96 c0 -54 0 -55 -30 -55 -30 0 -30 1 -30 55 0 54 0 55
|
||||
30 55 30 0 30 -1 30 -55z"/>
|
||||
<path d="M1366 1963 c-3 -3 -6 -21 -6 -39 0 -23 -5 -33 -20 -37 -17 -4 -20
|
||||
-14 -20 -72 0 -58 3 -68 19 -72 14 -4 21 -15 23 -42 4 -47 22 -47 26 0 2 27 9
|
||||
38 23 42 16 4 19 14 19 72 0 58 -3 68 -20 72 -15 4 -20 14 -20 39 0 32 -11 50
|
||||
-24 37z m44 -153 l0 -50 -35 0 -35 0 0 50 0 50 35 0 35 0 0 -50z"/>
|
||||
<path d="M1490 1899 c0 -62 2 -71 20 -76 18 -5 20 -14 20 -84 0 -46 4 -79 10
|
||||
-79 6 0 10 33 10 80 0 73 2 80 20 80 18 0 20 7 20 75 l0 75 -50 0 -50 0 0 -71z
|
||||
m80 -4 c0 -54 0 -55 -30 -55 -30 0 -30 1 -30 55 0 54 0 55 30 55 30 0 30 -1
|
||||
30 -55z"/>
|
||||
<path d="M1700 1886 c0 -79 -2 -86 -20 -86 -18 0 -20 -7 -20 -70 l0 -70 50 0
|
||||
50 0 0 70 c0 63 -2 70 -20 70 -18 0 -20 7 -20 79 0 44 -4 83 -10 86 -6 4 -10
|
||||
-25 -10 -79z m40 -156 c0 -49 -1 -50 -30 -50 -29 0 -30 1 -30 50 0 49 1 50 30
|
||||
50 29 0 30 -1 30 -50z"/>
|
||||
<path d="M1002 1578 c-30 -30 -2 -88 42 -88 29 0 46 18 46 50 0 33 -17 50 -50
|
||||
50 -14 0 -31 -5 -38 -12z m66 -36 c4 -28 -24 -40 -45 -19 -21 21 -9 49 19 45
|
||||
15 -2 24 -11 26 -26z"/>
|
||||
<path d="M1171 1576 c-16 -19 -10 -66 10 -79 26 -16 68 0 75 30 4 14 2 33 -3
|
||||
42 -13 21 -66 26 -82 7z m65 -21 c7 -18 -13 -45 -33 -45 -17 0 -27 24 -19 45
|
||||
7 20 45 19 52 0z"/>
|
||||
<path d="M1336 1574 c-9 -8 -16 -21 -16 -27 0 -25 32 -57 55 -57 23 0 55 32
|
||||
55 57 0 19 -30 43 -55 43 -13 0 -31 -7 -39 -16z m68 -20 c7 -19 -10 -44 -29
|
||||
-44 -19 0 -36 25 -29 44 3 9 16 16 29 16 13 0 26 -7 29 -16z"/>
|
||||
<path d="M1502 1578 c-17 -17 -15 -54 4 -72 18 -19 55 -21 72 -4 7 7 12 24 12
|
||||
38 0 14 -5 31 -12 38 -7 7 -24 12 -38 12 -14 0 -31 -5 -38 -12z m66 -36 c4
|
||||
-28 -24 -40 -45 -19 -21 21 -9 49 19 45 15 -2 24 -11 26 -26z"/>
|
||||
<path d="M614 1496 c-3 -8 -4 -29 -2 -48 3 -32 4 -33 56 -36 l52 -3 0 50 0 51
|
||||
-50 0 c-34 0 -52 -5 -56 -14z m86 -36 c0 -27 -3 -30 -30 -30 -27 0 -30 3 -30
|
||||
30 0 27 3 30 30 30 27 0 30 -3 30 -30z"/>
|
||||
<path d="M611 1345 c-110 -34 -161 -153 -112 -261 63 -139 266 -138 335 1 72
|
||||
145 -68 308 -223 260z m127 -55 c90 -55 97 -180 12 -240 -45 -32 -89 -36 -144
|
||||
-12 -37 17 -51 30 -66 64 -25 54 -25 84 -1 128 39 75 130 102 199 60z"/>
|
||||
<path d="M625 1271 c-75 -31 -91 -141 -28 -191 26 -20 90 -29 78 -10 -3 6 -15
|
||||
10 -26 10 -11 0 -31 11 -44 25 -48 47 -21 135 45 150 17 4 28 11 24 16 -6 11
|
||||
-22 11 -49 0z"/>
|
||||
<path d="M755 1151 c-3 -17 -11 -33 -16 -36 -5 -4 -9 -13 -9 -22 0 -14 2 -14
|
||||
19 1 23 21 36 65 23 78 -6 6 -12 -1 -17 -21z"/>
|
||||
<path d="M490 750 c0 -6 65 -10 175 -10 110 0 175 4 175 10 0 6 -65 10 -175
|
||||
10 -110 0 -175 -4 -175 -10z"/>
|
||||
<path d="M495 670 c-4 -7 55 -10 169 -10 111 0 176 4 176 10 0 14 -337 14
|
||||
-345 0z"/>
|
||||
<path d="M1324 1166 c-14 -37 0 -51 51 -51 49 0 50 1 50 30 0 29 -2 30 -48 33
|
||||
-35 2 -49 -1 -53 -12z m86 -16 c0 -5 -16 -10 -35 -10 -19 0 -35 5 -35 10 0 6
|
||||
16 10 35 10 19 0 35 -4 35 -10z"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 6.8 KiB |
2
assets/layers/hackerspace/media_studio.svg.license
Normal file
|
@ -0,0 +1,2 @@
|
|||
SPDX-FileCopyrightText: Verbund Offener Werkstätten
|
||||
SPDX-License-Identifier: CC-By-SA
|
68
assets/layers/hackerspace/metal.svg
Normal file
|
@ -0,0 +1,68 @@
|
|||
<?xml version="1.0" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
|
||||
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
|
||||
<svg version="1.0" xmlns="http://www.w3.org/2000/svg"
|
||||
width="250.000000pt" height="251.000000pt" viewBox="0 0 250.000000 251.000000"
|
||||
preserveAspectRatio="xMidYMid meet">
|
||||
|
||||
<g transform="translate(0.000000,251.000000) scale(0.100000,-0.100000)"
|
||||
fill="#000000" stroke="none">
|
||||
<path d="M860 2267 c-28 -14 -390 -605 -409 -668 -16 -52 -14 -138 5 -191 29
|
||||
-87 109 -153 332 -276 l64 -35 -121 -121 c-67 -67 -121 -126 -121 -132 0 -15
|
||||
94 -104 110 -104 9 0 78 63 155 140 l140 140 185 0 c174 0 186 -1 198 -20 12
|
||||
-19 23 -20 415 -20 398 0 403 0 447 23 51 26 78 59 90 110 16 72 -16 144 -81
|
||||
182 -32 19 -52 20 -314 20 -268 0 -282 -1 -328 -22 -26 -12 -60 -31 -74 -43
|
||||
-20 -15 -40 -20 -89 -20 -54 0 -64 -3 -69 -20 -6 -18 -15 -20 -116 -20 -61 0
|
||||
-108 3 -106 8 3 4 89 145 191 315 124 205 186 317 186 335 0 17 -9 37 -22 49
|
||||
-28 25 -595 368 -623 376 -11 4 -31 1 -45 -6z m342 -218 c165 -100 302 -187
|
||||
304 -194 5 -12 -319 -560 -373 -632 -24 -33 -25 -33 -105 -33 -75 0 -84 -2
|
||||
-109 -26 -20 -20 -34 -25 -52 -20 -13 3 -86 43 -163 89 -189 114 -234 176
|
||||
-221 306 5 48 27 89 197 372 122 204 197 319 207 319 9 0 150 -82 315 -181z
|
||||
m998 -899 l0 -120 -74 0 -74 0 -11 33 c-22 65 -96 117 -166 117 -70 0 -144
|
||||
-52 -166 -117 l-11 -33 -69 0 -69 0 0 83 c0 95 4 102 80 136 41 19 65 21 303
|
||||
21 l257 0 0 -120z m95 60 c29 -57 12 -130 -39 -164 -14 -9 -28 -16 -31 -16 -3
|
||||
0 -5 54 -5 120 l0 121 30 -16 c16 -8 36 -29 45 -45z m-775 -100 l0 -80 -40 0
|
||||
-40 0 0 80 0 80 40 0 40 0 0 -80z m439 23 c26 -20 71 -79 71 -94 0 -5 -70 -9
|
||||
-155 -9 -85 0 -155 2 -155 5 0 30 58 97 100 114 36 15 108 7 139 -16z m-569
|
||||
-23 l0 -40 -197 0 -196 0 -142 -140 -141 -140 -27 27 -27 28 152 152 153 153
|
||||
212 0 213 0 0 -40z"/>
|
||||
<path d="M877 2083 c-107 -171 -197 -332 -192 -344 8 -21 460 -291 481 -287
|
||||
11 2 61 74 128 186 107 179 109 183 90 201 -29 27 -453 281 -469 281 -8 0 -25
|
||||
-17 -38 -37z m202 -105 c64 -39 122 -75 130 -81 10 -9 -40 -25 -215 -69 -126
|
||||
-32 -234 -58 -241 -58 -7 0 28 68 78 150 83 139 92 149 111 139 11 -6 73 -42
|
||||
137 -81z m216 -132 l39 -24 -39 -10 c-22 -6 -91 -23 -152 -37 -62 -15 -113
|
||||
-31 -113 -36 0 -13 9 -12 160 26 76 19 141 35 144 35 3 0 -36 -68 -85 -151
|
||||
-55 -91 -96 -148 -103 -146 -45 18 -397 242 -385 246 19 6 472 119 484 120 6
|
||||
0 28 -10 50 -23z"/>
|
||||
<path d="M911 1718 c-20 -5 -30 -13 -25 -18 10 -10 82 5 99 21 12 12 -29 10
|
||||
-74 -3z"/>
|
||||
<path d="M632 1639 c5 -16 445 -287 468 -288 30 -2 -28 38 -240 164 -118 71
|
||||
-219 130 -224 133 -5 3 -7 -1 -4 -9z"/>
|
||||
<path d="M660 1518 c14 -15 316 -198 326 -198 24 0 -20 33 -147 110 -145 89
|
||||
-214 123 -179 88z"/>
|
||||
<path d="M1720 1700 c-45 -45 -11 -120 53 -120 42 0 67 26 67 68 0 41 -31 72
|
||||
-70 72 -17 0 -39 -9 -50 -20z m81 -10 c22 -12 26 -59 7 -78 -19 -19 -66 -15
|
||||
-78 7 -14 27 -13 47 6 65 18 19 38 20 65 6z"/>
|
||||
<path d="M374 1195 c-15 -23 -15 -27 0 -50 28 -42 96 -24 96 25 0 49 -68 67
|
||||
-96 25z m66 -10 c10 -12 10 -18 0 -30 -25 -30 -61 -7 -46 30 3 8 12 15 19 15
|
||||
8 0 20 -7 27 -15z"/>
|
||||
<path d="M577 1133 c-11 -10 -8 -171 3 -178 6 -4 10 28 10 89 0 96 -1 102 -13
|
||||
89z"/>
|
||||
<path d="M367 958 c73 -73 136 -129 140 -125 9 10 -237 257 -257 257 -8 0 45
|
||||
-59 117 -132z"/>
|
||||
<path d="M1030 885 c-24 -24 -41 -48 -37 -52 8 -7 97 75 97 89 0 17 -18 6 -60
|
||||
-37z"/>
|
||||
<path d="M1256 914 c-19 -18 -21 -55 -4 -72 15 -15 61 -15 76 0 7 7 12 24 12
|
||||
38 0 14 -5 31 -12 38 -17 17 -54 15 -72 -4z m59 -34 c0 -18 -6 -26 -23 -28
|
||||
-27 -4 -40 22 -22 44 19 22 45 13 45 -16z"/>
|
||||
<path d="M1075 750 c4 -6 67 -10 156 -10 93 0 149 4 149 10 0 6 -59 10 -156
|
||||
10 -101 0 -153 -3 -149 -10z"/>
|
||||
<path d="M370 710 c0 -5 20 -10 44 -10 25 0 48 5 51 10 4 6 -13 10 -44 10 -28
|
||||
0 -51 -4 -51 -10z"/>
|
||||
<path d="M564 637 c-3 -8 -4 -45 -2 -83 l3 -69 683 -3 c619 -2 683 -1 689 14
|
||||
3 9 0 20 -8 25 -8 5 -186 9 -396 9 l-383 0 0 44 c0 82 22 76 -296 76 -230 0
|
||||
-286 -3 -290 -13z m536 -67 l0 -40 -245 0 -245 0 0 40 0 40 245 0 245 0 0 -40z"/>
|
||||
<path d="M740 420 c0 -7 168 -10 485 -10 317 0 485 3 485 10 0 7 -168 10 -485
|
||||
10 -317 0 -485 -3 -485 -10z"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 3.9 KiB |
2
assets/layers/hackerspace/metal.svg.license
Normal file
|
@ -0,0 +1,2 @@
|
|||
SPDX-FileCopyrightText: Verbund Offener Werkstätten
|
||||
SPDX-License-Identifier: CC-By-SA
|
43
assets/layers/hackerspace/sewing_machine.svg
Normal file
|
@ -0,0 +1,43 @@
|
|||
<?xml version="1.0" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
|
||||
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
|
||||
<svg version="1.0" xmlns="http://www.w3.org/2000/svg"
|
||||
width="250.000000pt" height="250.000000pt" viewBox="0 0 250.000000 250.000000"
|
||||
preserveAspectRatio="xMidYMid meet">
|
||||
|
||||
<g transform="translate(0.000000,250.000000) scale(0.100000,-0.100000)"
|
||||
fill="#000000" stroke="none">
|
||||
<path d="M1527 2144 c-4 -4 -7 -25 -7 -46 0 -31 -3 -38 -20 -38 -18 0 -20 -7
|
||||
-20 -80 l0 -80 -335 0 -335 0 0 41 c0 33 -3 40 -17 37 -13 -2 -19 -14 -21 -41
|
||||
-3 -35 -5 -37 -40 -37 -89 0 -160 -42 -193 -115 -16 -33 -19 -67 -19 -202 l0
|
||||
-163 28 -31 c24 -27 37 -33 85 -37 l56 -4 3 -37 c3 -34 5 -36 41 -39 l37 -3 0
|
||||
-60 c0 -52 2 -59 20 -59 18 0 20 7 20 60 l0 60 39 0 c41 0 51 11 51 56 0 21 5
|
||||
24 34 24 77 0 126 39 126 100 l0 30 210 0 210 0 0 -213 c0 -237 -5 -260 -70
|
||||
-304 -33 -23 -37 -23 -384 -23 -387 0 -398 -2 -458 -66 -42 -46 -48 -75 -48
|
||||
-243 0 -140 2 -160 18 -174 17 -16 81 -17 714 -17 660 0 696 1 711 18 15 17
|
||||
17 76 17 653 0 593 -2 637 -19 674 -33 73 -104 115 -193 115 l-37 0 -3 123
|
||||
c-3 100 -6 122 -18 122 -12 0 -15 -22 -18 -122 l-3 -123 -39 0 -40 0 0 64 c0
|
||||
77 -6 96 -30 96 -15 0 -20 9 -22 42 -3 39 -16 57 -31 42z m33 -184 c0 -53 -2
|
||||
-60 -20 -60 -18 0 -20 7 -20 60 0 53 2 60 20 60 18 0 20 -7 20 -60z m-818
|
||||
-247 l3 -138 48 -3 47 -3 0 140 0 141 90 0 90 0 0 -207 c0 -178 -2 -209 -17
|
||||
-225 -15 -16 -35 -18 -214 -18 l-199 0 -16 25 c-24 37 -17 319 9 358 25 39 75
|
||||
67 119 67 l37 0 3 -137z m78 52 l0 -85 -30 0 -30 0 0 85 0 85 30 0 30 0 0 -85z
|
||||
m660 -80 l0 -165 -210 0 -210 0 0 45 0 45 183 2 c113 2 182 7 182 13 0 6 -69
|
||||
11 -182 13 l-183 2 0 105 0 105 210 0 210 0 0 -165z m387 145 c70 -42 68 -23
|
||||
71 -637 l3 -553 -692 0 -692 0 5 79 c5 88 20 120 71 151 31 19 54 20 552 20
|
||||
286 0 526 4 534 9 8 5 11 16 8 25 -5 14 -27 16 -138 16 -125 0 -131 1 -117 18
|
||||
48 54 48 57 48 487 l0 405 158 0 c138 0 161 -2 189 -20z m-1047 -205 c0 -32
|
||||
-2 -35 -30 -35 -28 0 -30 3 -30 35 0 32 2 35 30 35 28 0 30 -3 30 -35z m30
|
||||
-295 c0 -18 -7 -20 -60 -20 -53 0 -60 2 -60 20 0 18 7 20 60 20 53 0 60 -2 60
|
||||
-20z m1090 -773 c0 -29 -5 -58 -12 -65 -17 -17 -1339 -17 -1356 0 -7 7 -12 36
|
||||
-12 65 l0 53 690 0 690 0 0 -53z"/>
|
||||
<path d="M1577 1634 c-4 -4 -7 -38 -7 -76 l0 -69 158 3 157 3 0 70 0 70 -151
|
||||
3 c-82 1 -153 -1 -157 -4z m283 -74 l0 -50 -135 0 -135 0 0 50 0 50 135 0 135
|
||||
0 0 -50z"/>
|
||||
<path d="M1664 1330 c-33 -13 -82 -77 -90 -115 -9 -50 19 -119 62 -151 46 -36
|
||||
100 -41 157 -16 153 68 103 294 -65 291 -24 0 -52 -4 -64 -9z m163 -53 c18
|
||||
-20 33 -46 33 -57 0 -19 -6 -20 -130 -20 -126 0 -130 1 -130 21 0 12 18 39 40
|
||||
61 39 39 42 40 97 36 49 -4 60 -9 90 -41z m33 -114 c0 -49 -73 -113 -129 -113
|
||||
-59 0 -131 60 -131 109 0 20 5 21 130 21 117 0 130 -2 130 -17z"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 2.7 KiB |
2
assets/layers/hackerspace/sewing_machine.svg.license
Normal file
|
@ -0,0 +1,2 @@
|
|||
SPDX-FileCopyrightText: Verbund Offener Werkstätten
|
||||
SPDX-License-Identifier: CC-By-SA
|
62
assets/layers/hackerspace/woodworking.svg
Normal file
|
@ -0,0 +1,62 @@
|
|||
<?xml version="1.0" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
|
||||
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
|
||||
<svg version="1.0" xmlns="http://www.w3.org/2000/svg"
|
||||
width="250.000000pt" height="251.000000pt" viewBox="0 0 250.000000 251.000000"
|
||||
preserveAspectRatio="xMidYMid meet">
|
||||
|
||||
<g transform="translate(0.000000,251.000000) scale(0.100000,-0.100000)"
|
||||
fill="#000000" stroke="none">
|
||||
<path d="M750 2120 c0 -37 36 -239 44 -247 15 -15 14 11 -5 128 -20 116 -39
|
||||
176 -39 119z"/>
|
||||
<path d="M540 2043 c0 -13 82 -133 91 -133 15 0 10 12 -32 77 -37 56 -59 77
|
||||
-59 56z"/>
|
||||
<path d="M986 2008 c-8 -13 -36 -71 -62 -130 -26 -60 -53 -108 -60 -108 -7 0
|
||||
-111 20 -230 45 -129 27 -221 42 -227 36 -5 -5 -19 -57 -32 -117 l-23 -107 26
|
||||
-56 c28 -59 34 -62 98 -48 29 5 33 3 45 -26 22 -57 35 -66 80 -56 22 5 44 7
|
||||
49 4 5 -3 16 -24 25 -48 l16 -42 -126 -280 -126 -279 3 -136 3 -135 451 -3
|
||||
c354 -2 454 1 461 10 6 7 50 99 98 205 83 183 88 191 104 173 13 -16 22 -18
|
||||
53 -11 30 7 37 6 41 -8 6 -25 389 -104 423 -89 29 14 29 13 101 364 l58 283
|
||||
-21 22 c-16 16 -63 29 -195 56 -96 20 -177 39 -182 42 -4 4 9 46 30 92 l38 85
|
||||
-3 137 -3 137 -434 0 c-238 0 -440 3 -448 6 -10 3 -21 -4 -31 -18z m399 -60
|
||||
c-7 -18 -38 -85 -68 -149 l-54 -116 -164 34 c-90 18 -167 34 -170 36 -4 1 16
|
||||
53 43 115 l51 112 188 0 188 0 -14 -32z m345 28 c0 -2 -13 -33 -30 -69 -33
|
||||
-73 -34 -77 -21 -77 5 0 25 34 45 76 l36 76 38 -7 c20 -4 38 -8 39 -9 3 -3
|
||||
-154 -357 -161 -364 -4 -3 -266 47 -274 53 -1 1 20 50 48 110 27 59 50 111 50
|
||||
117 0 26 -27 -15 -72 -113 l-51 -109 -36 6 c-20 4 -39 10 -44 13 -4 4 23 73
|
||||
60 154 l67 147 153 0 c84 0 153 -2 153 -4z m91 -301 c-39 -87 -56 -105 -84
|
||||
-88 -11 6 0 38 52 155 l66 148 3 -63 c2 -55 -2 -74 -37 -152z m-383 -73 c183
|
||||
-38 334 -71 337 -74 3 -3 -83 -437 -110 -554 -5 -24 -62 -39 -80 -22 -5 5 -12
|
||||
77 -15 161 l-5 152 -281 3 -280 2 -18 36 -17 37 -52 -7 -53 -6 -19 43 -20 42
|
||||
-52 -3 -53 -3 -16 40 c-18 46 -34 54 -87 42 l-38 -9 -19 44 c-22 49 -26 52
|
||||
-91 40 -35 -6 -37 -5 -52 32 -14 34 -14 46 -1 108 8 38 17 76 19 85 6 17 67 6
|
||||
1003 -189z m420 -91 c11 -6 1 -67 -49 -308 -61 -296 -62 -300 -85 -295 -13 2
|
||||
-24 8 -24 12 0 4 27 137 60 295 33 158 60 292 60 296 0 11 21 11 38 0z m187
|
||||
-37 c66 -14 124 -29 129 -34 12 -12 -100 -569 -117 -587 -9 -9 -42 -6 -144 16
|
||||
-73 15 -135 30 -138 33 -3 3 22 135 55 294 33 159 60 292 60 297 0 12 28 8
|
||||
155 -19z m-1237 -134 c2 -15 -40 -122 -107 -270 l-110 -245 -45 -3 -44 -3 102
|
||||
228 c57 125 112 250 124 276 19 43 25 48 49 45 21 -2 29 -9 31 -28z m91 -51
|
||||
c22 5 42 6 46 3 12 -12 3 -22 -21 -22 -19 0 -25 -4 -22 -17 3 -16 25 -18 250
|
||||
-23 l246 -5 -92 -202 -91 -203 -93 0 -92 0 13 33 c8 17 33 76 56 131 23 54 40
|
||||
101 36 104 -10 10 -21 -10 -76 -140 l-53 -128 -193 0 c-106 0 -193 3 -193 8 0
|
||||
4 46 111 102 238 89 201 105 231 120 223 10 -6 33 -6 57 0z m597 -91 c-7 -18
|
||||
-48 -111 -91 -205 l-78 -173 -44 0 c-24 0 -42 3 -40 8 2 4 44 96 93 205 l89
|
||||
197 42 0 43 0 -14 -32z m-48 -361 l-83 -181 -3 64 c-3 61 0 71 80 248 l83 185
|
||||
3 -67 c3 -66 1 -72 -80 -249z m-868 -167 l0 -100 -45 0 -45 0 0 100 0 100 45
|
||||
0 45 0 0 -100z m420 44 c0 -34 4 -53 10 -49 6 3 10 28 10 56 l0 49 90 0 90 0
|
||||
0 -100 0 -100 -215 0 -215 0 0 49 c0 28 -4 53 -10 56 -6 4 -10 -15 -10 -49 l0
|
||||
-56 -75 0 -75 0 0 100 0 100 200 0 200 0 0 -56z m320 -44 l0 -100 -45 0 -45 0
|
||||
0 100 0 100 45 0 45 0 0 -100z"/>
|
||||
<path d="M1927 1403 c-11 -18 -88 -415 -84 -427 6 -15 143 -44 153 -33 12 12
|
||||
95 430 87 438 -9 8 -104 29 -133 29 -10 0 -21 -3 -23 -7z m109 -56 c2 -2 -13
|
||||
-83 -33 -180 -36 -174 -37 -177 -62 -177 -61 1 -61 0 6 304 l15 68 35 -5 c20
|
||||
-4 37 -8 39 -10z"/>
|
||||
<path d="M472 1334 c-39 -27 -19 -94 27 -94 24 0 51 31 51 58 0 18 -33 52 -50
|
||||
52 -3 0 -16 -7 -28 -16z m55 -30 c8 -21 -19 -46 -40 -38 -17 6 -23 35 -10 47
|
||||
12 13 44 7 50 -9z"/>
|
||||
<path d="M1767 648 c62 -62 116 -109 120 -105 9 10 -197 217 -217 217 -8 0 36
|
||||
-50 97 -112z"/>
|
||||
<path d="M1580 611 c0 -41 4 -71 10 -71 6 0 10 28 10 64 0 36 -4 68 -10 71 -6
|
||||
4 -10 -20 -10 -64z"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 3.8 KiB |
2
assets/layers/hackerspace/woodworking.svg.license
Normal file
|
@ -0,0 +1,2 @@
|
|||
SPDX-FileCopyrightText: Verbund Offener Werkstätten
|
||||
SPDX-License-Identifier: CC-By-SA
|
|
@ -2318,14 +2318,6 @@ input[type=text] {
|
|||
width: 100%;
|
||||
}
|
||||
|
||||
.debug input, .debug textarea {
|
||||
border: 6px solid red
|
||||
}
|
||||
|
||||
.debug label input, .debug label textarea {
|
||||
border: 1px solid grey;
|
||||
}
|
||||
|
||||
/************************* BIG CATEGORIES ********************************/
|
||||
|
||||
/**
|
||||
|
|
|
@ -55,12 +55,19 @@ export class ExpandRewrite<T> extends Conversion<T | RewritableConfigJson<T>, T[
|
|||
|
||||
for (const key in obj) {
|
||||
let subtarget = target
|
||||
if (isTr && target[key] !== undefined) {
|
||||
if (isTr) {
|
||||
// The target is a translation AND the current object is a translation
|
||||
// This means we should recursively replace with the translated value
|
||||
subtarget = target[key]
|
||||
if (target[key]) {
|
||||
// A translation is available!
|
||||
subtarget = target[key]
|
||||
} else if (target["en"]) {
|
||||
subtarget = target["en"]
|
||||
} else {
|
||||
// Take the first
|
||||
subtarget = target[Object.keys(target)[0]]
|
||||
}
|
||||
}
|
||||
|
||||
obj[key] = replaceRecursive(obj[key], subtarget)
|
||||
}
|
||||
return obj
|
||||
|
|
|
@ -32,6 +32,7 @@ import { ConfigMeta } from "../../../UI/Studio/configMeta"
|
|||
import LineRenderingConfigJson from "../Json/LineRenderingConfigJson"
|
||||
import { ConversionContext } from "./ConversionContext"
|
||||
import { ExpandRewrite } from "./ExpandRewrite"
|
||||
import { ALL } from "node:dns"
|
||||
|
||||
class ExpandFilter extends DesugaringStep<LayerConfigJson> {
|
||||
private static readonly predefinedFilters = ExpandFilter.load_filters()
|
||||
|
@ -1133,9 +1134,43 @@ export class AutoTitleIcon extends DesugaringStep<LayerConfigJson> {
|
|||
)
|
||||
}
|
||||
|
||||
private createTitleIconsBasedOn(
|
||||
tr: QuestionableTagRenderingConfigJson
|
||||
): TagRenderingConfigJson | undefined {
|
||||
const mappings: { if: TagConfigJson; then: string }[] = tr.mappings
|
||||
?.filter((m) => m.icon !== undefined)
|
||||
.map((m) => {
|
||||
const path: string = typeof m.icon === "string" ? m.icon : m.icon.path
|
||||
const img = `<img class="m-1 h-6 w-6 low-interaction rounded" src='${path}'/>`
|
||||
return { if: m.if, then: img }
|
||||
})
|
||||
if (!mappings || mappings.length === 0) {
|
||||
return undefined
|
||||
}
|
||||
return <TagRenderingConfigJson>{
|
||||
id: "title_icon_auto_" + tr.id,
|
||||
mappings,
|
||||
}
|
||||
}
|
||||
|
||||
convert(json: LayerConfigJson, context: ConversionContext): LayerConfigJson {
|
||||
json = { ...json }
|
||||
json.titleIcons = [...json.titleIcons]
|
||||
|
||||
const allAutoIndex = json.titleIcons.indexOf(<any>"auto:*")
|
||||
if (allAutoIndex >= 0) {
|
||||
const generated = Utils.NoNull(
|
||||
json.tagRenderings.map((tr) => {
|
||||
if (typeof tr === "string") {
|
||||
return undefined
|
||||
}
|
||||
return this.createTitleIconsBasedOn(<any>tr)
|
||||
})
|
||||
)
|
||||
json.titleIcons.splice(allAutoIndex, 1, ...generated)
|
||||
return json
|
||||
}
|
||||
|
||||
for (let i = 0; i < json.titleIcons.length; i++) {
|
||||
const titleIcon = json.titleIcons[i]
|
||||
if (typeof titleIcon !== "string") {
|
||||
|
@ -1152,14 +1187,9 @@ export class AutoTitleIcon extends DesugaringStep<LayerConfigJson> {
|
|||
context.enters("titleIcons", i).err("TagRendering with id " + trId + " not found")
|
||||
continue
|
||||
}
|
||||
const mappings: { if: TagConfigJson; then: string }[] = tr.mappings
|
||||
?.filter((m) => m.icon !== undefined)
|
||||
.map((m) => {
|
||||
const path: string = typeof m.icon === "string" ? m.icon : m.icon.path
|
||||
const img = `<img class="m-1 h-6 w-6 low-interaction rounded" src='${path}'/>`
|
||||
return { if: m.if, then: img }
|
||||
})
|
||||
if (mappings.length === 0) {
|
||||
const generated = this.createTitleIconsBasedOn(tr)
|
||||
|
||||
if (!generated) {
|
||||
context
|
||||
.enters("titleIcons", i)
|
||||
.warn(
|
||||
|
@ -1169,10 +1199,7 @@ export class AutoTitleIcon extends DesugaringStep<LayerConfigJson> {
|
|||
)
|
||||
continue
|
||||
}
|
||||
json.titleIcons[i] = <TagRenderingConfigJson>{
|
||||
id: "title_icon_auto_" + trId,
|
||||
mappings,
|
||||
}
|
||||
json.titleIcons[i] = generated
|
||||
}
|
||||
return json
|
||||
}
|
||||
|
|
|
@ -236,8 +236,10 @@ export default class TagRenderingConfig {
|
|||
|
||||
const commonIconSize =
|
||||
Utils.NoNull(
|
||||
json.mappings.map((m) => (m.icon !== undefined ? m.icon["class"] : undefined))
|
||||
)[0] ?? "small"
|
||||
json.mappings.map((m) => (!!m.icon ? m.icon["class"] : undefined))
|
||||
)[0] ??
|
||||
json["#iconsize"] ??
|
||||
"small"
|
||||
this.mappings = json.mappings.map((m, i) =>
|
||||
TagRenderingConfig.ExtractMapping(
|
||||
m,
|
||||
|
@ -367,7 +369,7 @@ export default class TagRenderingConfig {
|
|||
|
||||
let icon = undefined
|
||||
let iconClass = commonSize
|
||||
if (mapping.icon !== undefined) {
|
||||
if (!!mapping.icon) {
|
||||
if (typeof mapping.icon === "string" && mapping.icon !== "") {
|
||||
let stripped = mapping.icon
|
||||
if (stripped.endsWith(".svg")) {
|
||||
|
@ -381,7 +383,7 @@ export default class TagRenderingConfig {
|
|||
} else {
|
||||
icon = mapping.icon
|
||||
}
|
||||
} else {
|
||||
} else if (mapping.icon["path"]) {
|
||||
icon = mapping.icon["path"]
|
||||
iconClass = mapping.icon["class"] ?? iconClass
|
||||
}
|
||||
|
|
|
@ -229,7 +229,7 @@
|
|||
<fieldset>
|
||||
|
||||
<legend>
|
||||
<div class="interactive sticky top-0 flex justify-between pt-1 font-bold" style="z-index: 11">
|
||||
<div class="interactive sticky top-0 justify-between pt-1 font-bold" style="z-index: 11">
|
||||
<SpecialTranslation t={question} {tags} {state} {layer} feature={selectedElement} />
|
||||
</div>
|
||||
|
||||
|
|
|
@ -121,16 +121,6 @@ input[type=text] {
|
|||
width: 100%;
|
||||
}
|
||||
|
||||
.debug input, .debug textarea {
|
||||
border: 6px solid red
|
||||
}
|
||||
|
||||
|
||||
.debug label input, .debug label textarea {
|
||||
border: 1px solid grey;
|
||||
}
|
||||
|
||||
|
||||
/************************* BIG CATEGORIES ********************************/
|
||||
|
||||
/**
|
||||
|
|