UX: Modal-Rand, Icon-Farben, Adresse aufgeteilt
- Tierarzt-Adresse: strasse / plz / ort statt einzeiligem Freitext - Modal: Rand in Primärfarbe + kein versehentliches Schließen beim Klick auf Hintergrund - Nav/Sidebar-Icons: inaktiv gedämpft, aktiv amber-getönt (CSS filter) - Datums-Kalender-Icon: ebenfalls amber statt Schwarz - SW-Cache → by-v8
This commit is contained in:
parent
fc0f48c6d0
commit
dee8d10496
7 changed files with 59 additions and 14 deletions
|
|
@ -254,7 +254,9 @@ def init_db():
|
|||
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
||||
user_id INTEGER NOT NULL REFERENCES users(id) ON DELETE CASCADE,
|
||||
name TEXT NOT NULL,
|
||||
adresse TEXT,
|
||||
strasse TEXT,
|
||||
plz TEXT,
|
||||
ort TEXT,
|
||||
telefon TEXT,
|
||||
notfall_telefon TEXT,
|
||||
email TEXT,
|
||||
|
|
@ -295,6 +297,10 @@ def _migrate(conn_factory):
|
|||
("health", "datei_url", "TEXT"),
|
||||
("health", "datei_typ", "TEXT"),
|
||||
("health", "tierarzt_id", "INTEGER"),
|
||||
# Tierärzte: Adresse aufgeteilt in Strasse/PLZ/Ort
|
||||
("tieraerzte", "strasse", "TEXT"),
|
||||
("tieraerzte", "plz", "TEXT"),
|
||||
("tieraerzte", "ort", "TEXT"),
|
||||
]
|
||||
with conn_factory() as conn:
|
||||
for table, column, col_type in migrations:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue