feat: rebranded from vpn-router to linux-manager.
This commit is contained in:
1 parent
8efe21bfa6
commit
85a1ffa21f
238 files changed
+5010
-3761
No files matched your search
@@ -1,11 +1,11 @@
|
||||
import Refresh from '@mui/icons-material/Refresh'
|
||||
import { Alert, Box, Button, Typography } from '@mui/material'
|
||||
import { Pairs, Section, text } from './RouterPanel.tsx'
|
||||
import { Pairs, Section, text } from './ServerPanel.tsx'
|
||||
import Toolbar from './Toolbar.tsx'
|
||||
import { DETAILS_SHAPE, STATUS_SHAPE, request, type RouterDetails, type RouterStatus } from './api.ts'
|
||||
import { useRead } from './useRead.ts'
|
||||
|
||||
/** Reads the router's /status/full and /config. */
|
||||
/** Reads the server's /status/full and /config. */
|
||||
const readDocker = async () => {
|
||||
const [status, details] = await Promise.all([
|
||||
request<RouterStatus>('GET', '/status/full', STATUS_SHAPE),
|
||||
@@ -15,8 +15,8 @@ const readDocker = async () => {
|
||||
}
|
||||
|
||||
/**
|
||||
* The state of Docker on the router: whether it is installed, the state of docker.service and of the router's Docker
|
||||
* rules, from /status/full, and the ports exposed on the external interface and the rules of the VPN-ROUTER-DOCKER
|
||||
* The state of Docker on the server: whether it is installed, the state of docker.service and of the server's Docker
|
||||
* rules, from /status/full, and the ports exposed on the external interface and the rules of the LINUX-MANAGER-DOCKER
|
||||
* chain, from /config.
|
||||
*/
|
||||
export default function DockerPanel() {
|
||||
@@ -42,7 +42,7 @@ export default function DockerPanel() {
|
||||
]}
|
||||
/>
|
||||
</Section>
|
||||
<Section title="Rules of VPN-ROUTER-DOCKER">
|
||||
<Section title="Rules of LINUX-MANAGER-DOCKER">
|
||||
{details.docker.rules === null
|
||||
? <Typography variant="body2" color="text.secondary">Not available.</Typography>
|
||||
: (
|
||||
|
||||
Reference in new issue
Block a user