css enhancement
This commit is contained in:
parent
0775f7bae0
commit
acdfd6ab9e
@ -4528,7 +4528,7 @@ class Form
|
|||||||
$disabled=true;
|
$disabled=true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (! $options_only) $return.= '<select class="flat" id="'.$htmlname.'" name="'.$htmlname.'"'.($disabled?' disabled':'').$title.'>';
|
if (! $options_only) $return.= '<select class="flat minwidth75imp" id="'.$htmlname.'" name="'.$htmlname.'"'.($disabled?' disabled':'').$title.'>';
|
||||||
|
|
||||||
$selectedfound=false;
|
$selectedfound=false;
|
||||||
foreach ($this->cache_vatrates as $rate)
|
foreach ($this->cache_vatrates as $rate)
|
||||||
@ -4717,7 +4717,7 @@ class Form
|
|||||||
|
|
||||||
$retstring.="</select>";
|
$retstring.="</select>";
|
||||||
|
|
||||||
$retstring.='<select'.($disabled?' disabled':'').' class="flat valignmiddle maxwidth50onsmartphone" id="'.$prefix.'month" name="'.$prefix.'month">';
|
$retstring.='<select'.($disabled?' disabled':'').' class="flat valignmiddle maxwidth75imp" id="'.$prefix.'month" name="'.$prefix.'month">';
|
||||||
if ($emptydate || $set_time == -1)
|
if ($emptydate || $set_time == -1)
|
||||||
{
|
{
|
||||||
$retstring.='<option value="0" selected> </option>';
|
$retstring.='<option value="0" selected> </option>';
|
||||||
@ -4739,7 +4739,7 @@ class Form
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$retstring.='<select'.($disabled?' disabled':'').' class="flat valignmiddle maxwidth75" id="'.$prefix.'year" name="'.$prefix.'year">';
|
$retstring.='<select'.($disabled?' disabled':'').' class="flat valignmiddle maxwidth75imp" id="'.$prefix.'year" name="'.$prefix.'year">';
|
||||||
|
|
||||||
for ($year = $syear - 5; $year < $syear + 10 ; $year++)
|
for ($year = $syear - 5; $year < $syear + 10 ; $year++)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1959,7 +1959,7 @@ else
|
|||||||
print '<td></td>';
|
print '<td></td>';
|
||||||
|
|
||||||
// Select date
|
// Select date
|
||||||
print '<td style="text-align:center;">';
|
print '<td class="center">';
|
||||||
$form->select_date($objp->date,'date');
|
$form->select_date($objp->date,'date');
|
||||||
print '</td>';
|
print '</td>';
|
||||||
|
|
||||||
@ -1972,13 +1972,13 @@ else
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Select type
|
// Select type
|
||||||
print '<td style="text-align:center;">';
|
print '<td class="center">';
|
||||||
select_type_fees_id($objp->type_fees_code,'fk_c_type_fees');
|
select_type_fees_id($objp->type_fees_code,'fk_c_type_fees');
|
||||||
print '</td>';
|
print '</td>';
|
||||||
|
|
||||||
// Add comments
|
// Add comments
|
||||||
print '<td>';
|
print '<td>';
|
||||||
print '<textarea class="flat_ndf" name="comments" class="centpercent">'.$objp->comments.'</textarea>';
|
print '<textarea name="comments" class="flat_ndf centpercent">'.$objp->comments.'</textarea>';
|
||||||
print '</td>';
|
print '</td>';
|
||||||
|
|
||||||
// VAT
|
// VAT
|
||||||
@ -1988,12 +1988,12 @@ else
|
|||||||
|
|
||||||
// Unit price
|
// Unit price
|
||||||
print '<td style="text-align:right;">';
|
print '<td style="text-align:right;">';
|
||||||
print '<input type="text" size="6" name="value_unit" value="'.$objp->value_unit.'" />';
|
print '<input type="text" min="0" class="maxwidth100" name="value_unit" value="'.$objp->value_unit.'" />';
|
||||||
print '</td>';
|
print '</td>';
|
||||||
|
|
||||||
// Quantity
|
// Quantity
|
||||||
print '<td style="text-align:right;">';
|
print '<td style="text-align:right;">';
|
||||||
print '<input type="text" size="4" name="qty" value="'.$objp->qty.'" />';
|
print '<input type="number" min="0" class="maxwidth100" name="qty" value="'.$objp->qty.'" />';
|
||||||
print '</td>';
|
print '</td>';
|
||||||
|
|
||||||
if ($action != 'editline')
|
if ($action != 'editline')
|
||||||
@ -2074,12 +2074,12 @@ else
|
|||||||
|
|
||||||
// Unit price
|
// Unit price
|
||||||
print '<td align="right">';
|
print '<td align="right">';
|
||||||
print '<input type="text" size="5" name="value_unit" value="'.$value_unit.'">';
|
print '<input type="text" class="right maxwidth50" name="value_unit" value="'.$value_unit.'">';
|
||||||
print '</td>';
|
print '</td>';
|
||||||
|
|
||||||
// Quantity
|
// Quantity
|
||||||
print '<td align="right">';
|
print '<td align="right">';
|
||||||
print '<input type="text" size="2" name="qty" value="'.($qty?$qty:1).'">';
|
print '<input type="number" min="0" class="right maxwidth50" name="qty" value="'.($qty?$qty:1).'">';
|
||||||
print '</td>';
|
print '</td>';
|
||||||
|
|
||||||
if ($action != 'editline')
|
if ($action != 'editline')
|
||||||
|
|||||||
@ -693,6 +693,7 @@ div.fiche>form>div.div-table-responsive {
|
|||||||
.minwidth400 { min-width: 400px; }
|
.minwidth400 { min-width: 400px; }
|
||||||
.minwidth500 { min-width: 500px; }
|
.minwidth500 { min-width: 500px; }
|
||||||
.minwidth50imp { min-width: 50px !important; }
|
.minwidth50imp { min-width: 50px !important; }
|
||||||
|
.minwidth75imp { min-width: 75px !important; }
|
||||||
.minwidth100imp { min-width: 100px !important; }
|
.minwidth100imp { min-width: 100px !important; }
|
||||||
.minwidth200imp { min-width: 200px !important; }
|
.minwidth200imp { min-width: 200px !important; }
|
||||||
.minwidth300imp { min-width: 300px !important; }
|
.minwidth300imp { min-width: 300px !important; }
|
||||||
@ -709,6 +710,7 @@ div.fiche>form>div.div-table-responsive {
|
|||||||
.maxwidth400 { max-width: 400px; }
|
.maxwidth400 { max-width: 400px; }
|
||||||
.maxwidth500 { max-width: 500px; }
|
.maxwidth500 { max-width: 500px; }
|
||||||
.maxwidth50imp { max-width: 50px !important; }
|
.maxwidth50imp { max-width: 50px !important; }
|
||||||
|
.maxwidth75imp { max-width: 75px !important; }
|
||||||
.minheight20 { min-height: 20px; }
|
.minheight20 { min-height: 20px; }
|
||||||
.minheight40 { min-height: 40px; }
|
.minheight40 { min-height: 40px; }
|
||||||
.titlefieldcreate { width: 20%; }
|
.titlefieldcreate { width: 20%; }
|
||||||
@ -722,6 +724,7 @@ div.fiche>form>div.div-table-responsive {
|
|||||||
.titlefield { width: 30% !important; }
|
.titlefield { width: 30% !important; }
|
||||||
.titlefieldcreate { width: 30% !important; }
|
.titlefieldcreate { width: 30% !important; }
|
||||||
.minwidth50imp { min-width: 50px !important; }
|
.minwidth50imp { min-width: 50px !important; }
|
||||||
|
.minwidth75imp { min-width: 75px !important; }
|
||||||
.minwidth100imp { min-width: 100px !important; }
|
.minwidth100imp { min-width: 100px !important; }
|
||||||
.minwidth200imp { min-width: 200px !important; }
|
.minwidth200imp { min-width: 200px !important; }
|
||||||
.minwidth300imp { min-width: 300px !important; }
|
.minwidth300imp { min-width: 300px !important; }
|
||||||
@ -734,7 +737,8 @@ div.fiche>form>div.div-table-responsive {
|
|||||||
{
|
{
|
||||||
.maxwidthonsmartphone { max-width: 100px; }
|
.maxwidthonsmartphone { max-width: 100px; }
|
||||||
.minwidth50imp { min-width: 50px !important; }
|
.minwidth50imp { min-width: 50px !important; }
|
||||||
.minwidth100imp { min-width: 50px !important; }
|
.minwidth75imp { min-width: 70px !important; }
|
||||||
|
.minwidth100imp { min-width: 80px !important; }
|
||||||
.minwidth200imp { min-width: 100px !important; }
|
.minwidth200imp { min-width: 100px !important; }
|
||||||
.minwidth300imp { min-width: 100px !important; }
|
.minwidth300imp { min-width: 100px !important; }
|
||||||
.minwidth400imp { min-width: 100px !important; }
|
.minwidth400imp { min-width: 100px !important; }
|
||||||
@ -785,11 +789,12 @@ div.fiche>form>div.div-table-responsive {
|
|||||||
.maxwidth300onsmartphone { max-width: 300px; }
|
.maxwidth300onsmartphone { max-width: 300px; }
|
||||||
.maxwidth400onsmartphone { max-width: 400px; }
|
.maxwidth400onsmartphone { max-width: 400px; }
|
||||||
.minwidth50imp { min-width: 50px !important; }
|
.minwidth50imp { min-width: 50px !important; }
|
||||||
.minwidth100imp { min-width: 50px !important; }
|
.minwidth75imp { min-width: 60px !important; }
|
||||||
.minwidth200imp { min-width: 50px !important; }
|
.minwidth100imp { min-width: 60px !important; }
|
||||||
.minwidth300imp { min-width: 50px !important; }
|
.minwidth200imp { min-width: 60px !important; }
|
||||||
.minwidth400imp { min-width: 50px !important; }
|
.minwidth300imp { min-width: 60px !important; }
|
||||||
.minwidth500imp { min-width: 50px !important; }
|
.minwidth400imp { min-width: 60px !important; }
|
||||||
|
.minwidth500imp { min-width: 60px !important; }
|
||||||
.titlefield { width: auto; }
|
.titlefield { width: auto; }
|
||||||
.titlefieldcreate { width: auto; }
|
.titlefieldcreate { width: auto; }
|
||||||
|
|
||||||
|
|||||||
@ -702,6 +702,7 @@ div.fiche>form>div.div-table-responsive {
|
|||||||
.minwidth400 { min-width: 400px; }
|
.minwidth400 { min-width: 400px; }
|
||||||
.minwidth500 { min-width: 500px; }
|
.minwidth500 { min-width: 500px; }
|
||||||
.minwidth50imp { min-width: 50px !important; }
|
.minwidth50imp { min-width: 50px !important; }
|
||||||
|
.minwidth75imp { min-width: 75px !important; }
|
||||||
.minwidth100imp { min-width: 100px !important; }
|
.minwidth100imp { min-width: 100px !important; }
|
||||||
.minwidth200imp { min-width: 200px !important; }
|
.minwidth200imp { min-width: 200px !important; }
|
||||||
.minwidth300imp { min-width: 300px !important; }
|
.minwidth300imp { min-width: 300px !important; }
|
||||||
@ -718,6 +719,7 @@ div.fiche>form>div.div-table-responsive {
|
|||||||
.maxwidth400 { max-width: 400px; }
|
.maxwidth400 { max-width: 400px; }
|
||||||
.maxwidth500 { max-width: 500px; }
|
.maxwidth500 { max-width: 500px; }
|
||||||
.maxwidth50imp { max-width: 50px !important; }
|
.maxwidth50imp { max-width: 50px !important; }
|
||||||
|
.maxwidth75imp { max-width: 75px !important; }
|
||||||
.minheight20 { min-height: 20px; }
|
.minheight20 { min-height: 20px; }
|
||||||
.minheight40 { min-height: 40px; }
|
.minheight40 { min-height: 40px; }
|
||||||
.titlefieldcreate { width: 20%; }
|
.titlefieldcreate { width: 20%; }
|
||||||
@ -732,6 +734,7 @@ div.fiche>form>div.div-table-responsive {
|
|||||||
.titlefield { width: 30% !important; }
|
.titlefield { width: 30% !important; }
|
||||||
.titlefieldcreate { width: 30% !important; }
|
.titlefieldcreate { width: 30% !important; }
|
||||||
.minwidth50imp { min-width: 50px !important; }
|
.minwidth50imp { min-width: 50px !important; }
|
||||||
|
.minwidth75imp { min-width: 75px !important; }
|
||||||
.minwidth100imp { min-width: 100px !important; }
|
.minwidth100imp { min-width: 100px !important; }
|
||||||
.minwidth200imp { min-width: 200px !important; }
|
.minwidth200imp { min-width: 200px !important; }
|
||||||
.minwidth300imp { min-width: 300px !important; }
|
.minwidth300imp { min-width: 300px !important; }
|
||||||
@ -744,7 +747,8 @@ div.fiche>form>div.div-table-responsive {
|
|||||||
{
|
{
|
||||||
.maxwidthonsmartphone { max-width: 100px; }
|
.maxwidthonsmartphone { max-width: 100px; }
|
||||||
.minwidth50imp { min-width: 50px !important; }
|
.minwidth50imp { min-width: 50px !important; }
|
||||||
.minwidth100imp { min-width: 50px !important; }
|
.minwidth75imp { min-width: 70px !important; }
|
||||||
|
.minwidth100imp { min-width: 80px !important; }
|
||||||
.minwidth200imp { min-width: 100px !important; }
|
.minwidth200imp { min-width: 100px !important; }
|
||||||
.minwidth300imp { min-width: 100px !important; }
|
.minwidth300imp { min-width: 100px !important; }
|
||||||
.minwidth400imp { min-width: 100px !important; }
|
.minwidth400imp { min-width: 100px !important; }
|
||||||
@ -794,11 +798,12 @@ div.fiche>form>div.div-table-responsive {
|
|||||||
.maxwidth300onsmartphone { max-width: 300px; }
|
.maxwidth300onsmartphone { max-width: 300px; }
|
||||||
.maxwidth400onsmartphone { max-width: 400px; }
|
.maxwidth400onsmartphone { max-width: 400px; }
|
||||||
.minwidth50imp { min-width: 50px !important; }
|
.minwidth50imp { min-width: 50px !important; }
|
||||||
.minwidth100imp { min-width: 50px !important; }
|
.minwidth75imp { min-width: 60px !important; }
|
||||||
.minwidth200imp { min-width: 50px !important; }
|
.minwidth100imp { min-width: 60px !important; }
|
||||||
.minwidth300imp { min-width: 50px !important; }
|
.minwidth200imp { min-width: 60px !important; }
|
||||||
.minwidth400imp { min-width: 50px !important; }
|
.minwidth300imp { min-width: 60px !important; }
|
||||||
.minwidth500imp { min-width: 50px !important; }
|
.minwidth400imp { min-width: 60px !important; }
|
||||||
|
.minwidth500imp { min-width: 60px !important; }
|
||||||
.titlefield { width: auto; }
|
.titlefield { width: auto; }
|
||||||
.titlefieldcreate { width: auto; }
|
.titlefieldcreate { width: auto; }
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user