* Code for project required field.

This commit is contained in:
Yagami
2023-02-03 13:17:12 +08:00
parent 88f2d3ef49
commit cf5c7a2fbc
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -16,7 +16,7 @@
#budgetUnit {border-left: 0px;}
#projectName {display: inline-block; width: 32%;}
.productsBox a {border-radius: 2px !important;}
.productsBox .required:after {right: -12px !important; top: 10px !important;}
.productsBox .required:after {right: -12px !important; top: 7px !important;}
.productsBox .addProduct {padding-left: 0px !important;}
.productsBox .addProduct.required:after {right: -1px !important;}
.productsBox .input-group-addon > div {display: inline-block !important;}
+2 -2
View File
@@ -155,7 +155,7 @@
<div class='table-row'>
<div class='table-col'>
<?php $hasBranch = $product->type != 'normal' and isset($branchGroups[$product->id]);?>
<div class='input-group <?php if($hasBranch) echo ' has-branch';?>'>
<div class='input-group required <?php if($hasBranch) echo ' has-branch';?>'>
<span class='input-group-addon'><?php echo $lang->product->common;?></span>
<?php echo html::select("products[$i]", $allProducts, $product->id, "class='form-control chosen' onchange='loadBranches(this)' data-last='" . $product->id . "' data-type='" . $product->type . "'");?>
</div>
@@ -192,7 +192,7 @@
<div class="col-sm-6">
<div class='table-row'>
<div class='table-col'>
<div class='input-group'>
<div class='input-group required'>
<span class='input-group-addon'><?php echo $lang->product->common;?></span>
<?php echo html::select("products[0]", $allProducts, '', "class='form-control chosen' onchange='loadBranches(this)'");?>
<?php if(common::hasPriv('product', 'create')):?>