feature: the package installs the Router Manager, which is no longer a package of its own.
Release / release (push) Failing after 4s
Release / release (push) Failing after 4s
This commit is contained in:
1 parent
6d90441bee
commit
8efe21bfa6
129 files changed
+17381
-104
No files matched your search
@@ -0,0 +1,22 @@
|
||||
import { Box } from '@mui/material'
|
||||
import { Board, useBoard, type BoardPanel } from './PanelBoard.tsx'
|
||||
import UpdatesNotice from './UpdatesNotice.tsx'
|
||||
|
||||
/** The localStorage key of the tab's layout. */
|
||||
const LAYOUT_KEY = 'vpn-router-manager.system-layout'
|
||||
|
||||
/**
|
||||
* The router's operating system: the System updates panel lists the packages apt-get upgrade would upgrade, with Check
|
||||
* update and Upgrade (UpdatesNotice with system). The panel is on a PanelBoard whose layout is kept in the browser.
|
||||
*/
|
||||
export default function SystemPanel() {
|
||||
const board = useBoard(LAYOUT_KEY)
|
||||
const panels: BoardPanel[] = [
|
||||
{ id: 'updates', title: 'System updates', wide: true, fixed: true, content: <UpdatesNotice system /> },
|
||||
]
|
||||
return (
|
||||
<Box component="section">
|
||||
<Board board={board} panels={panels} />
|
||||
</Box>
|
||||
)
|
||||
}
|
||||
Reference in new issue
Block a user