mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
parent
4d5fde768a
commit
635bb3eec6
@ -140,7 +140,7 @@ class UserController extends AuthBackendController
|
||||
$removeForm->addElement('button', 'btn_submit', array(
|
||||
'escape' => false,
|
||||
'type' => 'submit',
|
||||
'class' => 'link-like spinner',
|
||||
'class' => 'link-button spinner',
|
||||
'value' => 'btn_submit',
|
||||
'decorators' => array('ViewHelper'),
|
||||
'label' => $this->view->icon('trash'),
|
||||
|
@ -22,7 +22,7 @@ if ($this->hasPermission('config/authentication/users/edit') && $backend instanc
|
||||
}
|
||||
|
||||
?>
|
||||
<div class="controls">
|
||||
<div class="controls separated dont-print">
|
||||
<?php if (! $this->compact): ?>
|
||||
<?= $tabs; ?>
|
||||
<?php endif ?>
|
||||
@ -41,17 +41,17 @@ if ($this->hasPermission('config/authentication/users/edit') && $backend instanc
|
||||
<td><?= $user->last_modified === null ? '-' : $this->formatDateTime($user->last_modified); ?></td>
|
||||
</tr>
|
||||
</table>
|
||||
<?php if (! $this->compact): ?>
|
||||
<h2><?= $this->translate('Group Memberships'); ?></h2>
|
||||
<?php if (! $this->compact): ?>
|
||||
<?= $this->sortBox; ?>
|
||||
<?php endif ?>
|
||||
<?= $this->limiter; ?>
|
||||
<?= $this->paginator; ?>
|
||||
<?php if (! $this->compact): ?>
|
||||
<div class="grid">
|
||||
<?= $this->limiter; ?>
|
||||
<?= $this->paginator; ?>
|
||||
<?= $this->sortBox; ?>
|
||||
</div>
|
||||
<?= $this->filterEditor; ?>
|
||||
<?php endif ?>
|
||||
</div>
|
||||
<div class="content memberships">
|
||||
<div class="content">
|
||||
<?php if ($showCreateMembershipLink): ?>
|
||||
<?= $this->qlink(
|
||||
$this->translate('Create New Membership') ,
|
||||
@ -75,14 +75,14 @@ if ($this->hasPermission('config/authentication/users/edit') && $backend instanc
|
||||
<table data-base-target="_next" class="action-table listing-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="membership-group"><?= $this->translate('Group'); ?></th>
|
||||
<th class="membership-cancel"><?= $this->translate('Cancel', 'group.membership'); ?></th>
|
||||
<th><?= $this->translate('Group'); ?></th>
|
||||
<th><?= $this->translate('Cancel', 'group.membership'); ?></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php foreach ($memberships as $membership): ?>
|
||||
<tr>
|
||||
<td class="membership-group">
|
||||
<td>
|
||||
<?php if ($this->hasPermission('config/authentication/groups/show') && $membership->backend instanceof Selectable): ?>
|
||||
<?= $this->qlink($membership->group_name, 'group/show', array(
|
||||
'backend' => $membership->backend->getName(),
|
||||
@ -94,7 +94,7 @@ if ($this->hasPermission('config/authentication/users/edit') && $backend instanc
|
||||
<?= $this->escape($membership->group_name); ?>
|
||||
<?php endif ?>
|
||||
</td>
|
||||
<td class="membership-cancel" data-base-target="_self">
|
||||
<td data-base-target="_self">
|
||||
<?php if (isset($removeForm) && $membership->backend instanceof Reducible): ?>
|
||||
<?= $removeForm->setAction($this->url('group/removemember', array(
|
||||
'backend' => $membership->backend->getName(),
|
||||
|
@ -233,33 +233,6 @@ div.content.users {
|
||||
}
|
||||
}
|
||||
|
||||
div.content.memberships {
|
||||
table.membership-list {
|
||||
th.membership-cancel {
|
||||
width: 8em;
|
||||
padding-right: 0.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
td.membership-cancel {
|
||||
text-align: right;
|
||||
|
||||
form button.link-like {
|
||||
color: inherit;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
p {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
a.membership-create {
|
||||
display: block;
|
||||
margin-top: 1em;
|
||||
}
|
||||
}
|
||||
|
||||
div.content.groups {
|
||||
table.group-list {
|
||||
th.group-remove {
|
||||
|
Loading…
x
Reference in New Issue
Block a user