mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-26 10:13:44 +02:00
feat(ssh-keys): add ssh key endpoints and ui components
This commit is contained in:
@@ -6,6 +6,7 @@ import DashboardContainer from '@/components/dashboard/DashboardContainer';
|
||||
import AccountOverviewContainer from '@/components/dashboard/AccountOverviewContainer';
|
||||
import AccountApiContainer from '@/components/dashboard/AccountApiContainer';
|
||||
import SecurityKeyContainer from '@/components/dashboard/SecurityKeyContainer';
|
||||
import SSHKeyContainer from '@/components/dashboard/SSHKeyContainer';
|
||||
import { NotFound } from '@/components/elements/ScreenBlock';
|
||||
import SubNavigation from '@/components/elements/SubNavigation';
|
||||
|
||||
@@ -18,6 +19,7 @@ export default ({ location }: RouteComponentProps) => (
|
||||
<NavLink to={'/account'} exact>Settings</NavLink>
|
||||
<NavLink to={'/account/api'}>API Credentials</NavLink>
|
||||
<NavLink to={'/account/keys/security'}>Security Keys</NavLink>
|
||||
<NavLink to={'/account/keys/ssh'}>SSH Keys</NavLink>
|
||||
</div>
|
||||
</SubNavigation>
|
||||
}
|
||||
@@ -35,6 +37,9 @@ export default ({ location }: RouteComponentProps) => (
|
||||
<Route path={'/account/keys/security'} exact>
|
||||
<SecurityKeyContainer/>
|
||||
</Route>
|
||||
<Route path={'/account/keys/ssh'} exact>
|
||||
<SSHKeyContainer/>
|
||||
</Route>
|
||||
<Route path={'*'}>
|
||||
<NotFound/>
|
||||
</Route>
|
||||
|
||||
Reference in New Issue
Block a user