Look and feel v16
This commit is contained in:
parent
bb6f73136a
commit
a57312d09c
@ -286,7 +286,7 @@ if ($conf->product->enabled || $conf->product->service) {
|
||||
print '<input type="submit" class="button" name="submitformbarcodeproductgen" id="submitformbarcodeproductgen" value="'.$langs->trans("InitEmptyBarCode", min($maxperinit, $nbno)).'"'.$moretags1.'>';
|
||||
$moretags2 = (($nbno == $nbtotal) ? ' disabled' : '');
|
||||
print ' ';
|
||||
print '<input type="submit" class="button" name="eraseallbarcode" id="eraseallbarcode" value="'.$langs->trans("EraseAllCurrentBarCode").'"'.$moretags2.' onClick="return confirm_erase();">';
|
||||
print '<input type="submit" class="button butActionDelete" name="eraseallbarcode" id="eraseallbarcode" value="'.$langs->trans("EraseAllCurrentBarCode").'"'.$moretags2.' onClick="return confirm_erase();">';
|
||||
print '<br><br><br><br>';
|
||||
}
|
||||
|
||||
|
||||
@ -173,27 +173,34 @@ class box_members_by_type extends ModeleBoxes
|
||||
$line = 0;
|
||||
$this->info_box_contents[$line][] = array(
|
||||
'td' => 'class=""',
|
||||
'text' => $langs->trans("MembersTypes"),
|
||||
'text' => '',
|
||||
);
|
||||
$labelstatus = $staticmember->LibStatut($staticmember::STATUS_DRAFT, 0, 0, 1);
|
||||
$this->info_box_contents[$line][] = array(
|
||||
'td' => 'class="right"',
|
||||
'text' => $langs->trans("MembersStatusToValid"), // Draft
|
||||
'td' => 'class="right tdoverflowmax100" width="15%" title="'.dol_escape_htmltag($labelstatus).'"',
|
||||
'text' => $labelstatus
|
||||
);
|
||||
$labelstatus = $langs->trans("UpToDate");
|
||||
$labelstatus = $staticmember->LibStatut($staticmember::STATUS_VALIDATED, 1, dol_now() + 86400, 1);
|
||||
$this->info_box_contents[$line][] = array(
|
||||
'td' => 'class="right"',
|
||||
'text' => $langs->trans("UpToDate"),
|
||||
'td' => 'class="right tdoverflowmax100" width="15%" title="'.dol_escape_htmltag($labelstatus).'"',
|
||||
'text' => $labelstatus,
|
||||
);
|
||||
$labelstatus = $langs->trans("OutOfDate");
|
||||
$labelstatus = $staticmember->LibStatut($staticmember::STATUS_VALIDATED, 1, dol_now() - 86400, 1);
|
||||
$this->info_box_contents[$line][] = array(
|
||||
'td' => 'class="right"',
|
||||
'text' => $langs->trans("OutOfDate"),
|
||||
'td' => 'class="right tdoverflowmax100" width="15%" title="'.dol_escape_htmltag($labelstatus).'"',
|
||||
'text' => $labelstatus
|
||||
);
|
||||
$labelstatus = $staticmember->LibStatut($staticmember::STATUS_EXCLUDED, 0, 0, 1);
|
||||
$this->info_box_contents[$line][] = array(
|
||||
'td' => 'class="right"',
|
||||
'text' => $langs->trans("MembersStatusExcluded"),
|
||||
'td' => 'class="right tdoverflowmax100" width="15%" title="'.dol_escape_htmltag($labelstatus).'"',
|
||||
'text' => $labelstatus
|
||||
);
|
||||
$labelstatus = $staticmember->LibStatut($staticmember::STATUS_RESILIATED, 0, 0, 1);
|
||||
$this->info_box_contents[$line][] = array(
|
||||
'td' => 'class="right"',
|
||||
'text' => $langs->trans("MembersStatusResiliated"),
|
||||
'td' => 'class="right tdoverflowmax100" width="15%" title="'.dol_escape_htmltag($labelstatus).'"',
|
||||
'text' => $labelstatus
|
||||
);
|
||||
$line++;
|
||||
foreach ($AdherentType as $key => $adhtype) {
|
||||
|
||||
@ -222,7 +222,7 @@ class ModeleBoxes // Can't be abtract as it is instantiated to build "empty" box
|
||||
// Show box title
|
||||
if (!empty($head['text']) || !empty($head['sublink']) || !empty($head['subpicto'])) {
|
||||
$out .= '<tr class="liste_titre box_titre">';
|
||||
$out .= '<td';
|
||||
$out .= '<th';
|
||||
if ($nbcol > 0) {
|
||||
$out .= ' colspan="'.$nbcol.'"';
|
||||
}
|
||||
@ -268,7 +268,7 @@ class ModeleBoxes // Can't be abtract as it is instantiated to build "empty" box
|
||||
$out .= '</div>';
|
||||
}
|
||||
|
||||
$out .= "</td>";
|
||||
$out .= "</th>";
|
||||
$out .= "</tr>\n";
|
||||
}
|
||||
|
||||
|
||||
@ -147,9 +147,9 @@ span.butActionNewRefused>span.fa, span.butActionNewRefused>span.fa:hover
|
||||
}
|
||||
|
||||
.butActionDelete, .butActionDelete:link, .butActionDelete:visited, .butActionDelete:hover, .butActionDelete:active, .buttonDelete {
|
||||
background: var(--butactiondeletebg);
|
||||
background: var(--butactiondeletebg) !important;
|
||||
/* border: 1px solid #633; */
|
||||
color: #633;
|
||||
color: #633 !important;
|
||||
}
|
||||
|
||||
.butActionDelete:hover {
|
||||
|
||||
@ -240,7 +240,7 @@ input, select {
|
||||
}
|
||||
#mainbody input.button:not(.buttongen):not(.bordertransp), #mainbody a.button:not(.buttongen):not(.bordertransp) {
|
||||
background: var(--butactionbg);
|
||||
color: var(--textbutaction)!important;
|
||||
color: var(--textbutaction);
|
||||
border-radius: 3px;
|
||||
border-collapse: collapse;
|
||||
border: none;
|
||||
@ -3811,12 +3811,6 @@ div.pagination {
|
||||
div.pagination a {
|
||||
font-weight: normal;
|
||||
}
|
||||
/*div.pagination a.butAction, div.fichehalfright a.butAction {
|
||||
margin-right: 0px !important;
|
||||
}
|
||||
div.tabsAction a.butActionDelete:last-child, div.tabsAction a.butAction:last-child {
|
||||
margin-right: 0px !important;
|
||||
}*/
|
||||
div.pagination ul
|
||||
{
|
||||
list-style: none;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user