user list has descriptions now
This commit is contained in:
parent
301d7bd3a9
commit
5775421f78
3 changed files with 25 additions and 13 deletions
|
@ -1,5 +1,5 @@
|
||||||
ul.multiselectoptions { z-index:49; position:absolute; background-color:#fff; padding-top:.5em; border:1px solid #ddd; border-top:none; -moz-border-radius-bottomleft:.5em; -webkit-border-bottom-left-radius:.5em; border-bottom-left-radius:.5em; -moz-border-radius-bottomright:.5em; -webkit-border-bottom-right-radius:.5em; border-bottom-right-radius:.5em; -moz-box-shadow:0 1px 1px #ddd; -webkit-box-shadow:0 1px 1px #ddd; box-shadow:0 1px 1px #ddd; }
|
ul.multiselectoptions { z-index:49; position:absolute; background-color:#fff; padding-top:.5em; border:1px solid #ddd; border-top:none; -moz-border-radius-bottomleft:.5em; -webkit-border-bottom-left-radius:.5em; border-bottom-left-radius:.5em; -moz-border-radius-bottomright:.5em; -webkit-border-bottom-right-radius:.5em; border-bottom-right-radius:.5em; -moz-box-shadow:0 1px 1px #ddd; -webkit-box-shadow:0 1px 1px #ddd; box-shadow:0 1px 1px #ddd; }
|
||||||
div.multiselect { padding-right:.6em; display:inline; position:relative; display:inline-block }
|
div.multiselect { padding-right:.6em; display:inline; position:relative; display:inline-block; vertical-align: bottom; }
|
||||||
div.multiselect.active { background-color:#fff; border-bottom:none; border-bottom-left-radius:0; border-bottom-right-radius:0; z-index:50; position:relative }
|
div.multiselect.active { background-color:#fff; border-bottom:none; border-bottom-left-radius:0; border-bottom-right-radius:0; z-index:50; position:relative }
|
||||||
div.multiselect>span:first-child { margin-right:2em; float:left; }
|
div.multiselect>span:first-child { margin-right:2em; float:left; }
|
||||||
div.multiselect>span:last-child { float:right; position:relative }
|
div.multiselect>span:last-child { float:right; position:relative }
|
||||||
|
|
|
@ -12,6 +12,8 @@ input#identity { width:20em; }
|
||||||
|
|
||||||
/* USERS */
|
/* USERS */
|
||||||
form { display:inline; }
|
form { display:inline; }
|
||||||
|
table th { height:2em; padding:0 .5em; color:#999; padding-left:.8em; }
|
||||||
|
table th, table td { border-bottom:1px solid #ddd; text-align:left; font-weight:normal; }
|
||||||
td.name, td.password { padding-left:.8em; }
|
td.name, td.password { padding-left:.8em; }
|
||||||
td.password>img, td.remove>img, td.quota>img { visibility:hidden; }
|
td.password>img, td.remove>img, td.quota>img { visibility:hidden; }
|
||||||
td.password>span { margin-right:1.2em; }
|
td.password>span { margin-right:1.2em; }
|
||||||
|
|
|
@ -10,9 +10,8 @@ foreach($_["groups"] as $group) {
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<table data-groups="<?php echo implode(', ',$allGroups);?>">
|
<div id="controls">
|
||||||
<thead id="controls">
|
<form id="newuser">
|
||||||
<tr><form id="newuser">
|
|
||||||
<th class="name"><input id="newusername" placeholder="<?php echo $l->t('Name')?>" /></th>
|
<th class="name"><input id="newusername" placeholder="<?php echo $l->t('Name')?>" /></th>
|
||||||
<th class="password"><input type="password" id="newuserpassword" placeholder="<?php echo $l->t('Password')?>" /></th>
|
<th class="password"><input type="password" id="newuserpassword" placeholder="<?php echo $l->t('Password')?>" /></th>
|
||||||
<th class="groups"><select id="newusergroups" data-placeholder="groups" title="<?php echo $l->t('Groups')?>" multiple="multiple">
|
<th class="groups"><select id="newusergroups" data-placeholder="groups" title="<?php echo $l->t('Groups')?>" multiple="multiple">
|
||||||
|
@ -22,7 +21,18 @@ foreach($_["groups"] as $group) {
|
||||||
</select></th>
|
</select></th>
|
||||||
<th class="quota"></th>
|
<th class="quota"></th>
|
||||||
<th><input type="submit" value="<?php echo $l->t('Create')?>" /></th>
|
<th><input type="submit" value="<?php echo $l->t('Create')?>" /></th>
|
||||||
</form></tr>
|
</form>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<table data-groups="<?php echo implode(', ',$allGroups);?>">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th id='headerName'><?php echo $l->t('Name')?></th>
|
||||||
|
<th id="headerPassword"><?php echo $l->t( 'Password' ); ?></th>
|
||||||
|
<th id="headerGroups"><?php echo $l->t( 'Groups' ); ?></th>
|
||||||
|
<th id="headerQuota"><?php echo $l->t( 'Quota' ); ?></th>
|
||||||
|
<th id="headerRemove"> </th>
|
||||||
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<?php foreach($_["users"] as $user): ?>
|
<?php foreach($_["users"] as $user): ?>
|
||||||
|
|
Loading…
Reference in a new issue