* ajusted views.
* changed css names.
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
?>
|
||||
<?php include '../../common/view/header.html.php';?>
|
||||
<?php include '../../common/view/datepicker.html.php';?>
|
||||
<form method='post' target='hiddenwin'>
|
||||
<form class='form-condensed' method='post' target='hiddenwin'>
|
||||
<table class='table-1' >
|
||||
<caption> <?php echo $lang->todo->batchCreate . $lang->colon . html::input('date', $date, "class='select-2 date' onchange='updateAction(this.value)'");?>
|
||||
<input type='checkbox' id='switchDate' onclick='switchDateTodo(this);'> <?php echo $lang->todo->periods['future'];?></caption>
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
</div>
|
||||
</td>
|
||||
<td><?php echo html::select("begins[$todo->id]", $times, $todo->begin) . html::select("ends[$todo->id]", $times, $todo->end);?></td>
|
||||
<td><?php echo html::select("status[$todo->id]", $lang->todo->statusList, $todo->status, "class='select-1'");?></td>
|
||||
<td><?php echo html::select("status[$todo->id]", $lang->todo->statusList, $todo->status, "class='form-control'");?></td>
|
||||
</tr>
|
||||
<?php endforeach;?>
|
||||
<?php if(isset($suhosinInfo)):?>
|
||||
|
||||
@@ -13,46 +13,46 @@
|
||||
<?php include '../../common/view/header.html.php';?>
|
||||
<?php include '../../common/view/datepicker.html.php';?>
|
||||
<?php include '../../common/view/kindeditor.html.php';?>
|
||||
<form method='post' target='hiddenwin' id='dataform'>
|
||||
<table class='table-1'>
|
||||
<form class='form-condensed' method='post' target='hiddenwin' id='dataform'>
|
||||
<table class='table table-form'>
|
||||
<caption><?php echo $lang->todo->create;?></caption>
|
||||
<tr>
|
||||
<th class='rowhead'><?php echo $lang->todo->date;?></th>
|
||||
<th><?php echo $lang->todo->date;?></th>
|
||||
<td><?php echo html::input('date', $date, "class='select-3 date'");?>
|
||||
<input type='checkbox' id='switchDate' onclick='switchDateTodo(this);'> <?php echo $lang->todo->periods['future'];?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class='rowhead'><?php echo $lang->todo->type;?></th>
|
||||
<th><?php echo $lang->todo->type;?></th>
|
||||
<td><?php echo html::select('type', $lang->todo->typeList, '', 'onchange=loadList(this.value); class=select-3');?>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class='rowhead'><?php echo $lang->todo->pri;?></th>
|
||||
<th><?php echo $lang->todo->pri;?></th>
|
||||
<td><?php echo html::select('pri', $lang->todo->priList, '', "class='form-control'");?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class='rowhead'><?php echo $lang->todo->name;?></th>
|
||||
<th><?php echo $lang->todo->name;?></th>
|
||||
<td>
|
||||
<div id='nameBox' class='hidden'><?php echo html::input('name', '', 'class=form-control');?></div>
|
||||
<div class='nameBox'><?php echo html::input('name', '', 'class=form-control');?></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class='rowhead'><?php echo $lang->todo->desc;?></th>
|
||||
<td><?php echo html::textarea('desc', '', "rows='8' class='area-1'");?></textarea>
|
||||
<th><?php echo $lang->todo->desc;?></th>
|
||||
<td><?php echo html::textarea('desc', '', "rows='8' class='form-control'");?></textarea>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class='rowhead'><?php echo $lang->todo->status;?></th>
|
||||
<th><?php echo $lang->todo->status;?></th>
|
||||
<td><?php echo html::select('status', $lang->todo->statusList, '', "class='form-control'");?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class='rowhead'><?php echo $lang->todo->beginAndEnd;?></th>
|
||||
<th><?php echo $lang->todo->beginAndEnd;?></th>
|
||||
<td>
|
||||
<?php echo html::select('begin', $times, $time, 'onchange=selectNext(); class=select-2') . html::select('end', $times, '', 'class=select-2');?>
|
||||
<input type='checkbox' id='switchDate' onclick='switchDateFeature(this);'><?php echo $lang->todo->lblDisableDate;?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class='rowhead'><?php echo $lang->todo->private;?></th>
|
||||
<th><?php echo $lang->todo->private;?></th>
|
||||
<td><input type='checkbox' name='private' id='private' value='1'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
@@ -13,24 +13,24 @@
|
||||
<?php include '../../common/view/header.html.php';?>
|
||||
<?php include '../../common/view/datepicker.html.php';?>
|
||||
<?php include '../../common/view/kindeditor.html.php';?>
|
||||
<form method='post' target='hiddenwin' id='dataform'>
|
||||
<form class='form-condensed' method='post' target='hiddenwin' id='dataform'>
|
||||
<table class='table-1 a-left'>
|
||||
<caption><?php echo $lang->todo->edit;?></caption>
|
||||
<tr>
|
||||
<th class='rowhead'><?php echo $lang->todo->date;?></th>
|
||||
<th><?php echo $lang->todo->date;?></th>
|
||||
<td><?php echo html::input('date', $todo->date, "class='select-3 date'");?>
|
||||
<input type='checkbox' id='switchDate' onclick='switchDateTodo(this);'> <?php echo $lang->todo->periods['future'];?> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class='rowhead'><?php echo $lang->todo->type;?></th>
|
||||
<th><?php echo $lang->todo->type;?></th>
|
||||
<td><input type='hidden' name='type' value='<?php echo $todo->type;?>' /><?php echo $lang->todo->typeList[$todo->type];?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class='rowhead'><?php echo $lang->todo->pri;?></th>
|
||||
<th><?php echo $lang->todo->pri;?></th>
|
||||
<td><?php echo html::select('pri', $lang->todo->priList, $todo->pri, "class='form-control'");?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class='rowhead'><?php echo $lang->todo->name;?></th>
|
||||
<th><?php echo $lang->todo->name;?></th>
|
||||
<td><div id='nameBox'>
|
||||
<?php
|
||||
$readType = $todo->type != 'custom' ? 'readonly' : '';
|
||||
@@ -40,22 +40,22 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class='rowhead'><?php echo $lang->todo->desc;?></th>
|
||||
<th><?php echo $lang->todo->desc;?></th>
|
||||
<td><?php echo html::textarea('desc', htmlspecialchars($todo->desc), "rows=8 class=area-1");?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class='rowhead'><?php echo $lang->todo->status;?></th>
|
||||
<th><?php echo $lang->todo->status;?></th>
|
||||
<td><?php echo html::select('status', $lang->todo->statusList, $todo->status, "class='form-control'");?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class='rowhead'><?php echo $lang->todo->beginAndEnd;?></th>
|
||||
<th><?php echo $lang->todo->beginAndEnd;?></th>
|
||||
<td>
|
||||
<?php echo html::select('begin', $times, $todo->begin, 'onchange=selectNext(); class=select-2') . html::select('end', $times, $todo->end, 'class=select-2');?>
|
||||
<input type='checkbox' id='dateSwitcher' onclick='switchDateFeature(this);' <?php if($todo->begin == 2400) echo 'checked';?> ><?php echo $lang->todo->lblDisableDate;?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class='rowhead'><?php echo $lang->todo->private;?></th>
|
||||
<th><?php echo $lang->todo->private;?></th>
|
||||
<td><input type='checkbox' name='private' id='private' value='1' <?php if($todo->private) echo 'checked';?>></td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
?>
|
||||
<?php include '../../common/view/m.header.html.php';?>
|
||||
</div>
|
||||
<form method='post' target='hiddenwin'>
|
||||
<form class='form-condensed' method='post' target='hiddenwin'>
|
||||
<?php
|
||||
echo html::hidden("date", date('Y-m-d'));
|
||||
for($i = 1; $i <= 5; $i++)
|
||||
|
||||
@@ -15,23 +15,23 @@
|
||||
<table class='table-1 a-left'>
|
||||
<caption><?php echo $lang->todo->common . ' #' . $todo->id . ' ' . $todo->name;?></caption>
|
||||
<tr>
|
||||
<th class='rowhead'><?php echo $lang->todo->account;?></th>
|
||||
<th><?php echo $lang->todo->account;?></th>
|
||||
<td><?php echo $todo->account;?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class='rowhead'><?php echo $lang->todo->date;?></th>
|
||||
<th><?php echo $lang->todo->date;?></th>
|
||||
<td><?php echo $todo->date == '20300101' ? $lang->todo->periods['future'] : date(DT_DATE1, strtotime($todo->date));?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class='rowhead'><?php echo $lang->todo->type;?></th>
|
||||
<th><?php echo $lang->todo->type;?></th>
|
||||
<td><?php echo $lang->todo->typeList[$todo->type];?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class='rowhead'><?php echo $lang->todo->pri;?></th>
|
||||
<th><?php echo $lang->todo->pri;?></th>
|
||||
<td><?php echo $lang->todo->priList[$todo->pri];?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class='rowhead'><?php echo $lang->todo->name;?></th>
|
||||
<th><?php echo $lang->todo->name;?></th>
|
||||
<td>
|
||||
<?php
|
||||
if($todo->type == 'bug') echo html::a($this->createLink('bug', 'view', "id={$todo->idvalue}"), $todo->name);
|
||||
@@ -41,15 +41,15 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class='rowhead'><?php echo $lang->todo->desc;?></th>
|
||||
<th><?php echo $lang->todo->desc;?></th>
|
||||
<td class='content'><?php echo $todo->desc;?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class='rowhead'><?php echo $lang->todo->status;?></th>
|
||||
<th><?php echo $lang->todo->status;?></th>
|
||||
<td><?php echo $lang->todo->statusList[$todo->status];?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class='rowhead'><?php echo $lang->todo->beginAndEnd;?></th>
|
||||
<th><?php echo $lang->todo->beginAndEnd;?></th>
|
||||
<td>
|
||||
<?php
|
||||
if(isset($times[$todo->begin])) echo $times[$todo->begin];
|
||||
|
||||
Reference in New Issue
Block a user