Administrator Views verbessert
This commit is contained in:
1 parent
ffdb399f9e
commit
0a2070fcf5
12 files changed
+247
-12
No files matched your search
@@ -3,8 +3,30 @@
|
||||
{% block title %}Straßenverwaltung - CMBNet{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<p><a href="{{ url_for('admin.dashboard', tenant=session.tenant_code) }}">← Zurück zum Dashboard</a></p>
|
||||
<h1>Straßenverwaltung</h1>
|
||||
<p><a href="{{ url_for('admin.accounts', tenant=session.tenant_code) }}">← Zurück zur Accountverwaltung</a></p>
|
||||
|
||||
<div style="display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: end; margin-bottom: 0.75rem;">
|
||||
<label style="margin: 0;">Name filtern
|
||||
<input type="text" id="streetNameFilter" placeholder="z. B. Haupt" oninput="applyStreetFilters()">
|
||||
</label>
|
||||
<label style="margin: 0;">State
|
||||
<select id="streetStateFilter" onchange="applyStreetFilters()">
|
||||
<option value="">alle</option>
|
||||
<option value="unbearbeitet">unbearbeitet</option>
|
||||
<option value="zugewiesen">zugewiesen</option>
|
||||
<option value="erledigt">erledigt</option>
|
||||
</select>
|
||||
</label>
|
||||
<label style="margin: 0;">Gruppe
|
||||
<select id="streetGroupFilter" onchange="applyStreetFilters()">
|
||||
<option value="">alle</option>
|
||||
{% for gruppe in gruppen %}
|
||||
<option value="{{ gruppe.id }}">{{ gruppe.aliasname or gruppe.id }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<table id="strassenTable">
|
||||
<thead>
|
||||
@@ -60,6 +82,7 @@
|
||||
</button>
|
||||
<input type="file" id="houseNumberCsvFile" accept=".csv" style="display:none"
|
||||
onchange="importHouseNumbers(this)">
|
||||
<p style="margin-top: 2rem;"><a href="{{ url_for('admin.dashboard', tenant=session.tenant_code) }}">← Zurück zum Dashboard</a></p>
|
||||
|
||||
<!-- Create/Edit Strasse Modal -->
|
||||
<dialog id="strasseModal">
|
||||
|
||||
Reference in new issue
Block a user