* ajusted size of form layout.

This commit is contained in:
Catouse
2014-04-18 15:41:44 +08:00
parent be03af7fae
commit dd38f997ca
32 changed files with 142 additions and 138 deletions
+8 -8
View File
@@ -25,7 +25,7 @@
<?php if($libID == 'product'):?>
<tr>
<th class='w-80px'><?php echo $lang->doc->product;?></th>
<td><?php echo html::select('product', $products, $productID, "class='form-control'");?></td>
<td class='w-p25-f'><?php echo html::select('product', $products, $productID, "class='form-control'");?></td><td></td>
</tr>
<?php elseif($libID == 'project'):?>
<tr>
@@ -43,31 +43,31 @@
</tr>
<tr>
<th><?php echo $lang->doc->type;?></th>
<td><?php echo html::radio('type', $lang->doc->types, 'file', "onclick=setType(this.value)");?></td>
<td colspan='2'><?php echo html::radio('type', $lang->doc->types, 'file', "onclick=setType(this.value)");?></td>
</tr>
<tr>
<th><?php echo $lang->doc->title;?></th>
<td><?php echo html::input('title', '', "class='form-control'");?></td>
<td colspan='2'><?php echo html::input('title', '', "class='form-control'");?></td>
</tr>
<tr id='urlBox' class='hidden'>
<th><?php echo $lang->doc->url;?></th>
<td><?php echo html::input('url', '', "class='form-control'");?></td>
<td colspan='2'><?php echo html::input('url', '', "class='form-control'");?></td>
</tr>
<tr id='contentBox' class='hidden'>
<th><?php echo $lang->doc->content;?></th>
<td><?php echo html::textarea('content', '', "class='form-control' style='width:90%; height:200px'");?></td>
<td colspan='2'><?php echo html::textarea('content', '', "class='form-control' style='width:90%; height:200px'");?></td>
</tr>
<tr>
<th><?php echo $lang->doc->keywords;?></th>
<td><?php echo html::input('keywords', '', "class='form-control'");?></td>
<td colspan='2'><?php echo html::input('keywords', '', "class='form-control'");?></td>
</tr>
<tr>
<th><?php echo $lang->doc->digest;?></th>
<td><?php echo html::textarea('digest', '', "class='form-control' rows=3");?></td>
<td colspan='2'><?php echo html::textarea('digest', '', "class='form-control' rows=3");?></td>
</tr>
<tr id='fileBox'>
<th><?php echo $lang->doc->files;?></th>
<td><?php echo $this->fetch('file', 'buildform', 'fileCount=2');?></td>
<td colspan='2'><?php echo $this->fetch('file', 'buildform', 'fileCount=2');?></td>
</tr>
<tr>
<td></td>