* adjust style of mobile task module.
This commit is contained in:
@@ -16,10 +16,10 @@
|
||||
<td class='w-60px'><?php echo $lang->comment;?></td>
|
||||
<td><?php echo html::textarea('comment', '', "data-mini='true'");?></td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="a-center">
|
||||
<?php echo html::submitButton('', 'data-inline="true" data-theme="b"');?>
|
||||
<tr class="a-center">
|
||||
<td colspan="2"><?php echo html::submitButton('', 'data-inline="true" data-theme="b"');?></td>
|
||||
</div>
|
||||
</table>
|
||||
</form>
|
||||
<?php include '../../common/view/m.action.html.php';?>
|
||||
<?php include '../../common/view/m.footer.html.php';?>
|
||||
|
||||
@@ -1,20 +1,25 @@
|
||||
<?php include '../../common/view/m.header.html.php';?>
|
||||
</div>
|
||||
<form method='post' target='hiddenwin'>
|
||||
<h3><?php echo $lang->task->assignTo . $this->lang->colon . $task->name;?></h3>
|
||||
<div data-role="fieldcontain">
|
||||
<?php echo '<label for="assignedTo">' . $lang->task->assignedTo. '</label>' . html::select('assignedTo', $users, $task->openedBy);?>
|
||||
</div>
|
||||
<div data-role="fieldcontain">
|
||||
<?php echo '<label for="left">' . $lang->task->left . '(' . $lang->task->hour . ')</label>' . html::input('left', $task->left);?>
|
||||
</div>
|
||||
<div data-role="fieldcontain">
|
||||
<?php echo html::textarea('comment', '', "placeholder='$lang->comment'");?>
|
||||
</div>
|
||||
<div data-role="fieldcontain">
|
||||
<?php echo html::submitButton();?>
|
||||
</div>
|
||||
<h3><?php echo $lang->task->assignTo . $this->lang->colon . $task->name;?></h3>
|
||||
|
||||
<table class='table-1'>
|
||||
<tr>
|
||||
<td class="w-70px"><?php echo $lang->task->assignedTo;?></td>
|
||||
<td><?php echo html::select('assignedTo', $users, $task->openedBy);?>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="w-70px"><?php echo $lang->task->left;?></td>
|
||||
<td><?php echo html::input('left', $task->left);?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='w-70px'><?php echo $lang->comment;?></td>
|
||||
<td><?php echo html::textarea('comment', '', "data-mini='true'");?></td>
|
||||
</tr>
|
||||
<tr class='a-center'>
|
||||
<td colspan="2"><?php echo html::submitButton('', 'data-inline="true" data-theme="b"');?></td>
|
||||
</tr>
|
||||
</table>
|
||||
<?php include '../../common/view/m.action.html.php';?>
|
||||
</form>
|
||||
<?php include '../../common/view/m.action.html.php';?>
|
||||
<?php include '../../common/view/m.footer.html.php';?>
|
||||
|
||||
@@ -2,12 +2,16 @@
|
||||
</div>
|
||||
<form method='post' target='hiddenwin' onsubmit='return checkLeft();'>
|
||||
<h3><?php echo $lang->task->close . $this->lang->colon . $task->name;?></h3>
|
||||
<div data-role="fieldcontain">
|
||||
<?php echo html::textarea('comment', '', "placeholder='$lang->comment'");?>
|
||||
</div>
|
||||
<div data-role="fieldcontain">
|
||||
<?php echo html::submitButton(); ?>
|
||||
</div>
|
||||
<?php include '../../common/view/m.action.html.php';?>
|
||||
|
||||
<table class='table-1'>
|
||||
<tr>
|
||||
<td class='w-70px'><?php echo $lang->comment;?></td>
|
||||
<td><?php echo html::textarea('comment', '', "data-mini='true'");?></td>
|
||||
</tr>
|
||||
<tr class='a-center'>
|
||||
<td colspan="2"><?php echo html::submitButton('', 'data-inline="true" data-theme="b"');?></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
<?php include '../../common/view/m.action.html.php';?>
|
||||
<?php include '../../common/view/m.footer.html.php';?>
|
||||
|
||||
@@ -1,20 +1,25 @@
|
||||
<?php include '../../common/view/m.header.html.php';?>
|
||||
</div>
|
||||
<form method='post' target='hiddenwin' onsubmit='return checkLeft();'>
|
||||
<h3><?php echo $lang->task->finish . $this->lang->colon . $task->name;?></h3>
|
||||
<div data-role="fieldcontain">
|
||||
<?php echo '<label for="consumed">' . $lang->task->consumed . '(' . $lang->task->hour . ')</label>' . html::input('consumed', $task->consumed);?>
|
||||
</div>
|
||||
<div data-role="fieldcontain">
|
||||
<?php echo '<label for="assignedTo">' . $lang->task->assignedTo. '</label>' . html::select('assignedTo', $users, $task->openedBy);?>
|
||||
</div>
|
||||
<div data-role="fieldcontain">
|
||||
<?php echo html::textarea('comment', '', "placeholder='$lang->comment'");?>
|
||||
</div>
|
||||
<div data-role="fieldcontain">
|
||||
<?php echo html::submitButton() .html::hidden('finishedDate', $date); ?>
|
||||
</div>
|
||||
<h3><?php echo $lang->task->finish . $this->lang->colon . $task->name;?></h3>
|
||||
|
||||
<table class='table-1'>
|
||||
<tr>
|
||||
<td class="w-70px"><?php echo $lang->task->consumed;?></td>
|
||||
<td><?php echo html::input('consumed', $task->consumed);?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="w-70px"><?php echo $lang->task->assignedTo;?></td>
|
||||
<td><?php echo html::select('assignedTo', $users, $task->openedBy);?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='w-70px'><?php echo $lang->comment;?></td>
|
||||
<td><?php echo html::textarea('comment', '', "data-mini='true'");?></td>
|
||||
</tr>
|
||||
<tr class='a-center'>
|
||||
<td colspan="2"><?php echo html::submitButton('', 'data-inline="true" data-theme="b"') . . html::hidden('finishedDate', $date);?></td>
|
||||
</tr>
|
||||
</table>
|
||||
<?php include '../../common/view/m.action.html.php';?>
|
||||
</form>
|
||||
<?php include '../../common/view/m.action.html.php';?>
|
||||
<?php include '../../common/view/m.footer.html.php';?>
|
||||
|
||||
@@ -12,21 +12,26 @@
|
||||
$allLeft = $estimate->left;
|
||||
}
|
||||
?>
|
||||
<div data-role="fieldcontain">
|
||||
<?php echo $lang->task->consumed . ':' . $allConsumed . $lang->task->hour . ', ' . $lang->task->left . ':' . $allLeft . $lang->task->hour;?>
|
||||
</div>
|
||||
<div data-role="fieldcontain">
|
||||
<?php echo '<label for="consumed">' . $lang->task->consumedThisTime . '(' . $lang->task->hour . ')</label>' . html::input('consumed[1]', '');?>
|
||||
</div>
|
||||
<div data-role="fieldcontain">
|
||||
<?php echo '<label for="left">' . $lang->task->left . '(' . $lang->task->hour . ')</label>' . html::input('left[1]', '');?>
|
||||
</div>
|
||||
<div data-role="fieldcontain">
|
||||
<?php echo html::textarea('comment', '', "placeholder='$lang->comment'");?>
|
||||
</div>
|
||||
<div data-role="fieldcontain">
|
||||
<?php echo html::submitButton() . html::hidden('dates[1]', helper::today()) . html::hidden("id[1]", 1); ?>
|
||||
</div>
|
||||
<table class='table-1'>
|
||||
<tr>
|
||||
<td colspan="2"><?php echo $lang->task->consumed . ':' . $allConsumed . $lang->task->hour . ', ' . $lang->task->left . ':' . $allLeft . $lang->task->hour;?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="w-70px"><?php echo $lang->task->consumedThisTime;?></td>
|
||||
<td><?php echo html::input('consumed[1]', '');?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="w-70px"><?php echo $lang->task->left;?></td>
|
||||
<td><?php echo html::input('left[1]', '');?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='w-70px'><?php echo $lang->comment;?></td>
|
||||
<td><?php echo html::textarea('comment', '', "data-mini='true'");?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><?php echo html::submitButton() . html::hidden('dates[1]', helper::today()) . html::hidden("id[1]", 1); ?></td>
|
||||
</tr>
|
||||
<table>
|
||||
<?php endif;?>
|
||||
</form>
|
||||
<?php include '../../common/view/m.footer.html.php';?>
|
||||
<?php include '../../common/view/m.footer.html.php';?z
|
||||
|
||||
@@ -1,12 +1,25 @@
|
||||
<?php include '../../common/view/m.header.html.php';?>
|
||||
</div>
|
||||
<form method='post' target='hiddenwin' onsubmit='return checkLeft();'>
|
||||
<h3><?php echo $lang->task->start . $this->lang->colon . $task->name;?></h3>
|
||||
<?php echo $lang->task->consumed . '(' . $lang->task->hour . ')' . html::input('consumed', $task->consumed);?>
|
||||
<?php echo $lang->task->left . '(' . $lang->task->hour . ')' . html::input('left', $task->left);?>
|
||||
<?php echo html::textarea('comment', '', "placeholder='$lang->comment'");?>
|
||||
<?php echo html::submitButton() .html::hidden('realStarted', helper::today()); ?>
|
||||
<h3><?php echo $lang->task->start . $this->lang->colon . $task->name;?></h3>
|
||||
|
||||
<table class='table-1'>
|
||||
<tr>
|
||||
<td class='w-70px'><?php echo $lang->task->consumed;?></td>
|
||||
<td><?php echo html::input('consumed', $task->consumed);?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='w-70px'><?php echo $lang->task->left;?></td>
|
||||
<td><?php echo html::input('left', $task->left);?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='w-70px'><?php echo $lang->comment;?></td>
|
||||
<td><?php echo html::textarea('comment', '', "data-mini='true'");?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2"><?php echo html::submitButton() .html::hidden('realStarted', helper::today());?></td>
|
||||
</tr>
|
||||
</table>
|
||||
<?php include '../../common/view/m.action.html.php';?>
|
||||
</form>
|
||||
<?php include '../../common/view/m.action.html.php';?>
|
||||
<?php include '../../common/view/m.footer.html.php';?>
|
||||
|
||||
Reference in New Issue
Block a user