* adjust task #2725.
This commit is contained in:
@@ -15,3 +15,5 @@
|
||||
.modal-dialog {margin-top: 10%!important;}
|
||||
|
||||
.checkbox input[type=checkbox], .checkbox-inline input[type=checkbox], .radio input[type=radio], .radio-inline input[type=radio] {margin-top: 1px;}
|
||||
|
||||
.type-tips {display: none; margin: 5px 0; color: #545454;}
|
||||
|
||||
@@ -9,3 +9,16 @@ $(function()
|
||||
$('#copyProjects a').click(function(){setCopyProject($(this).data('id')); $('#copyProjectModal').modal('hide')});
|
||||
$('#productsBox .col-sm-3').width($('#type').closest('td').width());
|
||||
});
|
||||
|
||||
function showTypeTips()
|
||||
{
|
||||
var type = $('#type').val();
|
||||
if(type == 'ops')
|
||||
{
|
||||
$('.type-tips').show();
|
||||
}
|
||||
else
|
||||
{
|
||||
$('.type-tips').hide();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -81,10 +81,10 @@
|
||||
<tr>
|
||||
<th><?php echo $lang->project->type;?></th>
|
||||
<td>
|
||||
<?php echo html::select('type', $lang->project->typeList, '', "class='form-control'");?>
|
||||
<?php echo html::select('type', $lang->project->typeList, '', "class='form-control' onchange='showTypeTips()'");?>
|
||||
</td>
|
||||
<td>
|
||||
<div class='help-block'><?php echo $lang->project->typeDesc;?></div>
|
||||
<div class='type-tips'><?php echo $lang->project->typeDesc;?></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
Reference in New Issue
Block a user