Maintaining CSS

This commit is contained in:
leiweibau
2022-06-03 21:10:02 +02:00
parent 2c9bc54010
commit ea758b4f5b
3 changed files with 15 additions and 20 deletions

View File

@@ -452,3 +452,6 @@
display: none;
}
.dbtools-button {
margin: 5px; display: inline-block; width: 140px; height: 140px; white-space: normal; word-wrap: break-word; font-size: 16px; border-radius: 10px;
}

View File

@@ -28,27 +28,19 @@
</section>
<!-- Main content ---------------------------------------------------------- -->
<section class="content">
<section class="content" style="min-height: 500px;">
<div class="col-xs-12" style="text-align:center;">
<div class="center">
<button type="button" class="btn btn-default pa-btn pa-btn-delete" style="margin-left:0px; margin-bottom: 5px; margin-top: 5px;"
id="btnDeleteMAC" onclick="askDeleteDevicesWithEmptyMACs()"> Delete Devices with empty MACs </button>
</div>
<div class="center">
<button type="button" class="btn btn-default pa-btn pa-btn-delete" style="margin-left:0px; margin-bottom: 5px; margin-top: 5px;"
id="btnDeleteMAC" onclick="askDeleteAllDevices()"> Delete All Devices </button>
</div>
<div class="center">
<button type="button" class="btn btn-default pa-btn pa-btn-delete" style="margin-left:0px; margin-bottom: 5px; margin-top: 5px;"
id="btnDeleteUnknown" onclick="askDeleteUnknown()"> Delete (unknown) Devices </button>
</div>
<div class="center">
<button type="button" class="btn btn-default pa-btn pa-btn-delete" style="margin-left:0px; margin-bottom: 5px; margin-top: 5px;"
id="btnDeleteEvents" onclick="askDeleteEvents()"> Delete all Events </button>
</div>
<div class="col-xs-12" style="text-align:center; padding-top: 10px;">
<button type="button" class="btn btn-default pa-btn pa-btn-delete bg-red dbtools-button" id="btnDeleteMAC" style="border-top: solid 3px #dd4b39;" onclick="askDeleteDevicesWithEmptyMACs()">Delete Devices with empty MACs</button>
<button type="button" class="btn btn-default pa-btn pa-btn-delete bg-red dbtools-button" id="btnDeleteMAC" style="border-top: solid 3px #dd4b39;" onclick="askDeleteAllDevices()">Delete All Devices</button>
<button type="button" class="btn btn-default pa-btn pa-btn-delete bg-red dbtools-button" id="btnDeleteUnknown" style="border-top: solid 3px #dd4b39;" onclick="askDeleteUnknown()">Delete (unknown) Devices</button>
<button type="button" class="btn btn-default pa-btn pa-btn-delete bg-red dbtools-button" id="btnDeleteEvents" style="border-top: solid 3px #dd4b39;" onclick="askDeleteEvents()">Delete all Events (Reset Presence)</button>
</div>

View File

@@ -188,7 +188,7 @@ if ($ENABLED_DARKMODE === True) {
<li class=" <?php if (in_array (basename($_SERVER['SCRIPT_NAME']), array('devices.php', 'deviceDetails.php') ) ){ echo 'active'; } ?>">
<a href="devices.php"><i class="fa fa-laptop"></i> <span>Devices</span></a>
</li>
<!--
<li><a href="devices.php?status=favorites"><i class="fa fa-star"></i> <span>Favorites Devices</span></a></li>
-->