mirror of
https://github.com/itflow-org/itflow
synced 2026-03-28 00:05:40 +00:00
Reduce Padding for Network Interfaces table
This commit is contained in:
@@ -327,13 +327,14 @@ if (isset($_GET['asset_id'])) {
|
|||||||
</div>
|
</div>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<div class="table-responsive-sm">
|
<div class="table-responsive-sm">
|
||||||
<table class="table table-striped table-borderless table-hover">
|
<table class="table table-striped table-borderless table-hover table-sm">
|
||||||
<thead class="<?php if ($interface_count == 0) { echo "d-none"; } ?>">
|
<thead class="<?php if ($interface_count == 0) { echo "d-none"; } ?>">
|
||||||
<tr>
|
<tr>
|
||||||
<th>Name</th>
|
<th>Name</th>
|
||||||
<th>MAC</th>
|
<th>MAC</th>
|
||||||
<th>IP</th>
|
<th>IP</th>
|
||||||
<th>Port</th>
|
<th>Port</th>
|
||||||
|
<th>Network</th>
|
||||||
<th>Connected To</th>
|
<th>Connected To</th>
|
||||||
<th class="text-center">Action</th>
|
<th class="text-center">Action</th>
|
||||||
</tr>
|
</tr>
|
||||||
@@ -367,7 +368,7 @@ if (isset($_GET['asset_id'])) {
|
|||||||
$network_id = intval($row['network_id']);
|
$network_id = intval($row['network_id']);
|
||||||
$network_name = nullable_htmlentities($row['network_name']);
|
$network_name = nullable_htmlentities($row['network_name']);
|
||||||
if ($network_name) {
|
if ($network_name) {
|
||||||
$network_name_display = "<i class='fas fa-fw fa-network-wired mr-2'></i>$network_name";
|
$network_name_display = "<i class='fas fa-fw fa-network-wired mr-1'></i>$network_name";
|
||||||
} else {
|
} else {
|
||||||
$network_name_display = "-";
|
$network_name_display = "-";
|
||||||
}
|
}
|
||||||
@@ -377,7 +378,7 @@ if (isset($_GET['asset_id'])) {
|
|||||||
?>
|
?>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<i class="fa fa-fw fa-ethernet text-secondary mr-2"></i>
|
<i class="fa fa-fw fa-ethernet text-secondary mr-1"></i>
|
||||||
<a class="text-dark" href="#" data-toggle="modal" data-target="#editAssetInterfaceModal<?php echo $interface_id; ?>">
|
<a class="text-dark" href="#" data-toggle="modal" data-target="#editAssetInterfaceModal<?php echo $interface_id; ?>">
|
||||||
<?php echo $interface_name; ?>
|
<?php echo $interface_name; ?>
|
||||||
</a>
|
</a>
|
||||||
@@ -386,6 +387,7 @@ if (isset($_GET['asset_id'])) {
|
|||||||
<td><?php echo $interface_ip_display; ?></td>
|
<td><?php echo $interface_ip_display; ?></td>
|
||||||
<td><?php echo $interface_port_display; ?></td>
|
<td><?php echo $interface_port_display; ?></td>
|
||||||
<td><?php echo $network_name_display; ?></td>
|
<td><?php echo $network_name_display; ?></td>
|
||||||
|
<td>-</td>
|
||||||
<td>
|
<td>
|
||||||
<div class="dropdown dropleft text-center">
|
<div class="dropdown dropleft text-center">
|
||||||
<button class="btn btn-secondary btn-sm" type="button" data-toggle="dropdown">
|
<button class="btn btn-secondary btn-sm" type="button" data-toggle="dropdown">
|
||||||
|
|||||||
Reference in New Issue
Block a user