HTML hidden attribute does not need a value.

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
This commit is contained in:
XhmikosR
2020-05-16 19:02:52 +03:00
parent b2aaf2bbd1
commit b20b6797c1
8 changed files with 15 additions and 15 deletions

View File

@@ -530,7 +530,7 @@ if($auth) {
</ul>
</li>
<!-- Toggle -->
<li id="pihole-disable" class="treeview"<?php if ($pistatus == "0") { ?> hidden="true"<?php } ?>>
<li id="pihole-disable" class="treeview"<?php if ($pistatus == "0") { ?> hidden<?php } ?>>
<a href="#">
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
@@ -566,7 +566,7 @@ if($auth) {
</ul>
<!-- <a href="#" id="flip-status"><i class="fa fa-stop"></i> <span>Disable</span></a> -->
</li>
<li id="pihole-enable" class="treeview"<?php if ($pistatus == "1") { ?> hidden="true"<?php } ?>>
<li id="pihole-enable" class="treeview"<?php if ($pistatus == "1") { ?> hidden<?php } ?>>
<a href="#">
<i class="fa fa-play"></i>
<span id="enableLabel">Enable&nbsp;&nbsp;&nbsp;