mirror of
https://github.com/itflow-org/itflow
synced 2026-03-07 22:34:52 +00:00
UI Update to rack devices, added a table header to Device Units removed border between action and device
This commit is contained in:
@@ -176,7 +176,15 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
|
|||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
<table class="table table-bordered">
|
<table class="table border">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th class="text-center bg-light px-0 border">U</th>
|
||||||
|
<th class="text-center">Device</th>
|
||||||
|
<th class=""></th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
<?php
|
<?php
|
||||||
// Keep track of which device_ids we've already printed
|
// Keep track of which device_ids we've already printed
|
||||||
$printedDevices = [];
|
$printedDevices = [];
|
||||||
@@ -207,7 +215,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
|
|||||||
?>
|
?>
|
||||||
<tr>
|
<tr>
|
||||||
<!-- Always print the left-hand U #, for reference -->
|
<!-- Always print the left-hand U #, for reference -->
|
||||||
<td class="px-0 text-center bg-light">
|
<td class="px-0 text-center bg-light border">
|
||||||
<?php echo sprintf('%02d', $i); ?>
|
<?php echo sprintf('%02d', $i); ?>
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
@@ -283,7 +291,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
|
|||||||
<?php } ?>
|
<?php } ?>
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
<td class="px-0 text-right">
|
<td class="text-right">
|
||||||
<div class="dropdown dropleft">
|
<div class="dropdown dropleft">
|
||||||
<button class="btn btn-tool" type="button" data-toggle="dropdown">
|
<button class="btn btn-tool" type="button" data-toggle="dropdown">
|
||||||
<i class="fas fa-fw fa-ellipsis-v"></i>
|
<i class="fas fa-fw fa-ellipsis-v"></i>
|
||||||
@@ -312,6 +320,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
|
|||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user