mirror of
https://github.com/Icinga/icingaweb2.git
synced 2026-06-10 17:11:16 -04:00
Convert `AuthenticationController` from the legacy Zend Controller to `CompatController`, dropping `login.phtml` in favour of the new `LoginPage` widget and `addContent()`. The view-variable assignments are replaced by `setTitle()` and `addContent(new LoginPage(...))`. In `CompatController`, `$this->controls` is the tab bar area rendered above the page content. When no tabs are added it still emits an empty `<div class="controls">` wrapper. Replacing it with a bare `HtmlDocument` which renders as nothing when empty suppresses that wrapper entirely, keeping the login page markup clean. Two structural fixes required by the changed DOM nesting: - `login.less`: height `100%` -> `100vh` (`#login` is now inside `.content` which has no explicit height, so percentage inheritance breaks) - `history.js`: `#layout > #login` -> `#layout #login` (direct-child selector breaks because `#login` is now a grandchild of `#layout` through `.content`) |
||
|---|---|---|
| .. | ||
| about | ||
| account | ||
| announcements | ||
| authentication | ||
| config | ||
| dashboard | ||
| error | ||
| filter | ||
| form | ||
| group | ||
| index | ||
| layout | ||
| list | ||
| navigation | ||
| role | ||
| search | ||
| user | ||
| inline.phtml | ||
| joystickPagination.phtml | ||
| mixedPagination.phtml | ||
| pivottablePagination.phtml | ||
| showConfiguration.phtml | ||
| simple-form.phtml | ||