From d944d0d2ff26ff757bc47b5ab6d4f29fc1f56fce Mon Sep 17 00:00:00 2001 From: NOYB Date: Fri, 12 Jan 2018 04:07:46 -0800 Subject: [PATCH] HTML Compliance - Lobby: Dashboard Widgets (#2082) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Error: Attribute alt not allowed on element span at this point. Error: Table columns in range 2…4 established by element td have no cells beginning in them. Error: Self-closing syntax (/>) used on a non-void HTML element. Ignoring the slash and treating as a start tag. Error: Row 1 of a row group established by a tbody element has no cells beginning on it. Warning: A table row was 0 columns wide, which is less than the column count established by the first row (5). Error: Duplicate ID submita. Error: Bad value 100% for attribute width on element img: Expected a digit but saw % instead. Error: Bad value 100% for attribute height on element img: Expected a digit but saw % instead. Warning: The border attribute is obsolete. Consider specifying img { border: 0; } in CSS instead. Avoid potential future Error: Duplicate ID submit. Error: Attribute autocomplete is only allowed when the input type is color, date, datetime-local, email, hidden, month, number, password, range, search, tel, text, time, url, or week. --- src/www/widgets/widgets/interface_list.widget.php | 10 +++++----- src/www/widgets/widgets/ipsec.widget.php | 2 +- src/www/widgets/widgets/log.widget.php | 4 +++- src/www/widgets/widgets/picture.widget.php | 4 ++-- src/www/widgets/widgets/system_log.widget.php | 2 +- 5 files changed, 12 insertions(+), 10 deletions(-) diff --git a/src/www/widgets/widgets/interface_list.widget.php b/src/www/widgets/widgets/interface_list.widget.php index c59113aee..50f939e33 100644 --- a/src/www/widgets/widgets/interface_list.widget.php +++ b/src/www/widgets/widgets/interface_list.widget.php @@ -77,24 +77,24 @@ require_once("interfaces.inc"); - + - + - + - + - + - - + + +
+ diff --git a/src/www/widgets/widgets/log.widget.php b/src/www/widgets/widgets/log.widget.php index eb15709e7..be473d2e4 100644 --- a/src/www/widgets/widgets/log.widget.php +++ b/src/www/widgets/widgets/log.widget.php @@ -231,6 +231,8 @@ $nentriesinterfaces = isset($config['widgets']['filterlogentriesinterfaces']) ?
diff --git a/src/www/widgets/widgets/picture.widget.php b/src/www/widgets/widgets/picture.widget.php index 11fbc847b..76873f035 100644 --- a/src/www/widgets/widgets/picture.widget.php +++ b/src/www/widgets/widgets/picture.widget.php @@ -76,7 +76,7 @@ if ($_POST) { - + @@ -88,7 +88,7 @@ if ($_POST) { if ($config['widgets']['picturewidget_filename'] != "") :?>
- picture + picture
- +