"Refactor global refresh functions and templates for better performance (feat)"

This commit is contained in:
2025-05-29 17:51:01 +02:00
parent e338c5835e
commit a473c06658
5 changed files with 958 additions and 3 deletions

View File

@@ -397,11 +397,27 @@
<span>Aktualisieren</span>
</button>
<button onclick="toggleBatchMode()" id="batch-toggle"
class="btn-secondary flex items-center gap-2">
class="btn-secondary flex items-center gap-2 relative group">
<svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"/>
</svg>
<span>Mehrfachauswahl</span>
<!-- Info-Tooltip für Batch-Planung -->
<div class="absolute bottom-full left-1/2 transform -translate-x-1/2 mb-2 w-80 bg-slate-900 dark:bg-slate-700 text-white text-xs rounded-lg p-3 opacity-0 group-hover:opacity-100 transition-opacity duration-200 pointer-events-none z-50 shadow-lg">
<div class="font-semibold mb-2">📦 Intelligente Batch-Planung</div>
<ul class="space-y-1 text-left">
<li><strong>Mehrfachauswahl:</strong> Markieren Sie mehrere Jobs gleichzeitig</li>
<li><strong>Batch-Operationen:</strong> Starten, pausieren oder abbrechen</li>
<li><strong>Prioritäten setzen:</strong> Hoch/Normal für ausgewählte Jobs</li>
<li><strong>Gruppenlöschung:</strong> Mehrere abgeschlossene Jobs löschen</li>
<li><strong>Optimierte Planung:</strong> Intelligente Reihenfolge-Anpassung</li>
</ul>
<div class="mt-2 text-xs text-slate-300">
Tastenkürzel: <kbd class="bg-slate-800 px-1 rounded">Ctrl+Alt+B</kbd>
</div>
<div class="absolute top-full left-1/2 transform -translate-x-1/2 w-0 h-0 border-l-4 border-r-4 border-t-4 border-transparent border-t-slate-900 dark:border-t-slate-700"></div>
</div>
</button>
<a href="{{ url_for('new_job_page') }}"
class="btn-primary flex items-center gap-2">