diff --git a/htdocs/admin/index.php b/htdocs/admin/index.php
index daf20ce5aa2..787a9d6d820 100644
--- a/htdocs/admin/index.php
+++ b/htdocs/admin/index.php
@@ -47,6 +47,7 @@ llxHeader('', $langs->trans("Setup"), $wikihelp);
print load_fiche_titre($langs->trans("SetupArea"), '', 'tools');
+
if (!empty($conf->global->MAIN_MOTD_SETUPPAGE)) {
$conf->global->MAIN_MOTD_SETUPPAGE = preg_replace('/
/i', '
', $conf->global->MAIN_MOTD_SETUPPAGE);
if (!empty($conf->global->MAIN_MOTD_SETUPPAGE)) {
@@ -76,12 +77,15 @@ print $langs->trans("SetupDescription2", $langs->transnoentities("MenuCompanySet
print "
";
print '';
-print '
';
+print '
';
// Show info setup company
if (empty($conf->global->MAIN_INFO_SOCIETE_NOM) || empty($conf->global->MAIN_INFO_SOCIETE_COUNTRY)) {
$setupcompanynotcomplete = 1;
}
+
+print '';
+
print img_picto('', 'company', 'class="paddingright valignmiddle double"').' '.$langs->trans("SetupDescriptionLink", DOL_URL_ROOT.'/admin/company.php?mainmenu=home'.(empty($setupcompanynotcomplete) ? '' : '&action=edit&token='.newToken()), $langs->transnoentities("Setup"), $langs->transnoentities("MenuCompanySetup"));
print '
';
print $langs->trans("SetupDescription3b");
@@ -90,10 +94,13 @@ if (!empty($setupcompanynotcomplete)) {
$warnpicto = img_warning($langs->trans("WarningMandatorySetupNotComplete"), 'style="padding-right: 6px;"');
print '
';
}
+
+print '';
+
print '
';
print '
';
-print '
';
-print '
';
+
+print '';
// Show info setup module
print img_picto('', 'cog', 'class="paddingright valignmiddle double"').' '.$langs->trans("SetupDescriptionLink", DOL_URL_ROOT.'/admin/modules.php?mainmenu=home', $langs->transnoentities("Setup"), $langs->transnoentities("Modules"));
@@ -103,7 +110,9 @@ if (count($conf->modules) <= (empty($conf->global->MAIN_MIN_NB_ENABLED_MODULE_FO
$warnpicto = img_warning($langs->trans("WarningEnableYourModulesApplications"), 'style="padding-right: 6px;"');
print '
';
}
-print '
';
+
+print '';
+
print '
';
print '
';
print '
';
diff --git a/htdocs/theme/eldy/global.inc.php b/htdocs/theme/eldy/global.inc.php
index 291a152a7de..bf1e9dc967e 100644
--- a/htdocs/theme/eldy/global.inc.php
+++ b/htdocs/theme/eldy/global.inc.php
@@ -255,6 +255,12 @@ input:invalid, select:invalid, input.--error , select.--error {
border-color: #ea1212;
}
+section.setupsection {
+ padding: 20px;
+ background-color: var(--colorbacktitle1);
+ border-radius: 5px;
+}
+
.field-error-icon { color: #ea1212; !important; }
/* Focus definitions must be after standard definition */
diff --git a/htdocs/theme/md/style.css.php b/htdocs/theme/md/style.css.php
index 0790db17cfb..6c596ad2916 100644
--- a/htdocs/theme/md/style.css.php
+++ b/htdocs/theme/md/style.css.php
@@ -463,6 +463,18 @@ input.short {
width: 40px;
}
+input:invalid, select:invalid, input.--error , select.--error {
+ border-color: #ea1212;
+}
+
+section.setupsection {
+ padding: 20px;
+ background-color: var(--colorbacktitle1);
+ border-radius: 5px;
+}
+
+.field-error-icon { color: #ea1212; !important; }
+
textarea {
border-radius: 0;
border-top:solid 1px var(--inputbordercolor);