This commit is contained in:
Laurent Destailleur 2023-02-27 14:29:34 +01:00
parent 256ce217d0
commit 7ae7f2481a
3 changed files with 12 additions and 5 deletions

View File

@ -5265,6 +5265,7 @@ span[phptag] {
.websitebar .button.bordertransp {
color: unset;
text-decoration: unset !important;
margin: 0px 4px 0px 4px !important
}
.websitebar {
@ -5312,7 +5313,7 @@ span[phptag] {
.websiteinputurl {
display: inline-block;
vertical-align: middle;
line-height: 28px;
line-height: 26px;
}
.websiteiframenoborder {
border: 0px;

View File

@ -5264,6 +5264,12 @@ span[phptag] {
font-weight: normal;
color: #444 !important;
}
.websitebar .button.bordertransp {
color: unset;
text-decoration: unset !important;
/* margin: 0px 4px 0px 4px !important */
}
.websitebar {
border-bottom: 1px solid #ccc;
background: #eee;
@ -5303,7 +5309,7 @@ span[phptag] {
.websiteinputurl {
display: inline-block;
vertical-align: top;
line-height: 28px;
line-height: 26px;
}
.websiteiframenoborder {
border: 0px;
@ -5324,7 +5330,7 @@ span.websitebuttonsitepreviewdisabled img, a.websitebuttonsitepreviewdisabled im
.websitehelp {
vertical-align: middle;
float: right;
padding-top: 8px;
padding-top: 5px;
}
.websiteselectionsection {
border-left: 1px solid #bbb;

View File

@ -2959,7 +2959,7 @@ if (!GETPOST('hide_websitemenu')) {
$url = $_SERVER["PHP_SELF"].'?action=deletesite&token='.newToken().'&website='.urlencode($website->ref);
}
}
print '<a href="'.$url.'" class="buttonDelete bordertransp'.($disabled ? ' disabled' : '').'"'.$disabled.' title="'.dol_escape_htmltag($title).'">'.img_picto('', 'delete', 'class=""').'<span class="hideonsmartphone paddingleft">'.$langs->trans("Delete").'</span></a>';
print '<a href="'.$url.'" class="button buttonDelete bordertransp'.($disabled ? ' disabled' : '').'"'.$disabled.' title="'.dol_escape_htmltag($title).'">'.img_picto('', 'delete', 'class=""').'<span class="hideonsmartphone paddingleft">'.$langs->trans("Delete").'</span></a>';
// Regenerate all pages
print '<a href="'.$_SERVER["PHP_SELF"].'?action=regeneratesite&token='.newToken().'&website='.urlencode($website->ref).'" class="button bordertransp"'.$disabled.' title="'.dol_escape_htmltag($langs->trans("RegenerateWebsiteContent")).'"><span class="far fa-hdd"></span></a>';
@ -3361,7 +3361,7 @@ if (!GETPOST('hide_websitemenu')) {
$title = '';
$url = $_SERVER["PHP_SELF"].'?action=delete&token='.newToken().'&pageid='.((int) $websitepage->id).'&website='.urlencode($website->ref); // action=delete for webpage, deletesite for website
}
print '<a href="'.$url.'" class="buttonDelete bordertransp'.($disabled ? ' disabled' : '').'"'.$disabled.' title="'.dol_escape_htmltag($title).'">'.img_picto('', 'delete', 'class=""').'<span class="hideonsmartphone paddingleft">'.$langs->trans("Delete").'</span></a>';
print '<a href="'.$url.'" class="button buttonDelete bordertransp'.($disabled ? ' disabled' : '').'"'.$disabled.' title="'.dol_escape_htmltag($title).'">'.img_picto('', 'delete', 'class=""').'<span class="hideonsmartphone paddingleft">'.$langs->trans("Delete").'</span></a>';
}
}