feat: update version info display and improve Lucide icon initialization
All checks were successful
Build and Push Docker Image / build (push) Successful in 35s
All checks were successful
Build and Push Docker Image / build (push) Successful in 35s
This commit is contained in:
@@ -467,8 +467,10 @@
|
||||
<i data-lucide="chevron-down" class="w-5 h-5 transition-transform details-chevron"></i>
|
||||
<i data-lucide="settings" class="w-5 h-5 text-purple-400"></i>
|
||||
<span>Einstellungen</span>
|
||||
<span id="versionInfo" class="ml-auto text-xs text-gray-500 font-mono"></span>
|
||||
</summary>
|
||||
<div class="mt-4 mb-2 text-right">
|
||||
<span id="versionInfo" class="text-xs text-gray-500 font-mono"></span>
|
||||
</div>
|
||||
<div class="mt-4 flex flex-wrap gap-4 items-center">
|
||||
<div class="flex-1 min-w-[200px]">
|
||||
<label for="employeeName" class="block text-sm font-medium text-gray-300 mb-1">Mitarbeitername</label>
|
||||
@@ -873,15 +875,10 @@
|
||||
<script>
|
||||
// Use a more robust initialization
|
||||
function initLucide() {
|
||||
console.log('Checking lucide...', typeof lucide, window.lucide);
|
||||
if (typeof lucide !== 'undefined' && lucide.createIcons) {
|
||||
console.log('Initializing Lucide icons...');
|
||||
lucide.createIcons();
|
||||
} else if (window.lucide && window.lucide.createIcons) {
|
||||
console.log('Initializing Lucide icons from window...');
|
||||
window.lucide.createIcons();
|
||||
} else {
|
||||
console.error('Lucide still not available after all attempts');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user