Fixed regex View
This commit is contained in:
@@ -1,13 +1,13 @@
|
|||||||
{
|
{
|
||||||
"files": {
|
"files": {
|
||||||
"main.css": "/static/css/main.166875ec.css",
|
"main.css": "/static/css/main.166875ec.css",
|
||||||
"main.js": "/static/js/main.703a556c.js",
|
"main.js": "/static/js/main.414c65b7.js",
|
||||||
"index.html": "/index.html",
|
"index.html": "/index.html",
|
||||||
"main.166875ec.css.map": "/static/css/main.166875ec.css.map",
|
"main.166875ec.css.map": "/static/css/main.166875ec.css.map",
|
||||||
"main.703a556c.js.map": "/static/js/main.703a556c.js.map"
|
"main.414c65b7.js.map": "/static/js/main.414c65b7.js.map"
|
||||||
},
|
},
|
||||||
"entrypoints": [
|
"entrypoints": [
|
||||||
"static/css/main.166875ec.css",
|
"static/css/main.166875ec.css",
|
||||||
"static/js/main.703a556c.js"
|
"static/js/main.414c65b7.js"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -1 +1 @@
|
|||||||
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"><link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png"><link rel="manifest" href="/site.webmanifest"><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#FFFFFFFF"/><meta name="description" content="Firegex by Pwnzer0tt1"/><title>Firegex</title><script defer="defer" src="/static/js/main.703a556c.js"></script><link href="/static/css/main.166875ec.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
|
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"><link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png"><link rel="manifest" href="/site.webmanifest"><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#FFFFFFFF"/><meta name="description" content="Firegex by Pwnzer0tt1"/><title>Firegex</title><script defer="defer" src="/static/js/main.414c65b7.js"></script><link href="/static/css/main.166875ec.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
|
||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -12,7 +12,7 @@ function MainLayout({ children }:{ children:any }) {
|
|||||||
<Tabs.Tab label="Netfilter regex"></Tabs.Tab>
|
<Tabs.Tab label="Netfilter regex"></Tabs.Tab>
|
||||||
</Tabs>
|
</Tabs>
|
||||||
<Space h="xl" />
|
<Space h="xl" />
|
||||||
<Container size="md" style={{minHeight:"57.5vh"}}>
|
<Container size="lg" style={{minHeight:"57.5vh"}}>
|
||||||
{children}
|
{children}
|
||||||
</Container>
|
</Container>
|
||||||
<Space h="xl" />
|
<Space h="xl" />
|
||||||
|
|||||||
@@ -68,27 +68,25 @@ function RegexView({ regexInfo }:{ regexInfo:RegexFilter }) {
|
|||||||
</Tooltip>
|
</Tooltip>
|
||||||
|
|
||||||
</Grid.Col>
|
</Grid.Col>
|
||||||
<Grid.Col span={2} />
|
<Grid.Col className='center-flex' span={12}>
|
||||||
<Grid.Col className='center-flex-row' span={4}>
|
<div className='center-flex-row'>
|
||||||
<Space h="xs" />
|
<FilterTypeSelector
|
||||||
<FilterTypeSelector
|
size="md"
|
||||||
size="md"
|
color="gray"
|
||||||
color="gray"
|
disabled
|
||||||
disabled
|
value={regexInfo.is_blacklist?"blacklist":"whitelist"}
|
||||||
value={regexInfo.is_blacklist?"blacklist":"whitelist"}
|
/>
|
||||||
/>
|
<Space h="md" />
|
||||||
<Space h="md" />
|
<div className='center-flex'>
|
||||||
<div className='center-flex'>
|
<Badge size="md" color="cyan" variant="filled">Service: {regexInfo.service_id}</Badge>
|
||||||
<Badge size="md" color="cyan" variant="filled">Service: {regexInfo.service_id}</Badge>
|
<Space w="xs" />
|
||||||
<Space w="xs" />
|
<Badge size="md" color={regexInfo.active?"lime":"red"} variant="filled">{regexInfo.active?"ACTIVE":"DISABLED"}</Badge>
|
||||||
<Badge size="md" color={regexInfo.active?"lime":"red"} variant="filled">{regexInfo.active?"ACTIVE":"DISABLED"}</Badge>
|
<Space w="xs" />
|
||||||
<Space w="xs" />
|
<Badge size="md" color="gray" variant="filled">ID: {regexInfo.id}</Badge>
|
||||||
<Badge size="md" color="gray" variant="filled">ID: {regexInfo.id}</Badge>
|
|
||||||
|
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</Grid.Col>
|
<div className='flex-spacer' />
|
||||||
<Grid.Col style={{width:"100%"}} span={6}>
|
|
||||||
<Space h="xs" />
|
|
||||||
<div className='center-flex-row'>
|
<div className='center-flex-row'>
|
||||||
<Badge size="md" color={regexInfo.is_case_sensitive?"grape":"pink"} variant="filled">Case: {regexInfo.is_case_sensitive?"SENSIIVE":"INSENSITIVE"}</Badge>
|
<Badge size="md" color={regexInfo.is_case_sensitive?"grape":"pink"} variant="filled">Case: {regexInfo.is_case_sensitive?"SENSIIVE":"INSENSITIVE"}</Badge>
|
||||||
<Space h="xs" />
|
<Space h="xs" />
|
||||||
|
|||||||
Reference in New Issue
Block a user