diff --git a/admin/themes/default/js/history.js b/admin/themes/default/js/history.js index 0d0ca9d79..7ad23d3a4 100644 --- a/admin/themes/default/js/history.js +++ b/admin/themes/default/js/history.js @@ -192,6 +192,7 @@ function fillHistoryResult(ajaxParam) { showResults(false); $(".loading").removeClass("hide"); $(".noResults").hide(); + $(".tab").empty(); }, success: function (raw_data) { diff --git a/admin/themes/default/template/history.tpl b/admin/themes/default/template/history.tpl index d2c6a2051..e6061df65 100644 --- a/admin/themes/default/template/history.tpl +++ b/admin/themes/default/template/history.tpl @@ -190,8 +190,8 @@ const guest_id = {$guest_id};
- {'Add a filter'|translate} - {'Edit'|@translate} + {'Add a filter'|translate} + {'Edit'|@translate}
@@ -570,7 +570,7 @@ jQuery(document).ready( function() { position: absolute; display: flex; flex-direction: column; - background: linear-gradient(130deg, #dddddd 0%, #f5f5f5 100%); + background: linear-gradient(130deg, #ff7700 0%, #ffa744 100%); left: 20px; top: -80%; width: max-content; @@ -580,10 +580,8 @@ jQuery(document).ready( function() { .img-option span, .img-option a { padding: 5px 10px; text-decoration: none; -} - -.img-option a:hover { - color: #3a3a3a; + color: white; + font-weight: 600; } .img-option:after { @@ -594,16 +592,23 @@ jQuery(document).ready( function() { transform: rotate(270deg); border-width: 5px; border-style: solid; - border-color: transparent transparent #dddddd transparent; + border-color: transparent transparent #ff7700 transparent; } -.img-option span:hover:first-child { - background: linear-gradient(130deg, #bbbbbb 0%, #e5e5e5 100%); +.img-option a:first-child::before { + margin-right: -1px; +} + +.img-option a:hover:first-child { + color: white; + background-color: #00000012; border-top-left-radius: 10px; border-top-right-radius: 10px; } + .img-option a:hover:last-child { - background: linear-gradient(130deg, #bbbbbb 0%, #e5e5e5 100%); + color: white; + background-color: #00000012; border-bottom-left-radius: 10px; border-bottom-right-radius: 10px; } diff --git a/include/ws_functions/pwg.php b/include/ws_functions/pwg.php index 7234bf7d6..bddcc78b9 100644 --- a/include/ws_functions/pwg.php +++ b/include/ws_functions/pwg.php @@ -1012,8 +1012,6 @@ SELECT unset($name_of_tag); - sleep(3); - return array( 'lines' => $result, 'params' => $param,