Look and feel v12

This commit is contained in:
Laurent Destailleur
2020-04-12 17:28:10 +02:00
parent 313df360b2
commit e18d6bd6b8
2 changed files with 6 additions and 5 deletions

View File

@@ -381,7 +381,7 @@ if ($action != 'edit' && $action != 'create') // If not bank account yet, $acco
$morehtmlright = dolGetButtonTitle($langs->trans('Add'), '', 'fa fa-plus-circle', $_SERVER["PHP_SELF"] . '?id=' . $object->id . '&action=create');
}
print load_fiche_titre($langs->trans("BankAccounts"), $morehtmlright, 'bank');
print load_fiche_titre($langs->trans("BankAccounts"), $morehtmlright, 'bank_account');
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="liste centpercent">';

View File

@@ -114,7 +114,7 @@ if ($id > 0)
if ($user->admin)
{
print '<tr><td width="25%" valign="top">ClickToDial URL</td>';
print '<tr><td class="titlefield fieldrequired">ClickToDial URL</td>';
print '<td class="valeur">';
print '<input name="url" value="'.(!empty($object->clicktodial_url) ? $object->clicktodial_url : '').'" size="92">';
if (empty($conf->global->CLICKTODIAL_URL) && empty($object->clicktodial_url))
@@ -130,7 +130,7 @@ if ($id > 0)
print '</tr>';
}
print '<tr><td class="titlefield">ClickToDial '.$langs->trans("IdPhoneCaller").'</td>';
print '<tr><td class="titlefield fieldrequired">ClickToDial '.$langs->trans("IdPhoneCaller").'</td>';
print '<td class="valeur">';
print '<input name="poste" value="'.(!empty($object->clicktodial_poste) ? $object->clicktodial_poste : '').'"></td>';
print "</tr>\n";
@@ -153,7 +153,7 @@ if ($id > 0)
if (!empty($user->admin))
{
print '<tr><td class="titlefield fieldrequired">ClickToDial URL</td>';
print '<tr><td class="titlefield">ClickToDial URL</td>';
print '<td class="valeur">';
$url = $conf->global->CLICKTODIAL_URL;
if (!empty($object->clicktodial_url)) $url = $object->clicktodial_url;
@@ -170,7 +170,7 @@ if ($id > 0)
print '</tr>';
}
print '<tr><td class="titlefield fieldrequired">ClickToDial '.$langs->trans("IdPhoneCaller").'</td>';
print '<tr><td class="titlefield">ClickToDial '.$langs->trans("IdPhoneCaller").'</td>';
print '<td class="valeur">'.(!empty($object->clicktodial_poste) ? $object->clicktodial_poste : '').'</td>';
print "</tr>";
@@ -189,6 +189,7 @@ if ($id > 0)
if ($action == 'edit')
{
print '<br>';
print '<div class="center"><input class="button" type="submit" value="'.$langs->trans("Save").'">';
print '&nbsp;&nbsp;&nbsp;&nbsp&nbsp;';
print '<input class="button" type="submit" name="cancel" value="'.$langs->trans("Cancel").'">';