Minor tweaks

* use the background-color property instead of the background shorthand
* add multiple classes with one `addClass` call
* rename `underline` to `text-underline`
* use the CSS class `pointer` instead of adding CSS via JS
* change `border-color: transparent` to `border: 0` in the navbar right dropdown image
* add image dimensions in the dropdown donate image
* remove the obsolete and unneeded `center` element from network.php
* remove commented out PHP code from header.php
* fix wrong `form-control` class used in buttons

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
This commit is contained in:
XhmikosR
2020-05-11 16:08:09 +03:00
parent c2f3baf25e
commit 8db0957a28
6 changed files with 29 additions and 47 deletions

View File

@@ -53,11 +53,11 @@ $token = $_SESSION['token'];
<label>Background color: Last query from this device seen ...</label>
<table width="100%">
<tr class="text-center">
<td style="background: #e7ffde;" width="15%">just now</td>
<td style="background-image: linear-gradient(to right, #e7ffde 0%, #ffffdf 100%)" width="30%"><center>... to ...</center></td>
<td style="background: #ffffdf;" width="15%">24 hours ago</td>
<td style="background: #ffedd9;" width="20%">&gt; 24 hours ago</td>
<td style="background: #ffbfaa;" width="20%">Device does not use Pi-hole</td>
<td style="background-color: #e7ffde;" width="15%">just now</td>
<td style="background-image: linear-gradient(to right, #e7ffde 0%, #ffffdf 100%)" width="30%">... to ...</td>
<td style="background-color: #ffffdf;" width="15%">24 hours ago</td>
<td style="background-color: #ffedd9;" width="20%">&gt; 24 hours ago</td>
<td style="background-color: #ffbfaa;" width="20%">Device does not use Pi-hole</td>
</tr>
</table>
</div>