Remove the invalid width="100% attribute

Also, add the missing `table` class in a network table.

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
This commit is contained in:
XhmikosR
2020-05-24 16:13:43 +03:00
parent d3cd52b992
commit 59ea121e07
10 changed files with 53 additions and 53 deletions

View File

@@ -139,7 +139,7 @@ $token = $_SESSION['token'];
</div>
<!-- /.box-header -->
<div class="box-body">
<table id="all-queries" class="table table-striped table-bordered" width="100%">
<table id="all-queries" class="table table-striped table-bordered">
<thead>
<tr>
<th>Time</th>

View File

@@ -72,7 +72,7 @@
</div>
<!-- /.box-header -->
<div class="box-body">
<table id="customDNSTable" class="table table-striped table-bordered" width="100%">
<table id="customDNSTable" class="table table-striped table-bordered">
<thead>
<tr>
<th>Domain</th>

View File

@@ -53,7 +53,7 @@
</div>
<!-- /.box-header -->
<div class="box-body">
<table id="adlistsTable" class="table table-striped table-bordered" width="100%">
<table id="adlistsTable" class="table table-striped table-bordered">
<thead>
<tr>
<th>ID</th>

View File

@@ -55,15 +55,15 @@
</div>
<!-- /.box-header -->
<div class="box-body">
<table id="clientsTable" class="table table-striped table-bordered" width="100%">
<table id="clientsTable" class="table table-striped table-bordered">
<thead>
<tr>
<th>ID</th>
<th>IP address</th>
<th>Comment</th>
<th>Group assignment</th>
<th>Action</th>
</tr>
<tr>
<th>ID</th>
<th>IP address</th>
<th>Comment</th>
<th>Group assignment</th>
<th>Action</th>
</tr>
</thead>
</table>
<button type="button" id="resetButton" class="btn btn-default btn-sm text-red hidden">Reset sorting</button>

View File

@@ -118,17 +118,17 @@
</div>
<!-- /.box-header -->
<div class="box-body">
<table id="domainsTable" class="table table-striped table-bordered" width="100%">
<table id="domainsTable" class="table table-striped table-bordered">
<thead>
<tr>
<th>ID</th>
<th>Domain/RegEx</th>
<th>Type</th>
<th>Status</th>
<th>Comment</th>
<th>Group assignment</th>
<th>Action</th>
</tr>
<tr>
<th>ID</th>
<th>Domain/RegEx</th>
<th>Type</th>
<th>Status</th>
<th>Comment</th>
<th>Group assignment</th>
<th>Action</th>
</tr>
</thead>
</table>
<button type="button" id="resetButton" class="btn btn-default btn-sm text-red hidden">Reset sorting</button>

View File

@@ -52,7 +52,7 @@
</div>
<!-- /.box-header -->
<div class="box-body">
<table id="groupsTable" class="table table-striped table-bordered" width="100%">
<table id="groupsTable" class="table table-striped table-bordered">
<thead>
<tr>
<th>ID</th>

View File

@@ -19,19 +19,19 @@
<div class="box" id="messages-list">
<!-- /.box-header -->
<div class="box-body">
<table id="messagesTable" class="table table-striped table-bordered" width="100%">
<table id="messagesTable" class="table table-striped table-bordered">
<thead>
<tr>
<th>ID</th>
<th>Time</th>
<th>Type</th>
<th>Message</th>
<th>Data1</th>
<th>Data2</th>
<th>Data3</th>
<th>Data4</th>
<th>Data5</th>
</tr>
<tr>
<th>ID</th>
<th>Time</th>
<th>Type</th>
<th>Message</th>
<th>Data1</th>
<th>Data2</th>
<th>Data3</th>
<th>Data4</th>
<th>Data5</th>
</tr>
</thead>
</table>
</div>

View File

@@ -29,7 +29,7 @@ $token = $_SESSION['token'];
</div>
<!-- /.box-header -->
<div class="box-body">
<table id="network-entries" class="table table-striped table-bordered" width="100%">
<table id="network-entries" class="table table-striped table-bordered">
<thead>
<tr>
<th>IP address</th>
@@ -56,15 +56,15 @@ $token = $_SESSION['token'];
</tfoot>
</table>
<label>Background color: Last query from this device seen ...</label>
<table width="100%">
<tr class="text-center">
<td class="network-recent" width="15%">just now</td>
<td class="network-gradient" width="30%">... to ...</td>
<td class="network-old" width="15%">24 hours ago</td>
<td class="network-older" width="20%">&gt; 24 hours ago</td>
<td class="network-never" width="20%">Device does not use Pi-hole</td>
</tr>
</table>
<table class="table text-center">
<tr>
<td class="network-recent" width="15%">just now</td>
<td class="network-gradient" width="30%">... to ...</td>
<td class="network-old" width="15%">24 hours ago</td>
<td class="network-older" width="20%">&gt; 24 hours ago</td>
<td class="network-never" width="20%">Device does not use Pi-hole</td>
</tr>
</table>
</div>
<!-- /.box-body -->
</div>

View File

@@ -122,7 +122,7 @@ if(strlen($showing) > 0)
</div>
<!-- /.box-header -->
<div class="box-body">
<table id="all-queries" class="table table-striped table-bordered" width="100%">
<table id="all-queries" class="table table-striped table-bordered">
<thead>
<tr>
<th>Time</th>

View File

@@ -699,7 +699,7 @@ if (isset($_GET['tab']) && in_array($_GET['tab'], array("sysadmin", "adlists", "
<div class="row">
<div class="col-md-12">
<label>Currently active DHCP leases</label>
<table id="DHCPLeasesTable" class="table table-striped table-bordered nowrap" width="100%">
<table id="DHCPLeasesTable" class="table table-striped table-bordered nowrap">
<thead>
<tr>
<th>MAC address</th>
@@ -728,14 +728,14 @@ if (isset($_GET['tab']) && in_array($_GET['tab'], array("sysadmin", "adlists", "
</div>
<div class="col-md-12">
<label>Static DHCP leases configuration</label>
<table id="DHCPStaticLeasesTable" class="table table-striped table-bordered nowrap" width="100%">
<table id="DHCPStaticLeasesTable" class="table table-striped table-bordered nowrap">
<thead>
<tr>
<th>MAC address</th>
<th>IP address</th>
<th>Hostname</th>
<td></td>
</tr>
<tr>
<th>MAC address</th>
<th>IP address</th>
<th>Hostname</th>
<td></td>
</tr>
</thead>
<tbody>
<?php foreach ($dhcp_static_leases as $lease) { ?>