diff --git a/Data/Server/WebUI/src/Assemblies/Assembly_List.jsx b/Data/Server/WebUI/src/Assemblies/Assembly_List.jsx index cc9da02..36d92d6 100644 --- a/Data/Server/WebUI/src/Assemblies/Assembly_List.jsx +++ b/Data/Server/WebUI/src/Assemblies/Assembly_List.jsx @@ -13,16 +13,48 @@ import { ConfirmDeleteDialog } from "../Dialogs"; -// Generic Island wrapper to mimic Device_Details styling -const Island = ({ title, description, icon, children, sx }) => ( - - - {icon ? {icon} : null} - {title} +// Generic Island wrapper with large icon, stacked title/description, and actions on the right +const Island = ({ title, description, icon, actions, children, sx }) => ( + + + + {icon ? ( + + {icon} + + ) : null} + + + {title} + + {description ? ( + + {description} + + ) : null} + + + {actions ? ( + + {actions} + + ) : null} - {description ? ( - {description} - ) : null} {children} ); @@ -275,7 +307,26 @@ function WorkflowsIsland({ onOpenWorkflow }) { const rootChildIds = tree[0]?.children?.map((c) => c.id) || []; return ( - }> + } + actions={ + + } + > { if (dragNode) e.preventDefault(); }} @@ -573,12 +624,21 @@ function ScriptsLikeIsland({ const rootChildIds = tree[0]?.children?.map((c) => c.id) || []; return ( - : }> - - - + } + > { if (dragNode) e.preventDefault(); }}