Skip to content

Commit

Permalink
[CLIENT] Format fix
Browse files Browse the repository at this point in the history
  • Loading branch information
HakkaOfDev committed Mar 23, 2022
1 parent 670a182 commit 4db68c3
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 9 deletions.
4 changes: 4 additions & 0 deletions client/pages/admin/devices.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ const DeviceItem = ({
<Td>
<Text>{displayName}</Text>
</Td>
<Td>
<Text>{onuId}</Text>
</Td>
<Td>
<Text>{macAddress}</Text>
</Td>
Expand Down Expand Up @@ -158,6 +161,7 @@ const DevicesPage = () => {
<Tr>
<Th>TYPE</Th>
<Th>DISPLAY NAME</Th>
<Th>ID</Th>
<Th>MAC ADDRESS</Th>
<Th>IP ADDRESS</Th>
<Th>DISTANCE</Th>
Expand Down
21 changes: 13 additions & 8 deletions client/pages/admin/documentation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,30 +7,35 @@ const DocumentationPage = () => {
return (
<PageLayout title='Settings' description='Manage your app.'>
<VStack spacing={3} justify='start' w='100%'>
<Heading fontSize='lg'>Documentation</Heading>
<Heading fontSize='md'>Installation</Heading>
<Heading>Documentation</Heading>
<Heading fontSize='lg'>Installation</Heading>
<Text>
You can find a complete guide about the installation on the{' '}
<ExternalLink href='https://github.com/HakkaOfDev/AC-Vision'>
GitHub repository
</ExternalLink>
.
</Text>
<Heading fontSize='md'>Workflow</Heading>
<Heading fontSize='lg'>Workflow</Heading>
<Text>
The workflow have controls, zoom, a locker to lock the position of items and a resizer to fit the view. Go on
<InlineLink href='/admin/workflow'>Map Page</InlineLink> and try by yourself.
The workflow have controls, zoom, a locker to lock the position of
items and a resizer to fit the view. Go on{' '}
<InlineLink href='/admin/workflow'>Map Page</InlineLink> and try by
yourself.
</Text>
<Heading fontSize='md'>Settings</Heading>
<Heading fontSize='lg'>Settings</Heading>
<Text>
Two seetings are presents on the application. The first is{' '}
<Code>OLT IP</Code>, it permit to change the OLT IP in case the IP
will be changed. To change it, go on{' '}
<InlineLink href='/admin/settings'>Settings Page</InlineLink>, enter
the new IP on the input and press on the button right on it.<br></br>
The second is the <Code>ONU's displayName</Code>, same as first, select your ONU
from his ID, insert his new displayName and press the button.
The second is the <Code>ONU's displayName</Code>, same as first,
select your ONU from his ID, insert his new displayName and press the
button.
</Text>
<Heading fontSize='lg'>Theming</Heading>
<Text>You can change your theme by clicking on the lune or sun icon on the top navbar.</Text>
</VStack>
</PageLayout>
);
Expand Down
1 change: 0 additions & 1 deletion client/pages/admin/workflow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ const WorkflowPage = () => {
socket.on('ONU', async (data: Notification) => {
await fetch('http://ac-vision/api/v1.0/ressources/map/update');
await updateNetwork(false);
console.log('Data received');
toast({
title: `ONU ${data.onuid} ${data.status} on gponPort ${data.gponPort}`,
description: data.reason
Expand Down

0 comments on commit 4db68c3

Please sign in to comment.