Removed useless button

This commit is contained in:
Laurent Destailleur 2021-11-26 17:20:11 +01:00
parent 4548b4fcee
commit f67c2e5b53
3 changed files with 15 additions and 2 deletions

View File

@ -563,8 +563,10 @@ if ($mode == 'common' || $mode == 'commonkanban') {
$moreforfilter .= ' ';
$moreforfilter .= '<div class="divsearchfield">';
$moreforfilter .= '<input type="submit" name="buttonsubmit" class="button" value="'.dol_escape_htmltag($langs->trans("Refresh")).'">';
$moreforfilter .= ' ';
$moreforfilter .= '<input type="submit" name="buttonreset" class="buttonreset butActionDelete noborderbottom" value="'.dol_escape_htmltag($langs->trans("Reset")).'">';
if ($search_keyword || $search_status || $search_nature || $search_version) {
$moreforfilter .= ' ';
$moreforfilter .= '<input type="submit" name="buttonreset" class="buttonreset noborderbottom" value="'.dol_escape_htmltag($langs->trans("Reset")).'">';
}
$moreforfilter .= '</div>';
$moreforfilter .= '</div>';

View File

@ -3308,6 +3308,9 @@ input.buttonreset {
margin-top: 3px;
margin-bottom: 3px;
padding: 8px 15px;
text-decoration: underline;
color: var(--colortextlink);
cursor: pointer;
}
.nopaddingleft {
padding-<?php print $left; ?>: 0px;

View File

@ -3366,6 +3366,14 @@ tr.nocellnopadd td.nobordernopadding, tr.nocellnopadd td.nocellnopadd
.smallpaddingimp {
padding: 4px !important;
}
input.buttonreset {
margin-top: 3px;
margin-bottom: 3px;
padding: 8px 15px;
text-decoration: underline;
color: var(--colortextlink);
cursor: pointer;
}
.notopnoleft {
border-collapse: collapse;