refactor(control): use error button class more

This commit is contained in:
2026-01-05 23:00:07 +01:00
parent 58e56ffae3
commit c7b073eb34
2 changed files with 8 additions and 8 deletions
+4 -4
View File
@@ -121,11 +121,11 @@
bestehen. Mit dem erneuten Hinzufügen des Bildschirms wird er wieder steuerbar. bestehen. Mit dem erneuten Hinzufügen des Bildschirms wird er wieder steuerbar.
</div> </div>
<div class="flex flex-row justify-end gap-2"> <div class="flex flex-row justify-end gap-2">
<Button className="px-4 font-bold" click_function={popup_close_function}>Abbrechen</Button> <Button className="button space font-bold" click_function={popup_close_function}>
Abbrechen
</Button>
<Button <Button
hover_bg="bg-red-400" className="error button space"
active_bg="bg-red-500"
className="px-4 flex text-red-400 hover:text-stone-100"
click_function={async () => { click_function={async () => {
popup_close_function(); popup_close_function();
await remove_display(display_id); await remove_display(display_id);
+4 -4
View File
@@ -239,11 +239,11 @@
</div> </div>
</div> </div>
<div class="flex flex-row justify-end gap-2"> <div class="flex flex-row justify-end gap-2">
<Button className="px-4 font-bold" click_function={popup_close_function}>Abbrechen</Button> <Button className="button space font-bold" click_function={popup_close_function}>
Abbrechen
</Button>
<Button <Button
hover_bg="bg-red-400" className="button error space"
active_bg="bg-red-500"
className="px-4 flex text-red-400 hover:text-stone-100"
click_function={async () => { click_function={async () => {
popup_close_function(); popup_close_function();
await run_for_selected_files_on_selected_displays( await run_for_selected_files_on_selected_displays(