diff options
author | NOYB <Al_Stu@Frontier.com> | 2015-12-16 03:59:30 -0800 |
---|---|---|
committer | NOYB <Al_Stu@Frontier.com> | 2015-12-16 03:59:30 -0800 |
commit | 726d1bc1ec10274c2ca259fdda2931727e1fcd38 (patch) | |
tree | a54e0a7b009338cf63271c017fe61151f86f549e /src/usr/local | |
parent | 6b55a30f4b202d9593878a1e9ccc89e31792e311 (diff) | |
download | pfsense-726d1bc1ec10274c2ca259fdda2931727e1fcd38.zip pfsense-726d1bc1ec10274c2ca259fdda2931727e1fcd38.tar.gz |
HTML Compliance - Log Widget
The for attribute of the label element must refer to a non-hidden form control.
Added id tag to form control.
Diffstat (limited to 'src/usr/local')
-rw-r--r-- | src/usr/local/www/widgets/widgets/log.widget.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/widgets/widgets/log.widget.php b/src/usr/local/www/widgets/widgets/log.widget.php index 1d5874f..753e19d 100644 --- a/src/usr/local/www/widgets/widgets/log.widget.php +++ b/src/usr/local/www/widgets/widgets/log.widget.php @@ -229,7 +229,7 @@ events.push(function(){ <label for="filterlogentries" class="col-sm-4 control-label">Number of entries</label> <div class="col-sm-6"> - <input type="number" name="filterlogentries" value="<?=$nentries?>" + <input type="number" name="filterlogentries" id="filterlogentries" value="<?=$nentries?>" min="1" max="20" class="form-control" /> </div> </div> @@ -251,7 +251,7 @@ events.push(function(){ <label for="filterlogentriesinterfaces" class="col-sm-4 control-label">Filter interface</label> <div class="col-sm-6 checkbox"> - <select name="filterlogentriesinterfaces" class="form-control"> + <select name="filterlogentriesinterfaces" id="filterlogentriesinterfaces" class="form-control"> <?php foreach (array("All" => "ALL") + get_configured_interface_with_descr() as $iface => $ifacename):?> <option value="<?=$iface?>" <?=($nentriesinterfaces==$iface?'selected':'')?>><?=htmlspecialchars($ifacename)?></option> |