diff --git a/frontend/src/pages/devices/cwmp/[...id].js b/frontend/src/pages/devices/cwmp/[...id].js index 2047b32..8576e49 100644 --- a/frontend/src/pages/devices/cwmp/[...id].js +++ b/frontend/src/pages/devices/cwmp/[...id].js @@ -19,6 +19,9 @@ import DevicePhoneMobile from '@heroicons/react/24/solid/DevicePhoneMobileIcon'; import WrenchScrewDriverIcon from '@heroicons/react/24/outline/WrenchScrewdriverIcon'; import CommandLineIcon from '@heroicons/react/24/outline/CommandLineIcon'; import { DevicesWiFi } from 'src/sections/devices/cwmp/devices-wifi'; +import ArrowTrendingUpIcon from '@heroicons/react/24/outline/ArrowTrendingUpIcon'; +import DocumentTextIcon from '@heroicons/react/24/outline/DocumentTextIcon'; +import MapPinIcon from '@heroicons/react/24/outline/MapPinIcon'; const Page = () => { @@ -52,7 +55,7 @@ const Page = () => { py: 0, }} > - + {[ @@ -79,8 +82,7 @@ const Page = () => { label="Wi-Fi" onClick={()=>{router.push(`/devices/cwmp/${deviceID}/wifi`)}} value={"wifi"} - disabled - /> + style={{opacity:"0.5", cursor:"default"}}/> } @@ -111,23 +113,47 @@ const Page = () => { icon={} iconPosition={"end"} label="Ports" - onClick={()=>{router.push(`/devices/usp/${deviceID}/ports`)}} + onClick={()=>{router.push(`/devices/cwmp/${deviceID}/ports`)}} style={{opacity:"0.5", cursor:"default"}} value={"ports"} /> } + iconPosition={"end"} + label="Historic" + onClick={()=>{router.push(`/devices/cwmp/${deviceID}/historic`)}} + value={"historic"} + style={{opacity:"0.5", cursor:"default"}}/> + + } iconPosition={"end"} label="Actions" - onClick={()=>{router.push(`/devices/usp/${deviceID}/actions`)}} + onClick={()=>{router.push(`/devices/cwmp/${deviceID}/actions`)}} style={{opacity:"0.5", cursor:"default"}} value={"actions"} /> + + } + iconPosition={"end"} + label="Logs" + onClick={()=>{router.push(`/devices/cwmp/${deviceID}/logs`)}} + style={{opacity:"0.5", cursor:"default"}} + value={"logs"} /> + + } + iconPosition={"end"} + label="Location" + onClick={()=>{router.push(`/devices/cwmp/${deviceID}/location`)}} + style={{opacity:"0.5", cursor:"default"}} + value={"location"} /> {router.push(`/devices/cwmp/${deviceID}/msg`)}} icon={} iconPosition={"end"} - label="Remote Messages" /> + label="Messages" />