mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-11-29 11:26:25 -05:00
Creating shutdown and restart buttons.
This commit is contained in:
parent
9dbd43cfdd
commit
2537017039
11 changed files with 198 additions and 14 deletions
|
|
@ -6,7 +6,7 @@ import {Route, Routes} from "react-router-dom";
|
|||
import {ThemeContext} from "../../contexts/contexts";
|
||||
import {Header, Loader, Segment} from "../Theme";
|
||||
import {DownloadsPage} from "./Downloads";
|
||||
import {Settings} from "./Settings";
|
||||
import {SettingsPage} from "./Settings";
|
||||
import {Status} from "./Status";
|
||||
|
||||
class WROLMode extends React.Component {
|
||||
|
|
@ -78,7 +78,7 @@ export default function AdminRoute() {
|
|||
<TabLinks links={links}/>
|
||||
<Routes>
|
||||
<Route path='/' exact element={<DownloadsPage/>}/>
|
||||
<Route path='settings' exact element={<Settings/>}/>
|
||||
<Route path='settings' exact element={<SettingsPage/>}/>
|
||||
<Route path='status' exact element={<Status/>}/>
|
||||
<Route path='wrol' exact element={<WROLMode/>}/>
|
||||
</Routes>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue