Responsive

This commit is contained in:
Laurent Destailleur 2022-06-23 22:29:07 +02:00
parent de61b53bd7
commit 930ce5b305

View File

@ -580,6 +580,7 @@ if ($action != 'edit' && $action != 'create') { // If not bank account yet, $ac
if ($resql) { if ($resql) {
$num = $db->num_rows($resql); $num = $db->num_rows($resql);
print '<div class="div-table-responsive-no-min">'; // You can use div-table-responsive-no-min if you dont need reserved height for your table
print '<table class="noborder centpercent">'; print '<table class="noborder centpercent">';
print '<tr class="liste_titre">'; print '<tr class="liste_titre">';
@ -620,6 +621,7 @@ if ($action != 'edit' && $action != 'create') { // If not bank account yet, $ac
print '<td colspan="5"><span class="opacitymedium">'.$langs->trans("None").'</span></a>'; print '<td colspan="5"><span class="opacitymedium">'.$langs->trans("None").'</span></a>';
} }
print "</table>"; print "</table>";
print "</div>";
} else { } else {
dol_print_error($db); dol_print_error($db);
} }
@ -639,6 +641,7 @@ if ($action != 'edit' && $action != 'create') { // If not bank account yet, $ac
if ($resql) { if ($resql) {
$num = $db->num_rows($resql); $num = $db->num_rows($resql);
print '<div class="div-table-responsive-no-min">'; // You can use div-table-responsive-no-min if you dont need reserved height for your table
print '<table class="noborder centpercent">'; print '<table class="noborder centpercent">';
print '<tr class="liste_titre">'; print '<tr class="liste_titre">';
@ -674,6 +677,7 @@ if ($action != 'edit' && $action != 'create') { // If not bank account yet, $ac
print '<td colspan="4"><span class="opacitymedium">'.$langs->trans("None").'</span></a>'; print '<td colspan="4"><span class="opacitymedium">'.$langs->trans("None").'</span></a>';
} }
print "</table>"; print "</table>";
print "</div>";
} else { } else {
dol_print_error($db); dol_print_error($db);
} }
@ -695,6 +699,7 @@ if ($action != 'edit' && $action != 'create') { // If not bank account yet, $ac
if ($resql) { if ($resql) {
$num = $db->num_rows($resql); $num = $db->num_rows($resql);
print '<div class="div-table-responsive-no-min">'; // You can use div-table-responsive-no-min if you dont need reserved height for your table
print '<table class="noborder centpercent">'; print '<table class="noborder centpercent">';
print '<tr class="liste_titre">'; print '<tr class="liste_titre">';
@ -725,6 +730,7 @@ if ($action != 'edit' && $action != 'create') { // If not bank account yet, $ac
print '<td colspan="4"><span class="opacitymedium">'.$langs->trans("None").'</span></a>'; print '<td colspan="4"><span class="opacitymedium">'.$langs->trans("None").'</span></a>';
} }
print "</table>"; print "</table>";
print "</div>";
} else { } else {
dol_print_error($db); dol_print_error($db);
} }