Mobiles UI verbessert

This commit is contained in:
concierge committed 2026-11-03 17:19:25 +01:00
1 parent f5b0c9509c
commit 95486c6737
6 files changed
+101 -18

No files matched your search

@@ -0,0 +1,14 @@
<dialog id="mobileNotificationDialog" aria-labelledby="mobileNotificationTitle">
<article>
<header>
<h3 id="mobileNotificationTitle">Neue Nachricht</h3>
</header>
<div class="dialog-body">
<p id="mobileNotificationText" class="mobile-notification-text"></p>
</div>
<footer>
<button type="button" class="secondary" onclick="closeMobileNotification()">Schließen</button>
<button type="button" onclick="openMobileChatFromNotification()">Zum Chat</button>
</footer>
</article>
</dialog>
+9 -1
View File
@@ -46,7 +46,14 @@
<path fill="currentColor" d="M21.71 2.29a1 1 0 0 0-1.05-.24l-18 7a1 1 0 0 0 .06 1.87l7.16 2.2 2.2 7.16a1 1 0 0 0 1.87.06l7-18a1 1 0 0 0-.24-1.05Z"/>
</svg>
</button>
<button type="button" id="mobileTodoBtn" class="mobile-fab" title="ToDo-Liste" aria-label="ToDo-Liste">📋</button>
<button type="button" id="mobileTodoBtn" class="mobile-fab" title="ToDo-Liste" aria-label="ToDo-Liste">
<svg viewBox="0 0 24 24" width="22" height="22" aria-hidden="true" focusable="false">
<rect x="3.5" y="3.5" width="17" height="17" rx="3"
fill="none" stroke="currentColor" stroke-width="2"/>
<path d="M7.5 12.5l3 3 6-6" fill="none" stroke="currentColor"
stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</button>
<button type="button" id="mobileSettingsBtn" class="mobile-fab mobile-fab-secondary" title="Einstellungen" aria-label="Einstellungen">⚙</button>
<button type="button" id="mobileWorkBtn" class="mobile-work-btn" title="Straße bearbeiten" aria-label="Straße bearbeiten">Bearbeiten</button>
</section>
@@ -128,6 +135,7 @@
</footer>
</article>
</dialog>
{% include "_mobile_notification_dialog.html" %}
{% include "_pwa_install_dialog.html" %}
{% endblock %}
+9 -1
View File
@@ -42,7 +42,14 @@
<div id="mobileMap" class="mobile-map"></div>
<button type="button" id="mobileSendPositionBtn" class="mobile-position-btn"
title="Eigenposition jetzt senden" aria-label="Eigenposition jetzt senden" hidden>Position senden</button>
<button type="button" id="mobileTodoBtn" class="mobile-fab" title="ToDo-Liste" aria-label="ToDo-Liste">📋</button>
<button type="button" id="mobileTodoBtn" class="mobile-fab" title="ToDo-Liste" aria-label="ToDo-Liste">
<svg viewBox="0 0 24 24" width="22" height="22" aria-hidden="true" focusable="false">
<rect x="3.5" y="3.5" width="17" height="17" rx="3"
fill="none" stroke="currentColor" stroke-width="2"/>
<path d="M7.5 12.5l3 3 6-6" fill="none" stroke="currentColor"
stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</button>
<button type="button" id="mobileSettingsBtn" class="mobile-fab mobile-fab-secondary" title="Einstellungen" aria-label="Einstellungen">⚙</button>
<button type="button" id="mobileWorkBtn" class="mobile-work-btn" title="Straße bearbeiten" aria-label="Straße bearbeiten">Bearbeiten</button>
</section>
@@ -133,6 +140,7 @@
</footer>
</article>
</dialog>
{% include "_mobile_notification_dialog.html" %}
{% include "_pwa_install_dialog.html" %}
{% endblock %}