start scripting frontend
All checks were successful
Build and Deploy MITM Webserver / build (push) Successful in 8s

This commit is contained in:
2026-03-01 00:29:05 +01:00
parent 969edeab86
commit 8fe9a06bfa
3 changed files with 496 additions and 22 deletions

View File

@@ -292,7 +292,7 @@ export default function FirewallTables({ tables, error, refreshRules: refresh }:
{tablesToRender.length === 0 && (
<Alert
type="info"
message="No firewall tables found"
title="No firewall tables found"
description="You can create a new table using the button above."
style={{ marginBottom: 12 }}
/>
@@ -310,7 +310,7 @@ export default function FirewallTables({ tables, error, refreshRules: refresh }:
<div style={{ display: 'flex', width: '100%', alignItems: 'center', justifyContent: 'space-between' }}>
<div>
<Title level={5} style={{ margin: 0 }}>
Table "{table.name}"
Table {table.name}
</Title>
<Text type="secondary">
<b>Family:</b> {table.family ?? 'unknown'} &nbsp; <b>Chains:</b> {table.chains.length} &nbsp;{' '}
@@ -405,6 +405,7 @@ export default function FirewallTables({ tables, error, refreshRules: refresh }:
<Space>
<Button
danger
size="small"
icon={<DeleteOutlined />}
onClick={() => handleDeleteChain(table.family, table.name, chain.name)}