removed debug from pages

This commit is contained in:
srgooglo 2021-01-05 08:17:20 +01:00
parent 510ef113bb
commit 1eee78505a
2 changed files with 0 additions and 108 deletions

View File

@ -1,63 +0,0 @@
import React from 'react'
import * as Icons from 'components/Icons'
import { ListedMenu } from 'components'
import CoreDebug from 'debuggers/core'
import ThemeDebug from 'debuggers/theme'
import SocketDebug from 'debuggers/socket'
import VerbosityDebug from 'debuggers/verbosity'
import InternalDebug from 'debuggers/internals'
import ContextMenuDebug from 'debuggers/contextmenu.js'
const Debuggers = {
core: <CoreDebug />,
theme: <ThemeDebug />,
socket: <SocketDebug />,
verbosity: <VerbosityDebug />,
internals: <InternalDebug />,
contextMenu: <ContextMenuDebug />,
}
const menuList = [
{
key: "api",
title: "API V3 Requester",
icon: <Icons.Globe />,
},
{
key: "core",
title: "Core",
icon: <Icons.Box />
},
{
key: "theme",
title: "Theme",
icon: <Icons.Image />
},
{
key: "socket",
title: "Socket",
icon: <Icons.Box />
},
{
key: "contextMenu",
title: "contextMenu",
icon: <Icons.Menu />
},
{
key: "verbosity",
title: "Verbosity",
icon: <Icons.Edit3 />
},
{
key: "internals",
title: "Internals",
icon: <Icons.Box />
}
]
export default class Debug extends React.Component {
render() {
return <ListedMenu wrapperStyle={{ padding: "4px" }} mode="horizontal" renderOptionTitle={false} icon={<Icons.Activity />} title="Debug" childrens={Debuggers} menuArray={menuList} />
}
}

View File

@ -1,45 +0,0 @@
@import '~theme/index.less';
.main {
font-family: "Nunito", sans-serif;
margin: 20px 0 0;
display: flex;
flex-direction: column;
width: 100%;
height: auto;
overflow: auto;
color: @__Global_layout_color;
background-color: #ffffff;
padding: 15px;
border-radius: 10px;
.debuggerComponent {
padding: 15px;
}
:global {
.ant-menu-inline {
color: @__Global_layout_color;
background-color: transparent;
border: none;
}
.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected {
font-weight: bold;
}
.ant-list-item {
padding-top: 7px;
padding-bottom: 7px;
}
.ant-list-split .ant-list-item {
border-bottom: 0;
}
.ant-list-item-meta-title {
color: rgba(0, 0, 0, 0.733);
font-size: 14px;
}
}
}