The "Helper Icons" at the top right of some service pages at present produces 30+ HTML errors/warnings, this is due to the table cell being wrapped in a span statement then in a div statement, table cells can only be part of a table row then within a table statement.
- remove the table cell definitions from /etc/inc/service-utils.inc - add the table cell definition from /etc/inc/service-utils.inc to /usr/local/www/status_services.php and add some logic to determine if the service is running which will then determine which class statement to use and pad the icon with a space - apply the same table cell definition and logic as above to /usr/local/www/widgets/widgets/services_status.widget.php
Tidy up the "Helper Icons"
The "Helper Icons" at the top right of some service pages at present
produces 30+ HTML errors/warnings, this is due to the table cell being
wrapped in a span statement then in a div statement, table cells can
only be part of a table row then within a table statement.
- remove the table cell definitions from /etc/inc/service-utils.inc
- add the table cell definition from /etc/inc/service-utils.inc to
/usr/local/www/status_services.php and add some logic to determine if
the service is running which will then determine which class statement
to use and pad the icon with a space
- apply the same table cell definition and logic as above to
/usr/local/www/widgets/widgets/services_status.widget.php