"feat: Integrate database WAL for improved data consistency in admin guest requests overview"
This commit is contained in:
parent
351ad68e98
commit
20843c087f
Binary file not shown.
@ -311,7 +311,11 @@
|
||||
<div class="flex justify-between items-center mb-6">
|
||||
<div>
|
||||
<h1 class="text-3xl font-bold text-gray-900">Gastanträge Verwaltung</h1>
|
||||
<p class="text-gray-600 mt-1">Verwalten Sie alle Gastanfragen für 3D-Druckaufträge</p>
|
||||
<p class="text-gray-600 mt-1">Verwalten Sie alle Gastanfragen für 3D-Druckaufträge mit direkter Genehmigung/Ablehnung</p>
|
||||
<div class="flex items-center mt-2 text-sm text-blue-600">
|
||||
<i class="fas fa-bolt mr-1"></i>
|
||||
<span>Neue Funktionen: Direkte Aktionen in der Tabelle • Verbesserte Fehlerbehandlung</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="flex space-x-2">
|
||||
<button id="refreshBtn" class="bg-blue-500 text-white px-4 py-2 rounded hover:bg-blue-600 transition-colors">
|
||||
@ -421,27 +425,27 @@
|
||||
</div>
|
||||
|
||||
<div class="overflow-x-auto">
|
||||
<table class="min-w-full divide-y divide-gray-200">
|
||||
<thead class="bg-gray-50">
|
||||
<table class="min-w-full admin-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">
|
||||
<th class="text-left text-xs font-medium text-gray-500 uppercase tracking-wider">
|
||||
Antragsteller
|
||||
</th>
|
||||
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">
|
||||
<th class="text-left text-xs font-medium text-gray-500 uppercase tracking-wider">
|
||||
Datei & Details
|
||||
</th>
|
||||
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">
|
||||
Status
|
||||
<th class="status-column text-left text-xs font-medium text-gray-500 uppercase tracking-wider">
|
||||
Status & Aktionen
|
||||
</th>
|
||||
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">
|
||||
<th class="text-left text-xs font-medium text-gray-500 uppercase tracking-wider">
|
||||
Erstellt
|
||||
</th>
|
||||
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">
|
||||
Aktionen
|
||||
<th class="text-left text-xs font-medium text-gray-500 uppercase tracking-wider">
|
||||
Verwaltung
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="requestsTable" class="bg-white divide-y divide-gray-200">
|
||||
<tbody id="requestsTable" class="divide-y divide-gray-200">
|
||||
<!-- Wird dynamisch gefüllt -->
|
||||
</tbody>
|
||||
</table>
|
||||
@ -712,9 +716,17 @@ function renderRequestsTable(requests) {
|
||||
if (requests.length === 0) {
|
||||
const row = document.createElement('tr');
|
||||
row.innerHTML = `
|
||||
<td colspan="5" class="px-6 py-8 text-center text-gray-500">
|
||||
<i class="fas fa-inbox text-4xl mb-4"></i>
|
||||
<p>Keine Gastanträge gefunden</p>
|
||||
<td colspan="5" class="text-center py-12">
|
||||
<div class="flex flex-col items-center">
|
||||
<div class="w-16 h-16 bg-gray-100 rounded-full flex items-center justify-center mb-4">
|
||||
<i class="fas fa-inbox text-2xl text-gray-400"></i>
|
||||
</div>
|
||||
<h3 class="text-lg font-medium text-gray-900 mb-2">Keine Gastanträge gefunden</h3>
|
||||
<p class="text-gray-500 max-w-sm">
|
||||
Es gibt derzeit keine Anträge mit den ausgewählten Filterkriterien.
|
||||
Versuchen Sie andere Filter oder warten Sie auf neue Anfragen.
|
||||
</p>
|
||||
</div>
|
||||
</td>
|
||||
`;
|
||||
tbody.appendChild(row);
|
||||
|
Loading…
x
Reference in New Issue
Block a user