refactor(admin): move the maintenance and system check pages to Twig
The last two pages of the panel become @admin/maintenance.twig and
@admin/system-check.twig; both controllers return ViewResponse and drop the
Render dependency.
- the status labels and their badge classes were built in the template and now
come from the controller with the rest of the row
- a check description explains how to fix the check and one of them carries a
link to the manual, so the controller hands it over as Twig\Markup
- the three tables of the system check were copies and became a loop
Only sidebar-admin-menu.phtml is left in modules/admin/templates: the admin
parts of the other modules still render it through system::pages/result.
@admin/system-check.twig; both controllers return ViewResponse and drop the
Render dependency.
- the status labels and their badge classes were built in the template and now
come from the controller with the rest of the row
- a check description explains how to fix the check and one of them carries a
link to the manual, so the controller hands it over as Twig\Markup
- the three tables of the system check were copies and became a loop
Only sidebar-admin-menu.phtml is left in modules/admin/templates: the admin
parts of the other modules still render it through system::pages/result.