Compare commits
2 Commits
8179498333
...
076e82213d
| Author | SHA1 | Date | |
|---|---|---|---|
| 076e82213d | |||
| 6a721fde7c |
@@ -100,14 +100,14 @@ if (!$municipality) {
|
|||||||
<i class="fa-solid fa-circle-info"></i>
|
<i class="fa-solid fa-circle-info"></i>
|
||||||
<span class="nav-label">Informationen</span>
|
<span class="nav-label">Informationen</span>
|
||||||
</button>
|
</button>
|
||||||
<button class="nav-btn" onclick="showPrivacyModal()">
|
<a href="privacy.php" class="nav-btn" target="_blank">
|
||||||
<i class="fa-solid fa-shield-halved"></i>
|
<i class="fa-solid fa-shield-halved"></i>
|
||||||
<span class="nav-label">Datenschutz</span>
|
<span class="nav-label">Datenschutz</span>
|
||||||
</button>
|
</a>
|
||||||
<button class="nav-btn" onclick="showImprintModal()">
|
<a href="imprint.php" class="nav-btn" target="_blank">
|
||||||
<i class="fa-solid fa-scale-balanced"></i>
|
<i class="fa-solid fa-scale-balanced"></i>
|
||||||
<span class="nav-label">Impressum</span>
|
<span class="nav-label">Impressum</span>
|
||||||
</button>
|
</a>
|
||||||
<a href="admin.php" class="nav-btn nav-btn-admin" title="Moderationsbereich" target="_blank">
|
<a href="admin.php" class="nav-btn nav-btn-admin" title="Moderationsbereich" target="_blank">
|
||||||
<i class="fa-solid fa-lock"></i>
|
<i class="fa-solid fa-lock"></i>
|
||||||
</a>
|
</a>
|
||||||
|
|||||||
@@ -331,10 +331,11 @@ function stylePoint(feature, latlng) {
|
|||||||
|
|
||||||
return L.circleMarker(latlng, {
|
return L.circleMarker(latlng, {
|
||||||
radius: 8,
|
radius: 8,
|
||||||
color: '#ffffff',
|
color: cat.color,
|
||||||
weight: 2,
|
weight: 3,
|
||||||
fillColor: cat.color,
|
fillColor: cat.color,
|
||||||
fillOpacity: 0.9
|
fillOpacity: 0.25,
|
||||||
|
opacity: 0.8
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -755,7 +756,14 @@ function toggleCategoryFilter(checkbox) {
|
|||||||
if (layer.feature) {
|
if (layer.feature) {
|
||||||
const cat = layer.feature.properties.category;
|
const cat = layer.feature.properties.category;
|
||||||
if (activeFilters.indexOf(cat) !== -1) {
|
if (activeFilters.indexOf(cat) !== -1) {
|
||||||
layer.setStyle({ opacity: 0.8, fillOpacity: layer.feature.geometry.type === 'Point' ? 0.25 : 0.25 });
|
const catDef = CATEGORIES[cat] || CATEGORIES.other;
|
||||||
|
layer.setStyle({
|
||||||
|
color: catDef.color,
|
||||||
|
weight: 3,
|
||||||
|
opacity: 0.8,
|
||||||
|
fillColor: catDef.color,
|
||||||
|
fillOpacity: 0.25
|
||||||
|
});
|
||||||
if (layer.setRadius) layer.setRadius(8);
|
if (layer.setRadius) layer.setRadius(8);
|
||||||
layer.options.interactive = true;
|
layer.options.interactive = true;
|
||||||
} else {
|
} else {
|
||||||
@@ -862,30 +870,6 @@ function showInfoModal() {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
// Privacy Modal
|
|
||||||
function showPrivacyModal() {
|
|
||||||
Swal.fire({
|
|
||||||
title: 'Datenschutz',
|
|
||||||
html: '<p style="text-align:left;line-height:1.6;">Das Bürgerbeteiligungsportal speichert die von Ihnen ' +
|
|
||||||
'hinterlegten Daten zur Durchführung der Bürgerbeteiligung.</p>' +
|
|
||||||
'<p style="text-align:left;line-height:1.6;">Ihre Daten werden nicht an Dritte weitergegeben. ' +
|
|
||||||
'Details entnehmen Sie bitte der vollständigen Datenschutzerklärung von ' +
|
|
||||||
MUNICIPALITY.name + '.</p>',
|
|
||||||
confirmButtonColor: MUNICIPALITY.primaryColor
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
// Imprint Modal
|
|
||||||
function showImprintModal() {
|
|
||||||
Swal.fire({
|
|
||||||
title: 'Impressum',
|
|
||||||
html: '<p style="text-align:left;line-height:1.6;">Stadt ' + MUNICIPALITY.name + '</p>' +
|
|
||||||
'<p style="text-align:left;line-height:1.6;color:#777;">Die vollständigen Angaben ' +
|
|
||||||
'werden hier hinzugefügt, sobald das Portal in den Produktivbetrieb geht.</p>',
|
|
||||||
confirmButtonColor: MUNICIPALITY.primaryColor
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// =====================================================================
|
// =====================================================================
|
||||||
// Block 14: Mobile Navigation
|
// Block 14: Mobile Navigation
|
||||||
|
|||||||
Reference in New Issue
Block a user