diff --git a/README.md b/README.md index 592803a..7726124 100644 --- a/README.md +++ b/README.md @@ -325,6 +325,8 @@ Passwort der Maschinenverwaltung geschützt): Cookie selbst. Geht sie verloren (Browserdaten gelöscht, Gerät getauscht), erscheint das Tablet als neuer, unzugeordneter Eintrag und wird von Hand zugeordnet (der alte Eintrag lässt sich mit "Entfernen" löschen). +- Auf `/start_tablets` steht oben nur eine schmale Zeile mit dem Link für alle + Tablets; die Erklärung dazu ist aufklappbar. - **Lernmodus für die Umstellung:** Tablets, die bisher über einzelne Links (`/m` oder `/m_show`) laufen, werden bei eingeschaltetem Lernmodus (Standard: an, kleiner Schalter mit aufklappbarer Erklärung auf `/start_tablets`) beim ersten Aufruf ohne Kennung diff --git a/build/static/style.css b/build/static/style.css index a60cb49..ab326b4 100644 --- a/build/static/style.css +++ b/build/static/style.css @@ -574,10 +574,14 @@ table.data-table td.col-actions { white-space: nowrap; } .tablet-table { font-size: 1.15rem; } .tablet-table th { font-size: 1rem; } .tablet-table td { padding-top: 14px; padding-bottom: 14px; } -.tablet-table .icon-btn { font-size: 1.05rem; padding: 9px 16px; } -.tablet-form { display: flex; gap: 10px; flex-wrap: nowrap; } +.tablet-table .icon-btn { font-size: 1rem; padding: 9px 14px; } +.tablet-form { display: flex; gap: 10px; flex-wrap: wrap; } +.tablet-table .row-actions { flex-wrap: nowrap; } +.tablet-table .row-actions .icon-btn, .tablet-table .row-actions form { flex: none; white-space: nowrap; width: auto; } +@media (max-width: 1000px) { .tablet-table .row-actions { flex-wrap: wrap; max-width: 330px; } } +.tablet-table td.col-actions { white-space: nowrap; } .tablet-form input, .tablet-form select { - flex: 1; min-width: 150px; padding: 10px 12px; font-size: 1em; + flex: 1 1 150px; min-width: 130px; padding: 10px 12px; font-size: 1em; background: var(--bg); color: var(--text); border: 2px solid var(--border); border-radius: 8px; } .tablet-dot { display: inline-block; width: 11px; height: 11px; border-radius: 50%; margin-right: 7px; } diff --git a/build/templates/tablets_verwaltung.html b/build/templates/tablets_verwaltung.html index ad77ea9..3884b08 100644 --- a/build/templates/tablets_verwaltung.html +++ b/build/templates/tablets_verwaltung.html @@ -8,13 +8,19 @@ -
-

- Auf allen Tablets diese Adresse öffnen: {{ tablet_url }}
- Neue Tablets erscheinen hier automatisch als „nicht zugeordnet“ (die Kennung steht auch auf dem Tablet). - Ein Link für alle Geräte genügt – jedes Tablet merkt sich seine Kennung selbst. - Nach dem Speichern wechselt das Tablet innerhalb von ca. {{ abfrage_sekunden }} Sekunden auf die gewählte Seite (online = Meldung in den letzten {{ online_sekunden }} Sekunden). -

+