Ready to implement Virtual Machines management
This commit is contained in:
parent
c7306bdd55
commit
a4a3b36c4e
@ -4,6 +4,7 @@ import { AuthRouteWidget } from "./routes/AuthRouteWidget";
|
||||
import { AsyncWidget } from "./widgets/AsyncWidget";
|
||||
import { MainMenu } from "./widgets/MainMenu";
|
||||
import { SystemInfoWidget } from "./widgets/SystemInfoWidget";
|
||||
import { VirtualMachinesWidget } from "./widgets/VirtualMachinesWidget";
|
||||
|
||||
const useStyles = makeStyles({
|
||||
title: typographyStyles.title2,
|
||||
@ -39,6 +40,7 @@ function AppInner(): React.ReactElement {
|
||||
<span className={styles.title}>VirtWebRemote</span>
|
||||
<MainMenu />
|
||||
</div>
|
||||
<VirtualMachinesWidget />
|
||||
<SystemInfoWidget />
|
||||
</div>
|
||||
);
|
||||
|
@ -58,7 +58,7 @@ function SystemInfoWidgetInner(): React.ReactElement {
|
||||
console.error(e);
|
||||
toast("Error", "Failed to refresh system status!", "error");
|
||||
}
|
||||
}, 1500);
|
||||
}, 5000);
|
||||
return () => clearInterval(interval);
|
||||
});
|
||||
|
||||
|
5
remote_frontend/src/widgets/VirtualMachinesWidget.tsx
Normal file
5
remote_frontend/src/widgets/VirtualMachinesWidget.tsx
Normal file
@ -0,0 +1,5 @@
|
||||
import { SectionContainer } from "./SectionContainer";
|
||||
|
||||
export function VirtualMachinesWidget(): React.ReactElement {
|
||||
return <SectionContainer title="Virtual machines">TODO</SectionContainer>;
|
||||
}
|
Loading…
Reference in New Issue
Block a user