refactor(NetworkConfigManager): update card layout for items display; enhance responsiveness with Bootstrap grid system
Publish Fast Tabler Docker image / build-and-push-fast (push) Successful in 1m37s
Publish Fast Tabler Docker image / build-and-push-fast (push) Successful in 1m37s
This commit is contained in:
@@ -866,9 +866,11 @@ function NetworkConfigManager() {
|
||||
</div>
|
||||
|
||||
{/* Items */}
|
||||
<div className="d-flex flex-column">
|
||||
<div className="row row-cards">
|
||||
{items.map(item => (
|
||||
type === 'gateway' ? renderGatewayCard(item) : renderInterfaceCard(item, serverId)
|
||||
<div key={item.id} className="col-12 col-md-6 col-lg-4">
|
||||
{type === 'gateway' ? renderGatewayCard(item) : renderInterfaceCard(item, serverId)}
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
@@ -942,7 +944,7 @@ function NetworkConfigManager() {
|
||||
}
|
||||
|
||||
return (
|
||||
<div key={gateway.id} className="card mb-2" style={{ borderRadius: '12px', maxWidth: '100%' }}>
|
||||
<div className="card mb-2" style={{ borderRadius: '12px', maxWidth: '100%' }}>
|
||||
<div className="card-body p-0">
|
||||
<div className="d-flex align-items-stretch">
|
||||
{/* Левая часть: тип индикатора (как в ServerCard) */}
|
||||
@@ -1077,7 +1079,7 @@ function NetworkConfigManager() {
|
||||
const displayIp = displayRemoteIp !== '—' ? displayRemoteIp : displayLocalIp;
|
||||
|
||||
return (
|
||||
<div key={iface.id} className="card mb-2" style={{ borderRadius: '12px', maxWidth: '100%' }}>
|
||||
<div className="card mb-2" style={{ borderRadius: '12px', maxWidth: '100%' }}>
|
||||
<div className="card-body p-0">
|
||||
<div className="d-flex align-items-stretch">
|
||||
{/* Левая часть: тип интерфейса (как в ServerCard) */}
|
||||
|
||||
Reference in New Issue
Block a user