mirror of
https://github.com/pi-hole/web.git
synced 2026-04-23 02:09:58 +01:00
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:
@@ -283,8 +283,7 @@ $(document).ready(function () {
|
||||
new_tab.focus();
|
||||
}
|
||||
});
|
||||
$("td:eq(4)", row).addClass("underline");
|
||||
$("td:eq(4)", row).addClass("pointer");
|
||||
$("td:eq(4)", row).addClass("text-underline pointer");
|
||||
}
|
||||
|
||||
// Substitute domain by "." if empty
|
||||
@@ -447,7 +446,7 @@ $(document).ready(function () {
|
||||
this.style.color = "";
|
||||
}
|
||||
);
|
||||
api.$("td:eq(1)").css("cursor", "pointer");
|
||||
api.$("td:eq(1)").addClass("pointer");
|
||||
// Domain
|
||||
api.$("td:eq(2)").click(function () {
|
||||
if (autofilter()) {
|
||||
@@ -471,7 +470,7 @@ $(document).ready(function () {
|
||||
this.style.color = "";
|
||||
}
|
||||
);
|
||||
api.$("td:eq(2)").css("cursor", "pointer");
|
||||
api.$("td:eq(2)").addClass("pointer");
|
||||
// Client
|
||||
api.$("td:eq(3)").click(function () {
|
||||
if (autofilter()) {
|
||||
@@ -493,7 +492,7 @@ $(document).ready(function () {
|
||||
this.style.color = "";
|
||||
}
|
||||
);
|
||||
api.$("td:eq(3)").css("cursor", "pointer");
|
||||
api.$("td:eq(3)").addClass("pointer");
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user