ui(admin): add new node page

This commit is contained in:
Matthew Penner 2021-09-12 21:22:33 -06:00
parent 3c01dbbcc5
commit d0a78ec067
No known key found for this signature in database
GPG key ID: 030E4AB751DC756F
15 changed files with 362 additions and 176 deletions

View file

@ -1,3 +1,4 @@
import NodeEditContainer from '@/components/admin/nodes/NodeEditContainer';
import React, { useEffect, useState } from 'react';
import { useLocation } from 'react-router';
import tw from 'twin.macro';
@ -11,7 +12,6 @@ import FlashMessageRender from '@/components/FlashMessageRender';
import { ApplicationStore } from '@/state';
import { SubNavigation, SubNavigationLink } from '@/components/admin/SubNavigation';
import NodeAboutContainer from '@/components/admin/nodes/NodeAboutContainer';
import NodeSettingsContainer from '@/components/admin/nodes/NodeSettingsContainer';
import NodeConfigurationContainer from '@/components/admin/nodes/NodeConfigurationContainer';
import NodeAllocationContainer from '@/components/admin/nodes/NodeAllocationContainer';
import NodeServers from '@/components/admin/nodes/NodeServers';
@ -112,7 +112,7 @@ const NodeRouter = () => {
</Route>
<Route path={`${match.path}/settings`} exact>
<NodeSettingsContainer/>
<NodeEditContainer/>
</Route>
<Route path={`${match.path}/configuration`} exact>