* adjust style of task/create view.
This commit is contained in:
@@ -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%}
|
||||
|
||||
@@ -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: ?>
|
||||
|
||||
Reference in New Issue
Block a user