mirror of
https://codeberg.org/PLG-Development/PLG-MuDiCS
synced 2026-07-06 00:47:09 +00:00
chore(control/ControlView): disable currently unusable buttons
This commit is contained in:
@@ -162,11 +162,13 @@
|
|||||||
}}><ArrowBigRight /></Button
|
}}><ArrowBigRight /></Button
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
className="px-3 flex gap-3 w-75 justify-normal"
|
className="px-3 flex gap-3 w-75 justify-normal"
|
||||||
disabled={$selected_display_ids.length === 0}
|
disabled={$selected_display_ids.length === 0}
|
||||||
click_function={show_text_popup}><TextAlignStart /> Text anzeigen</Button
|
click_function={show_text_popup}><TextAlignStart /> Text anzeigen</Button
|
||||||
>
|
>
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
className="px-3 flex gap-3 w-75 justify-normal"
|
className="px-3 flex gap-3 w-75 justify-normal"
|
||||||
disabled={$selected_display_ids.length === 0}
|
disabled={$selected_display_ids.length === 0}
|
||||||
@@ -174,14 +176,14 @@
|
|||||||
await run_on_all_selected_displays((d) => show_blackscreen(d.ip));
|
await run_on_all_selected_displays((d) => show_blackscreen(d.ip));
|
||||||
}}><Presentation />Blackout</Button
|
}}><Presentation />Blackout</Button
|
||||||
>
|
>
|
||||||
|
|
||||||
<div class="flex flex-row justify-normal">
|
<div class="flex flex-row justify-normal">
|
||||||
<Button
|
<Button className="rounded-r-none pl-3 flex gap-3 grow w-65 justify-normal" disabled>
|
||||||
className="rounded-r-none pl-3 flex gap-3 grow w-65 justify-normal"
|
<TrafficCone /> Fallback-Bild anzeigen
|
||||||
disabled={$selected_display_ids.length === 0}
|
</Button>
|
||||||
><TrafficCone /> Fallback-Bild anzeigen</Button
|
<Button className="rounded-l-none flex grow-0 w-10" disabled><ChevronDown /></Button>
|
||||||
>
|
|
||||||
<Button className="rounded-l-none flex grow-0 w-10"><ChevronDown /></Button>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
className="px-3 flex gap-3 w-75 justify-normal"
|
className="px-3 flex gap-3 w-75 justify-normal"
|
||||||
disabled={$selected_display_ids.length === 0}
|
disabled={$selected_display_ids.length === 0}
|
||||||
@@ -208,11 +210,10 @@
|
|||||||
>
|
>
|
||||||
{/await}
|
{/await}
|
||||||
</div>
|
</div>
|
||||||
<Button
|
<Button className="px-3 flex gap-3 w-full xl:w-75 justify-normal" disabled>
|
||||||
className="px-3 flex gap-3 w-full xl:w-75 justify-normal"
|
<SquareTerminal />
|
||||||
disabled={$selected_display_ids.length === 0}
|
Shell-Befehl ausführen
|
||||||
><SquareTerminal /> Shell-Befehl ausführen</Button
|
</Button>
|
||||||
>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<PopUp
|
<PopUp
|
||||||
|
|||||||
Reference in New Issue
Block a user