mirror of
https://github.com/bunny-lab-io/Borealis.git
synced 2025-10-26 15:21:57 -06:00
Assembly GUI Re-Styling
This commit is contained in:
@@ -1 +0,0 @@
|
||||
Test
|
||||
@@ -1,8 +0,0 @@
|
||||
# Dynamically get the current user's Desktop path
|
||||
$desktopPath = "C:\Users\nicole.rappe\Desktop"
|
||||
|
||||
# Define the file path relative to the Desktop
|
||||
$filePath = Join-Path $desktopPath "Canary.txt"
|
||||
|
||||
# Write some content into the file
|
||||
"USER Canary is alive." | Out-File -FilePath $filePath -Encoding UTF8
|
||||
File diff suppressed because one or more lines are too long
@@ -651,14 +651,15 @@ function ScriptsLikeIsland({
|
||||
|
||||
export default function AssemblyList({ onOpenWorkflow, onOpenScript }) {
|
||||
return (
|
||||
<Paper sx={{ m: 2, p: 2, bgcolor: '#1e1e1e' }} elevation={2}>
|
||||
<Box sx={{ mb: 2 }}>
|
||||
<Typography variant="h5" sx={{ color: '#e6edf3', mb: 0.5 }}>Assemblies</Typography>
|
||||
<Paper sx={{ m: 2, p: 0, bgcolor: '#1e1e1e' }} elevation={2}>
|
||||
<Box sx={{ p: 2, pb: 1 }}>
|
||||
<Typography variant="h6" sx={{ color: '#58a6ff', mb: 0 }}>Assemblies</Typography>
|
||||
<Typography variant="body2" sx={{ color: '#aaa' }}>Collections of components used to perform various actions upon targeted devices.</Typography>
|
||||
</Box>
|
||||
<Box sx={{ display: 'grid', gridTemplateColumns: { xs: '1fr', md: '1.2fr 1fr 1fr' }, gap: 2 }}>
|
||||
{/* Left: Workflows */}
|
||||
<WorkflowsIsland onOpenWorkflow={onOpenWorkflow} />
|
||||
<Box sx={{ px: 2, pb: 2 }}>
|
||||
<Box sx={{ display: 'grid', gridTemplateColumns: { xs: '1fr', md: '1.2fr 1fr 1fr' }, gap: 2 }}>
|
||||
{/* Left: Workflows */}
|
||||
<WorkflowsIsland onOpenWorkflow={onOpenWorkflow} />
|
||||
|
||||
{/* Middle: Scripts */}
|
||||
<ScriptsLikeIsland
|
||||
@@ -679,6 +680,7 @@ export default function AssemblyList({ onOpenWorkflow, onOpenScript }) {
|
||||
newItemLabel="New Playbook"
|
||||
onEdit={(rel) => onOpenScript && onOpenScript(rel, 'ansible')}
|
||||
/>
|
||||
</Box>
|
||||
</Box>
|
||||
</Paper>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user