-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add lxd instance frontend, integrate the page and Spice module
- Loading branch information
1 parent
3c990a6
commit fbd7935
Showing
48 changed files
with
12,430 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import { FunctionComponent } from 'react'; | ||
import { InstanceSection } from './instance'; // Assuming InstanceSection is the component we're about to create | ||
|
||
export const InstancePage: FunctionComponent = () => { | ||
return ( | ||
<InstanceSection /> | ||
); | ||
}; |
25 changes: 25 additions & 0 deletions
25
packages/itmat-ui-react/src/components/instance/instance.module.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
.page_container { | ||
/* padding: 2rem; */ | ||
padding: 20px; /* Adjust as needed */ | ||
overflow: auto; /* Ensures that scrolling is possible */ | ||
height: calc(100vh - 100px); | ||
} | ||
|
||
.createButton { | ||
margin-bottom: 1rem; | ||
} | ||
|
||
.table { | ||
margin-top: 1rem; | ||
} | ||
|
||
/* Style for cards, adjust as needed */ | ||
.cardContainer { | ||
max-height: 300px; /* Example height */ | ||
overflow: auto; /* Allows scrolling within the card */ | ||
margin-bottom: 20px; /* Adds space between cards */ | ||
} | ||
|
||
.marginBottom { | ||
margin-bottom: 20px; /* Adjust the value as needed */ | ||
} |
Oops, something went wrong.