* adjust style of task/create view.

This commit is contained in:
Catouse
2016-12-05 11:05:19 +08:00
parent 79ebafe91d
commit ebe9fbe2cb
2 changed files with 14 additions and 12 deletions
+2
View File
@@ -7,6 +7,8 @@
.chosen-container {max-width: 980px}
#priRowCol, #estRowCol {width: 110px;}
#priRowCol .input-group-btn .btn {width: 55px;}
#priRowCol.has-custom-pri {width: 150px!important}
.col-table .input-group {width: 100%}
#taskPlanCol, #mailCol {width: 50%}
+12 -12
View File
@@ -73,20 +73,20 @@
$hiddenEst = strpos(",$showFields,", ',estimate,') === false;
?>
<?php if(!$hiddenPri):?>
<div class='col-table' id='priRowCol'>
<?php
$hasCustomPri = false;
foreach($lang->task->priList as $priKey => $priValue)
{
if($priKey != $priValue)
{
$hasCustomPri = true;
break;
}
}
?>
<div class='col-table<?php if($hasCustomPri) echo ' has-custom-pri';?>' id='priRowCol'>
<div class='input-group'>
<span class='input-group-addon fix-border br-0'><?php echo $lang->task->pri;?></span>
<?php
$hasCustomPri = false;
foreach($lang->task->priList as $priKey => $priValue)
{
if($priKey != $priValue)
{
$hasCustomPri = true;
break;
}
}
?>
<?php if($hasCustomPri):?>
<?php echo html::select('pri', $lang->task->priList, '', "class='form-control'");?>
<?php else: ?>