Look and feel export tool

This commit is contained in:
Laurent Destailleur 2023-03-29 12:03:52 +02:00
parent 83565ec0a7
commit 5683b21823
2 changed files with 18 additions and 15 deletions

View File

@ -163,13 +163,13 @@ $title = $langs->trans("BackupDumpWizard");
print load_fiche_titre($title); print load_fiche_titre($title);
print '<table class="liste nohover centpercent noborderbottom">'; //print '<table class="liste nohover centpercent noborderbottom">';
print '<tr class="liste_titre">'; //print '<tr class="liste_titre">';
print '<td class="liste_titre">'; //print '<td class="liste_titre">';
print $langs->trans("DatabaseName").' : <b>'.$dolibarr_main_db_name.'</b><br>'; print '<span class="opacitymedium">'.$langs->trans("DatabaseName").' : </span><b>'.$dolibarr_main_db_name.'</b><br><br>';
print '</td>'; //print '</td>';
print '</tr>'; //print '</tr>';
print '<tr class="oddeven nohover"><td class="nohover">'; //print '<tr class="oddeven nohover"><td class="nohover">';
print '<table class="centpercent noborderbottom">'; print '<table class="centpercent noborderbottom">';
@ -589,8 +589,8 @@ if (!empty($_SESSION["commandbackuptorun"])) {
print "</div> <!-- end div center button -->\n"; print "</div> <!-- end div center button -->\n";
print '</td></tr>'; //print '</td></tr>';
print '</table>'; //print '</table>';
print "</div> <!-- end div fichehalfleft -->\n"; print "</div> <!-- end div fichehalfleft -->\n";
@ -598,7 +598,7 @@ print "</div> <!-- end div fichehalfleft -->\n";
print '<div id="backupdatabaseright" class="fichehalfright">'; print '<div id="backupdatabaseright" class="fichehalfright">';
$filearray = dol_dir_list($conf->admin->dir_output.'/backup', 'files', 0, '', '', $sortfield, (strtolower($sortorder) == 'asc' ?SORT_ASC:SORT_DESC), 1); $filearray = dol_dir_list($conf->admin->dir_output.'/backup', 'files', 0, '', '', $sortfield, (strtolower($sortorder) == 'asc' ?SORT_ASC:SORT_DESC), 1);
$result = $formfile->list_of_documents($filearray, null, 'systemtools', '', 1, 'backup/', 1, 0, $langs->trans("NoBackupFileAvailable"), 0, $langs->trans("PreviousDumpFiles"), '', 0, -1, '', '', 'ASC', 1, 0, -1, 'style="height:480px; overflow: auto;"'); $result = $formfile->list_of_documents($filearray, null, 'systemtools', '', 1, 'backup/', 1, 0, $langs->trans("NoBackupFileAvailable"), 0, $langs->trans("PreviousDumpFiles"), '', 0, -1, '', '', 'ASC', 1, 0, -1, 'style="height:250px; overflow: auto;"');
print '<br>'; print '<br>';
print '</div>'; print '</div>';
@ -652,12 +652,12 @@ foreach ($filecompression as $key => $val) {
if ($key == 'gz') { if ($key == 'gz') {
$checked = ' checked'; $checked = ' checked';
} }
print '<input type="radio" name="compression" value="'.$key.'" id="'.$val['id'].'"'.$checked.'>'; print '<input type="radio" name="compression" value="'.$key.'" id="'.$val['id'].'2"'.$checked.'>';
print ' <label for="'.$val['id'].'">'.$val['label'].'</label>'; print ' <label for="'.$val['id'].'2">'.$val['label'].'</label>';
} else // Disabled export format } else // Disabled export format
{ {
print '<input type="radio" name="compression" value="'.$key.'" id="'.$val['id'].'" disabled>'; print '<input type="radio" name="compression" value="'.$key.'" id="'.$val['id'].'2" disabled>';
print ' <label for="'.$val['id'].'">'.$val['label'].'</label>'; print ' <label for="'.$val['id'].'2">'.$val['label'].'</label>';
print ' <span class="opacitymedium">('.$langs->trans("NotAvailable").')</span>'; print ' <span class="opacitymedium">('.$langs->trans("NotAvailable").')</span>';
} }
print ' &nbsp; &nbsp; '; print ' &nbsp; &nbsp; ';

View File

@ -565,11 +565,14 @@ input:-moz-placeholder { color: #ccc; }
input[name=price], input[name=weight], input[name=volume], input[name=surface], input[name=sizeheight], input[name=net_measure], select[name=incoterm_id] { margin-right: 6px; } input[name=price], input[name=weight], input[name=volume], input[name=surface], input[name=sizeheight], input[name=net_measure], select[name=incoterm_id] { margin-right: 6px; }
fieldset { fieldset {
border: 1px solid #AAAAAA !important; border: 1px solid #aaa !important;
padding-inline-start: 2em; padding-inline-start: 2em;
padding-inline-end: 2em; padding-inline-end: 2em;
min-inline-size: auto; min-inline-size: auto;
} }
#div_container_exportoptions fieldset, #div_container_sub_exportoptions fieldset {
border: 1px solid #ccc !important;
}
.legendforfieldsetstep { padding-bottom: 10px; } .legendforfieldsetstep { padding-bottom: 10px; }
input#onlinepaymenturl, input#directdownloadlink { input#onlinepaymenturl, input#directdownloadlink {
opacity: 0.7; opacity: 0.7;