mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
CSS
This commit is contained in:
parent
92d4d2f8e7
commit
c6714fa576
|
|
@ -1068,6 +1068,7 @@ if ($step == 4 && $datatoimport) {
|
|||
print '<div id="left" class="connectedSortable">'."\n";
|
||||
|
||||
// List of source fields
|
||||
|
||||
$var = false;
|
||||
$lefti = 1;
|
||||
foreach ($fieldssource as $key => $val) {
|
||||
|
|
@ -1090,6 +1091,7 @@ if ($step == 4 && $datatoimport) {
|
|||
print '</td><td width="50%" class="nopaddingrightimp">';
|
||||
|
||||
// Set the list of all possible target fields in Dolibarr.
|
||||
|
||||
$optionsall = array();
|
||||
foreach ($fieldstarget as $code => $line) {
|
||||
//var_dump($line);
|
||||
|
|
@ -1141,8 +1143,7 @@ if ($step == 4 && $datatoimport) {
|
|||
$entityicon = !empty($entitytoicon[$entity]) ? $entitytoicon[$entity] : $entity; // $entityicon must string name of picto of the field like 'project', 'company', 'contact', 'modulename', ...
|
||||
$entitylang = $entitytolang[$entity] ? $entitytolang[$entity] : $objimport->array_import_label[0]; // $entitylang must be a translation key to describe object the field is related to, like 'Company', 'Contact', 'MyModyle', ...
|
||||
|
||||
//print '<td class="nowraponall" style="font-weight: normal">=> '.img_object('', $entityicon).' '.$langs->trans($entitylang).'</td>';
|
||||
print '<td class="nowraponall" style="font-weight: normal">=> </td>';
|
||||
print '<td class="nowraponall hideonsmartphone" style="font-weight: normal">=> </td>';
|
||||
print '<td class="nowraponall" style="font-weight: normal">';
|
||||
|
||||
//var_dump($_SESSION['dol_array_match_file_to_database_select']);
|
||||
|
|
@ -1510,7 +1511,7 @@ if ($step == 4 && $datatoimport) {
|
|||
print '<tr class="oddeven"><td>';
|
||||
print $obj->label;
|
||||
print '</td>';
|
||||
print '<td>';
|
||||
print '<td class="tdoverflowmax150">';
|
||||
if (empty($obj->fk_user)) {
|
||||
print $langs->trans("Everybody");
|
||||
} else {
|
||||
|
|
@ -2338,7 +2339,7 @@ $db->close();
|
|||
*/
|
||||
function show_elem($fieldssource, $pos, $key, $var, $nostyle = '')
|
||||
{
|
||||
global $langs;
|
||||
global $conf, $langs;
|
||||
|
||||
$height = '32px';
|
||||
|
||||
|
|
@ -2384,7 +2385,7 @@ function show_elem($fieldssource, $pos, $key, $var, $nostyle = '')
|
|||
if (isset($fieldssource[$pos]['imported']) && $fieldssource[$pos]['imported'] == false) {
|
||||
print '<td class="nowraponall boxtdunused" style="font-weight: normal">';
|
||||
} else {
|
||||
print '<td class="nowraponall" style="font-weight: normal">';
|
||||
print '<td class="nowraponall tdoverflowmax500" style="font-weight: normal">';
|
||||
}
|
||||
print $langs->trans("Column").' '.num2Alpha($pos - 1).' (#'.$pos.')';
|
||||
if (empty($fieldssource[$pos]['example1'])) {
|
||||
|
|
@ -2396,7 +2397,12 @@ function show_elem($fieldssource, $pos, $key, $var, $nostyle = '')
|
|||
if (!utf8_check($example)) {
|
||||
$example = utf8_encode($example);
|
||||
}
|
||||
print ' - ';
|
||||
if (!empty($conf->dol_optimize_smallscreen)) {
|
||||
//print '<br>';
|
||||
print ' - ';
|
||||
} else {
|
||||
print ' - ';
|
||||
}
|
||||
//print '<span class="opacitymedium hideonsmartphone">'.$langs->trans("ExampleOnFirstLine").': </span>';
|
||||
print '<i class="opacitymedium">'.$example.'</i>';
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1709,6 +1709,7 @@ select.widthcentpercentminusxx, span.widthcentpercentminusxx:not(.select2-select
|
|||
|
||||
select.minwidth100imp, select.minwidth100, select.minwidth200, select.minwidth200imp, select.minwidth300 {
|
||||
width: calc(100% - 40px) !important;
|
||||
min-width: 100px;
|
||||
display: inline-block;
|
||||
}
|
||||
select.widthcentpercentminusxx, span.widthcentpercentminusxx:not(.select2-selection), input.widthcentpercentminusxx {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user