* finish task #2668.

This commit is contained in:
wangyidong
2016-10-14 14:31:50 +08:00
parent 8feda80cd9
commit ab2e6d83cb
9 changed files with 143 additions and 49 deletions
+37 -5
View File
@@ -11,6 +11,7 @@
*/
?>
<?php include '../../common/view/header.lite.html.php';?>
<?php include '../../common/view/chosen.html.php';?>
<div id='titlebar'>
<div class='heading'>
<span class='prefix'><?php echo html::icon($lang->icons['doclib']);?></span>
@@ -18,11 +19,42 @@
</div>
</div>
<div class='main'>
<form method='post' class='form-condensed' style='margin: 30px 50px'>
<div class='input-group'>
<?php echo html::input('name', '', "class='form-control' placeholder='{$lang->doc->libName}'");?>
<span class='input-group-btn'><?php echo html::submitButton();?></span>
</div>
<form method='post' target='hiddenwin' class='form-condensed' style='margin: 60px 0 115px 0'>
<table class='table table-form'>
<tr>
<th class='w-80px'><?php echo $lang->doc->libType?></th>
<td><?php echo html::select('libType', $lang->doc->libTypeList, 'product', "class='form-control'")?></td>
</tr>
<tr class='product'>
<th><?php echo $lang->doc->product?></th>
<td><?php echo html::select('product', $products, '', "class='form-control chosen'")?></td>
</tr>
<tr class='project hidden'>
<th><?php echo $lang->doc->project?></th>
<td><?php echo html::select('project', $projects, '', "class='form-control chosen'")?></td>
</tr>
<tr>
<th><?php echo $lang->doclib->name?></th>
<td><?php echo html::input('name', '', "class='form-control'")?></td>
</tr>
<tr>
<th><?php echo $lang->doclib->acl;?></th>
<td>
<div class='input-group'>
<span class='input-group-addon'><?php echo $lang->doclib->group?></span>
<?php echo html::select('groups[]', $groups, '', "class='form-control chosen' multiple")?>
</div>
<div class='input-group'>
<span class='input-group-addon'><?php echo $lang->doclib->user?></span>
<?php echo html::select('users[]', $users, '', "class='form-control chosen' multiple")?>
</div>
</td>
</tr>
<tr>
<td></td>
<td class='text-center'><?php echo html::submitButton();?></td>
</tr>
</table>
</form>
</div>
<?php include '../../common/view/footer.lite.html.php';?>