user/list: Make backend selection look good again

This commit is contained in:
Johannes Meyer 2019-07-17 07:57:11 +02:00
parent a5f292c2ae
commit 02565ec326
2 changed files with 8 additions and 10 deletions

View File

@ -45,7 +45,7 @@ class UserController extends AuthBackendController
} }
$this->view->backendSelection = new Form(); $this->view->backendSelection = new Form();
$this->view->backendSelection->setAttrib('class', 'backend-selection inline'); $this->view->backendSelection->setAttrib('class', 'backend-selection icinga-controls');
$this->view->backendSelection->setUidDisabled(); $this->view->backendSelection->setUidDisabled();
$this->view->backendSelection->setMethod('GET'); $this->view->backendSelection->setMethod('GET');
$this->view->backendSelection->setTokenDisabled(); $this->view->backendSelection->setTokenDisabled();

View File

@ -2,9 +2,9 @@
// TODO(el): Rename .filter to .filter-control // TODO(el): Rename .filter to .filter-control
// Hide auto sumbit info in controls but keep information for screen readers // Hide auto sumbit info in controls
.controls .autosubmit-info { .controls .autosubmit-info {
.sr-only(); display: none;
} }
@ -12,14 +12,12 @@
.backend-selection { .backend-selection {
float: left; float: left;
> .control-group { .control-label-group, select {
padding: 0; display: inline-block;
line-height: 2em;
> .control-label-group {
text-align: left;
width: auto;
} }
select {
margin-left: .5em;
} }
} }