forked from cerc-io/laconic-console
Use Moustache to create template and set config in page. Use babel plugins to process GQL (and fix GQL queries). Added service type.
61 lines
1.1 KiB
JavaScript
61 lines
1.1 KiB
JavaScript
//
|
|
// Copyright 2020 DxOS.org
|
|
//
|
|
|
|
import AppsIcon from '@material-ui/icons/Apps';
|
|
import BotsIcon from '@material-ui/icons/Android';
|
|
import StatsIcon from '@material-ui/icons/Equalizer';
|
|
import RegistryIcon from '@material-ui/icons/Language';
|
|
import IPFSIcon from '@material-ui/icons/GraphicEq';
|
|
import ConfigIcon from '@material-ui/icons/Settings';
|
|
import SignalIcon from '@material-ui/icons/Traffic';
|
|
import ServicesIcon from '@material-ui/icons/Storage';
|
|
|
|
export default {
|
|
services: [
|
|
{
|
|
path: '/status',
|
|
title: 'Status',
|
|
icon: StatsIcon
|
|
},
|
|
{
|
|
path: '/wns',
|
|
title: 'WNS',
|
|
icon: RegistryIcon
|
|
},
|
|
{
|
|
path: '/apps',
|
|
title: 'Apps',
|
|
icon: AppsIcon
|
|
},
|
|
{
|
|
path: '/bots',
|
|
title: 'Bots',
|
|
icon: BotsIcon
|
|
},
|
|
{
|
|
path: '/signaling',
|
|
title: 'Signaling',
|
|
icon: SignalIcon
|
|
},
|
|
{
|
|
path: '/ipfs',
|
|
title: 'IPFS',
|
|
icon: IPFSIcon
|
|
}
|
|
],
|
|
|
|
settings: [
|
|
{
|
|
path: '/metadata',
|
|
title: 'Metadata',
|
|
icon: ServicesIcon
|
|
},
|
|
{
|
|
path: '/config',
|
|
title: 'Config',
|
|
icon: ConfigIcon
|
|
}
|
|
]
|
|
};
|