ui: rebrand to cynfo GmbH, rename WLED-Geraete to Tuerschilder
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
327edf4f16
commit
39561fe438
@ -13,7 +13,7 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Benutzer</th>
|
||||
<th>WLED-Geraet</th>
|
||||
<th>Tuerschild</th>
|
||||
<th>Segment</th>
|
||||
<th>Aktionen</th>
|
||||
</tr>
|
||||
@ -72,7 +72,7 @@
|
||||
</select>
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<label class="form-label">WLED-Geraet</label>
|
||||
<label class="form-label">Tuerschild</label>
|
||||
<select name="wled_device_id" class="form-select" id="device-select" required>
|
||||
<option value="">-- Geraet waehlen --</option>
|
||||
{% for d in devices %}
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
<nav class="sidebar bg-dark text-white d-flex flex-column">
|
||||
<div class="p-3 border-bottom border-secondary">
|
||||
<h5 class="mb-0"><i class="bi bi-lightbulb-fill text-warning"></i> Busylight</h5>
|
||||
<small class="text-secondary">WLED Controller</small>
|
||||
<small class="text-secondary">cynfo GmbH</small>
|
||||
</div>
|
||||
<ul class="nav flex-column mt-2 flex-grow-1">
|
||||
<li class="nav-item">
|
||||
@ -29,7 +29,7 @@
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link text-white {% if page == 'devices' %}active{% endif %}" href="/devices">
|
||||
<i class="bi bi-router"></i> WLED-Geraete
|
||||
<i class="bi bi-router"></i> Tuerschilder
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
|
||||
@ -104,8 +104,8 @@
|
||||
{% else %}
|
||||
<div class="text-center py-5">
|
||||
<i class="bi bi-lightbulb display-1 text-muted"></i>
|
||||
<p class="text-muted mt-3">Noch keine WLED-Geraete konfiguriert.</p>
|
||||
<a href="/devices" class="btn btn-primary">Geraete hinzufuegen</a>
|
||||
<p class="text-muted mt-3">Noch keine Tuerschilder konfiguriert.</p>
|
||||
<a href="/devices" class="btn btn-primary">Tuerschilder hinzufuegen</a>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
{% extends "base.html" %}
|
||||
{% block title %}WLED-Geraete - Busylight{% endblock %}
|
||||
{% block title %}Tuerschilder - Busylight{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="d-flex justify-content-between align-items-center mb-4">
|
||||
<h4 class="mb-0">WLED-Geraete</h4>
|
||||
<h4 class="mb-0">Tuerschilder</h4>
|
||||
<div>
|
||||
<form method="post" action="/api/devices/check-all" class="d-inline">
|
||||
<button type="submit" class="btn btn-sm btn-outline-secondary">
|
||||
@ -66,7 +66,7 @@
|
||||
</button>
|
||||
<form method="post" action="/api/devices/{{ device.id }}/delete"
|
||||
class="d-inline"
|
||||
onsubmit="return confirm('Geraet wirklich loeschen?')">
|
||||
onsubmit="return confirm('Tuerschild wirklich loeschen?')">
|
||||
<button type="submit" class="btn btn-sm btn-outline-danger">
|
||||
<i class="bi bi-trash"></i>
|
||||
</button>
|
||||
@ -80,7 +80,7 @@
|
||||
<div class="modal-content">
|
||||
<form method="post" action="/api/devices/{{ device.id }}/update">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title">Geraet bearbeiten</h5>
|
||||
<h5 class="modal-title">Tuerschild bearbeiten</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="modal"></button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
@ -113,7 +113,7 @@
|
||||
{% if not devices %}
|
||||
<tr>
|
||||
<td colspan="7" class="text-center text-muted py-4">
|
||||
Noch keine Geraete vorhanden.
|
||||
Noch keine Tuerschilder vorhanden.
|
||||
</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
@ -123,14 +123,14 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="mt-2 text-muted">
|
||||
<small>{{ devices|length }} Geraete | Status wird alle 4 Minuten automatisch geprueft</small>
|
||||
<small>{{ devices|length }} Tuerschilder | Status wird alle 4 Minuten automatisch geprueft</small>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-lg-4">
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<h6 class="mb-0"><i class="bi bi-plus-circle"></i> Neues Geraet</h6>
|
||||
<h6 class="mb-0"><i class="bi bi-plus-circle"></i> Neues Tuerschild</h6>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<form method="post" action="/api/devices">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user