* fix style of group/managemember.
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
.group-item {display:block; width:100px; float:left}
|
||||
.outer .table th {vertical-align: top;}
|
||||
.col-side {width: 192px;}
|
||||
|
||||
@@ -18,45 +18,49 @@
|
||||
<small class='text-muted'> <?php echo $lang->group->manageMember;?> <?php echo html::icon($lang->icons['manage']);?></small>
|
||||
</div>
|
||||
</div>
|
||||
<div class='side'>
|
||||
<a class='side-handle' data-id='groupTree'><i class='icon-caret-left'></i></a>
|
||||
<div class='side-body'>
|
||||
<div class='panel panel-sm'>
|
||||
<div class='panel-heading nobr'><?php echo html::icon($lang->icons['company']);?> <strong><?php echo $lang->dept->common;?></strong></div>
|
||||
<div class='panel-body'><?php echo $deptTree;?></div>
|
||||
<div class='row-table row-table-swap'>
|
||||
<div class="col-side">
|
||||
<div class='side-body'>
|
||||
<div class='panel panel-sm'>
|
||||
<div class='panel-heading nobr'><?php echo html::icon($lang->icons['company']);?> <strong><?php echo $lang->dept->common;?></strong></div>
|
||||
<div class='panel-body'><?php echo $deptTree;?></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-main">
|
||||
<form class='form-condensed pdb-20' method='post' target='hiddenwin'>
|
||||
<table align='center' class='table table-form'>
|
||||
<?php if($groupUsers):?>
|
||||
<tr>
|
||||
<th class='w-100px'><?php echo $lang->group->inside;?><?php echo html::selectAll('group', 'checkbox', true);?> </th>
|
||||
<td id='group' class='f-14px pv-10px'><?php $i = 1;?>
|
||||
<?php foreach($groupUsers as $account => $realname):?>
|
||||
<div class='group-item'><?php echo html::checkbox('members', array($account => $realname), $account);?></div>
|
||||
<?php endforeach;?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endif;?>
|
||||
<tr>
|
||||
<th class='w-100px'><?php echo $lang->group->outside;?><?php echo html::selectAll('other','checkbox');?> </th>
|
||||
<td id='other' class='f-14px pv-10px'><?php $i = 1;?>
|
||||
<?php foreach($otherUsers as $account => $realname):?>
|
||||
<div class='group-item'><?php echo html::checkbox('members', array($account => $realname), '');?></div>
|
||||
<?php endforeach;?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th></th>
|
||||
<td class='text-center'>
|
||||
<?php
|
||||
echo html::submitButton();
|
||||
echo html::linkButton($lang->goback, $this->createLink('group', 'browse'));
|
||||
echo html::hidden('foo'); // Just a var, to make sure $_POST is not empty.
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<form class='form-condensed pdb-20' method='post' target='hiddenwin'>
|
||||
<table align='center' class='table table-form'>
|
||||
<?php if($groupUsers):?>
|
||||
<tr>
|
||||
<th class='w-100px'><?php echo $lang->group->inside;?><?php echo html::selectAll('group', 'checkbox', true);?> </th>
|
||||
<td id='group' class='f-14px pv-10px'><?php $i = 1;?>
|
||||
<?php foreach($groupUsers as $account => $realname):?>
|
||||
<div class='group-item'><?php echo html::checkbox('members', array($account => $realname), $account);?></div>
|
||||
<?php endforeach;?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endif;?>
|
||||
<tr>
|
||||
<th><?php echo $lang->group->outside;?><?php echo html::selectAll('other','checkbox');?> </th>
|
||||
<td id='other' class='f-14px pv-10px'><?php $i = 1;?>
|
||||
<?php foreach($otherUsers as $account => $realname):?>
|
||||
<div class='group-item'><?php echo html::checkbox('members', array($account => $realname), '');?></div>
|
||||
<?php endforeach;?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th></th>
|
||||
<td class='text-center'>
|
||||
<?php
|
||||
echo html::submitButton();
|
||||
echo html::linkButton($lang->goback, $this->createLink('group', 'browse'));
|
||||
echo html::hidden('foo'); // Just a var, to make sure $_POST is not empty.
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
|
||||
<?php include '../../common/view/footer.html.php';?>
|
||||
|
||||
@@ -50,7 +50,8 @@ tr.text-center > td.text-right, tr.text-center > th.text-right {text-align: righ
|
||||
.row-table {display: table; width: 100%}
|
||||
.col-side, .col-main {padding: 0; display: table-cell; vertical-align: top;}
|
||||
.col-side {width: 350px; max-width:350px; padding-left: 10px;}
|
||||
.col-main {padding-right: 10px;}
|
||||
.col-main, .row-table-swap .col-side {padding-right: 10px; padding-left: 0;}
|
||||
.row-table-swap .col-main {padding-right: 0; padding-left: 10px;}
|
||||
.row-table-side-left .col-side {padding-right: 10px; padding-left: 0;}
|
||||
.row-table-side-left .col-main {padding-left: 10px; padding-right: 0;}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user