* ajusted views of module 'bug'.

This commit is contained in:
Catouse
2014-03-31 11:38:43 +08:00
parent 98efc661af
commit 98afc277a3
8 changed files with 207 additions and 191 deletions
+1 -1
View File
@@ -19,7 +19,7 @@
<div id='titlebar'>
<div class='heading'>
<span class='prefix'><?php echo html::icon($lang->icons['task']);?></span>
<strong><small class='text-muted'><i class='icon icon-plus'></i></small> <?php echo $lang->task->create;?></strong>
<strong><small class='text-muted'><?php echo html::icon($lang->icons['create']);?></small> <?php echo $lang->task->create;?></strong>
</div>
</div>
<form class='form-condensed' method='post' enctype='multipart/form-data' id='dataform' class='ajaxForm'>
+6 -4
View File
@@ -32,19 +32,21 @@
<div class='col-md-8'>
<div class='main'>
<div class='form-group'>
<?php echo html::input('name', $task->name, 'class="form-control"');?>
<?php echo html::input('name', $task->name, 'class="form-control" placeholder="' . $lang->task->name . '"');?>
</div>
<fieldset>
<legend><?php echo $lang->task->desc;?></legend>
<?php echo html::textarea('desc', htmlspecialchars($task->desc), "rows='8' class='form-control'");?>
<div class='form-group'>
<?php echo html::textarea('desc', htmlspecialchars($task->desc), "rows='8' class='form-control'");?>
</div>
</fieldset>
<fieldset>
<legend><?php echo $lang->comment;?></legend>
<?php echo html::textarea('comment', '', "rows='5' class='form-control'");?>
<div class='form-group'><?php echo html::textarea('comment', '', "rows='5' class='form-control'");?></div>
</fieldset>
<fieldset>
<legend><?php echo $lang->files;?></legend>
<?php echo $this->fetch('file', 'buildform');?>
<div class='form-group'><?php echo $this->fetch('file', 'buildform');?></div>
</fieldset>
<div class='actions'>
<?php echo html::submitButton(html::icon('save') . ' ' . $lang->save) . html::linkButton($lang->goback, $this->inlink('view', "taskID=$task->id")) .html::hidden('consumed', $task->consumed);?>