add Keyboard Input, improve PopUp, improve general code

This commit is contained in:
E44
2025-11-07 12:15:58 +01:00
parent 10a09bc45e
commit 0bfe6371fd
11 changed files with 286 additions and 33 deletions
+5 -2
View File
@@ -30,6 +30,7 @@
open: false,
snippet: null,
title: '',
title_class: '!text-xl',
closable: true
});
@@ -73,6 +74,7 @@
snippet: add_new_display_popup,
title: 'Neuen Bildschirm hinzufügen',
title_icon: Monitor,
title_class: '!text-xl',
closable: true
};
};
@@ -83,7 +85,7 @@
snippet: remove_display_popup,
snippet_arg: display_id,
title: 'Bildschirm wirklich löschen?',
title_class: 'text-red-400',
title_class: 'text-red-400 !text-xl',
title_icon: Trash2,
closable: true
};
@@ -103,6 +105,7 @@
snippet_arg: display_id,
title: 'Bildschirm bearbeiten',
title_icon: Monitor,
title_class: '!text-xl',
closable: true
};
};
@@ -247,5 +250,5 @@
<FileView />
</div>
</div>
<PopUp content={popup_content} close_function={popup_close_function} />
<PopUp content={popup_content} close_function={popup_close_function} className="bg-white/10" />
</main>