mirror of
https://github.com/pi-hole/web.git
synced 2025-12-20 02:38:28 +00:00
Remove trailing slash from void elements
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
This commit is contained in:
@@ -206,7 +206,7 @@ function initCheckboxRadioStyle() {
|
||||
chkboxStyle = "primary";
|
||||
}
|
||||
|
||||
var boxsheet = $('<link href="' + getCheckboxURL(chkboxStyle) + '" rel="stylesheet" />');
|
||||
var boxsheet = $('<link href="' + getCheckboxURL(chkboxStyle) + '" rel="stylesheet">');
|
||||
// Only add the stylesheet if it's not already present
|
||||
if ($("link[href='" + boxsheet.attr("href") + "']").length === 0) boxsheet.appendTo("head");
|
||||
|
||||
|
||||
@@ -181,7 +181,7 @@ $(function () {
|
||||
// MAC + Vendor field if available
|
||||
if (data.macVendor && data.macVendor.length > 0) {
|
||||
$("td:eq(1)", row).html(
|
||||
utils.escapeHtml(data.hwaddr) + "<br/>" + utils.escapeHtml(data.macVendor)
|
||||
utils.escapeHtml(data.hwaddr) + "<br>" + utils.escapeHtml(data.macVendor)
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@@ -17,9 +17,9 @@
|
||||
</div>
|
||||
<div class="pull-left info">
|
||||
<p>Status</p>
|
||||
<span id="status"></span><br/>
|
||||
<span id="query_frequency"></span><br/>
|
||||
<span id="cpu"></span><br/>
|
||||
<span id="status"></span><br>
|
||||
<span id="query_frequency"></span><br>
|
||||
<span id="cpu"></span><br>
|
||||
<span id="memory"></span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -194,7 +194,7 @@ mg.include('scripts/lua/settings_header.lp','r')
|
||||
<div class="col-md-6 col-md-offset-3">
|
||||
<div id="totp_div" class="has-feedback has-error">
|
||||
<div class="pwd-field form-group">
|
||||
<input type="text" size="6" maxlength="6" class="form-control totp_token" id="totp_code" placeholder=""/>
|
||||
<input type="text" size="6" maxlength="6" class="form-control totp_token" id="totp_code" placeholder="">
|
||||
</div>
|
||||
<i class="fa-solid fa-clock-rotate-left pwd-field form-control-feedback"></i>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user