From f67c2e5b53937f6a286282a9d67167f55392e3e5 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 26 Nov 2021 17:20:11 +0100 Subject: [PATCH] Removed useless button --- htdocs/admin/modules.php | 6 ++++-- htdocs/theme/eldy/global.inc.php | 3 +++ htdocs/theme/md/style.css.php | 8 ++++++++ 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/htdocs/admin/modules.php b/htdocs/admin/modules.php index fc54fbaf575..097d125708f 100644 --- a/htdocs/admin/modules.php +++ b/htdocs/admin/modules.php @@ -563,8 +563,10 @@ if ($mode == 'common' || $mode == 'commonkanban') { $moreforfilter .= ' '; $moreforfilter .= '
'; $moreforfilter .= ''; - $moreforfilter .= ' '; - $moreforfilter .= ''; + if ($search_keyword || $search_status || $search_nature || $search_version) { + $moreforfilter .= ' '; + $moreforfilter .= ''; + } $moreforfilter .= '
'; $moreforfilter .= ''; diff --git a/htdocs/theme/eldy/global.inc.php b/htdocs/theme/eldy/global.inc.php index ba25200c674..d4754f444d5 100644 --- a/htdocs/theme/eldy/global.inc.php +++ b/htdocs/theme/eldy/global.inc.php @@ -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-: 0px; diff --git a/htdocs/theme/md/style.css.php b/htdocs/theme/md/style.css.php index cbc06c26838..5870307123d 100644 --- a/htdocs/theme/md/style.css.php +++ b/htdocs/theme/md/style.css.php @@ -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;