Fix: Mobile-Audit — Notifications Delete-Button, Health-Grid, Settings-Padding
This commit is contained in:
parent
bf57b69e36
commit
bf268e3ffd
5 changed files with 13 additions and 5 deletions
|
|
@ -3,7 +3,7 @@
|
||||||
Router, State-Management, Navigation, Initialisierung.
|
Router, State-Management, Navigation, Initialisierung.
|
||||||
============================================================ */
|
============================================================ */
|
||||||
|
|
||||||
const APP_VER = '131'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen
|
const APP_VER = '132'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen
|
||||||
|
|
||||||
const App = (() => {
|
const App = (() => {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1146,7 +1146,7 @@ window.Page_health = (() => {
|
||||||
function _extraFormFields(entry, typ) {
|
function _extraFormFields(entry, typ) {
|
||||||
switch (typ) {
|
switch (typ) {
|
||||||
case 'impfung': return `
|
case 'impfung': return `
|
||||||
<div style="display:grid;grid-template-columns:1fr 1fr;gap:var(--space-3)">
|
<div style="display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:var(--space-3)">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="form-label">Nächste Impfung</label>
|
<label class="form-label">Nächste Impfung</label>
|
||||||
<input class="form-control" type="date" name="naechstes" value="${entry?.naechstes || ''}">
|
<input class="form-control" type="date" name="naechstes" value="${entry?.naechstes || ''}">
|
||||||
|
|
@ -1160,7 +1160,7 @@ window.Page_health = (() => {
|
||||||
</div>
|
</div>
|
||||||
`;
|
`;
|
||||||
case 'entwurmung': return `
|
case 'entwurmung': return `
|
||||||
<div style="display:grid;grid-template-columns:1fr 1fr;gap:var(--space-3)">
|
<div style="display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:var(--space-3)">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="form-label">Nächste Behandlung</label>
|
<label class="form-label">Nächste Behandlung</label>
|
||||||
<input class="form-control" type="date" name="naechstes" value="${entry?.naechstes || ''}">
|
<input class="form-control" type="date" name="naechstes" value="${entry?.naechstes || ''}">
|
||||||
|
|
|
||||||
|
|
@ -217,10 +217,18 @@ window.Page_notifications = (() => {
|
||||||
color: var(--c-text-muted);
|
color: var(--c-text-muted);
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
transition: opacity var(--transition-fast);
|
transition: opacity var(--transition-fast);
|
||||||
|
min-width: 44px;
|
||||||
|
min-height: 44px;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
}
|
}
|
||||||
.notif-item:hover .notif-del-btn {
|
.notif-item:hover .notif-del-btn {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
|
@media (hover: none) {
|
||||||
|
.notif-del-btn { opacity: 1; }
|
||||||
|
}
|
||||||
`;
|
`;
|
||||||
document.head.appendChild(style);
|
document.head.appendChild(style);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -432,7 +432,7 @@ window.Page_settings = (() => {
|
||||||
function _renderAuth(mode) {
|
function _renderAuth(mode) {
|
||||||
_mode = mode;
|
_mode = mode;
|
||||||
_container.innerHTML = `
|
_container.innerHTML = `
|
||||||
<div style="max-width:380px;margin:0 auto;padding:var(--space-6) var(--space-4)">
|
<div style="max-width:380px;margin:0 auto;padding:var(--space-6) 0">
|
||||||
|
|
||||||
<!-- Logo -->
|
<!-- Logo -->
|
||||||
<div style="text-align:center;margin-bottom:var(--space-6)">
|
<div style="text-align:center;margin-bottom:var(--space-6)">
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
Offline-Cache + Push Notifications + Tile-Cache
|
Offline-Cache + Push Notifications + Tile-Cache
|
||||||
============================================================ */
|
============================================================ */
|
||||||
|
|
||||||
const CACHE_VERSION = 'by-v159';
|
const CACHE_VERSION = 'by-v160';
|
||||||
const CACHE_STATIC = `${CACHE_VERSION}-static`;
|
const CACHE_STATIC = `${CACHE_VERSION}-static`;
|
||||||
const CACHE_TILES = 'ban-yaro-tiles-v1'; // bleibt über SW-Updates erhalten
|
const CACHE_TILES = 'ban-yaro-tiles-v1'; // bleibt über SW-Updates erhalten
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue