Clean code for md theme

This commit is contained in:
Laurent Destailleur 2021-11-12 13:33:59 +01:00
parent 3b21fc2d37
commit 715a65eab2
4 changed files with 11 additions and 2 deletions

View File

@ -70,6 +70,9 @@ print '<!-- Force style container -->'."\n".'<style>
.id-container {
width: 100%;
}
#id-right {
padding-left: unset;
}
</style>';
$arrayofnatures = array('core'=>$langs->transnoentitiesnoconv("Core"), 'external'=>$langs->transnoentitiesnoconv("External").' - '.$langs->trans("AllPublishers"));

View File

@ -4905,8 +4905,9 @@ class Form
$formconfirm .= ($question ? '<div class="confirmmessage">'.img_help('', '').' '.$question.'</div>' : '');
$formconfirm .= '</div>'."\n";
$formconfirm .= "\n<!-- begin ajax formconfirm page=".$page." -->\n";
$formconfirm .= "\n<!-- begin code of popup for formconfirm page=".$page." -->\n";
$formconfirm .= '<script type="text/javascript">'."\n";
$formconfirm .= "/* Code for the jQuery('#dialogforpopup').dialog() */\n";
$formconfirm .= 'jQuery(document).ready(function() {
$(function() {
$( "#'.$dialogconfirm.'" ).dialog(

View File

@ -3208,7 +3208,7 @@ if (!function_exists("llxFooter")) {
}
// A div for the address popup
print "\n<!-- A div to allow dialog popup -->\n";
print "\n<!-- A div to allow dialog popup by jQuery('#dialogforpopup').dialog() -->\n";
print '<div id="dialogforpopup" style="display: none;"></div>'."\n";
// Add code for the asynchronous anonymous first ping (for telemetry)

View File

@ -4487,6 +4487,11 @@ div#card-errors {
z-index: 1002 !important; /* Default 101 with jquery, top menu have a z-index of 1000 */
}
div#dialogforpopup {
background-color: #f8f8f8 !important;
}
/* ============================================================================== */
/* For content of image preview */
/* ============================================================================== */