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
@@ -9,20 +9,20 @@ import {
|
||||
} from '@mui/material'
|
||||
import { useCallback, useEffect, useState } from 'react'
|
||||
import ConfirmDialog, { type ConfirmDialogProps } from './ConfirmDialog.tsx'
|
||||
import { Section } from './RouterPanel.tsx'
|
||||
import { Section } from './ServerPanel.tsx'
|
||||
import SiteToSiteDialog from './SiteToSiteDialog.tsx'
|
||||
import Toolbar from './Toolbar.tsx'
|
||||
import {
|
||||
ApiError, REMOVED_SHAPE, SITE_TO_SITE_CONNECTION_SHAPE, SITE_TO_SITE_SHAPE, request, type SiteToSiteConnection,
|
||||
} from './api.ts'
|
||||
|
||||
/** The note shown after a change, which the router applies when vpn-router-setup has run again. */
|
||||
const APPLIED = 'The router applies the change in the background; Established follows once the tunnel is up again.'
|
||||
/** The note shown after a change, which the server applies when linux-manager-setup has run again. */
|
||||
const APPLIED = 'The server applies the change in the background; Established follows once the tunnel is up again.'
|
||||
|
||||
/**
|
||||
* The router's site-to-site connections: list with their remote peers, subnets, local identity mode, authentication
|
||||
* The server's site-to-site connections: list with their remote peers, subnets, local identity mode, authentication
|
||||
* (whether a pre-shared key is set, or which CA the peer's certificate comes from) and whether the tunnel is
|
||||
* established; add, edit and remove. The router applies a change by
|
||||
* established; add, edit and remove. The server applies a change by
|
||||
* running its setup again, so the list is read again after each.
|
||||
*/
|
||||
export default function SiteToSitePanel() {
|
||||
@@ -131,7 +131,7 @@ export default function SiteToSitePanel() {
|
||||
</TableCell>
|
||||
<TableCell>
|
||||
{connection.established === null
|
||||
? <Tooltip title="The router cannot tell."><span>-</span></Tooltip>
|
||||
? <Tooltip title="The server cannot tell."><span>-</span></Tooltip>
|
||||
: connection.established
|
||||
? <CheckCircle fontSize="small" color="success" aria-label="established" />
|
||||
: <Cancel fontSize="small" color="error" aria-label="not established" />}
|
||||
|
||||
Reference in new issue
Block a user