diff --git a/app/templates/ovw.html b/app/templates/ovw.html index f497d6b7..8e0eb969 100644 --- a/app/templates/ovw.html +++ b/app/templates/ovw.html @@ -384,7 +384,7 @@ - Show more log + Show more diff --git a/inc/overview.js b/inc/overview.js index 5a6c0ec9..98a5950e 100644 --- a/inc/overview.js +++ b/inc/overview.js @@ -281,14 +281,14 @@ $( function() { $( "#show-all-haproxy-wi-log" ).click( function() { $( ".show-haproxy-wi-log" ).show("fast"); - $( "#show-all-haproxy-wi-log" ).text("Show less log"); - $( "#show-all-haproxy-wi-log" ).attr("title", "Show less log"); + $( "#show-all-haproxy-wi-log" ).text("Show less"); + $( "#show-all-haproxy-wi-log" ).attr("title", "Show less"); $( "#show-all-haproxy-wi-log" ).attr("id", "hide-all-haproxy-wi-log"); $( "#hide-all-haproxy-wi-log" ).click( function() { $( ".show-haproxy-wi-log" ).hide("fast"); - $( "#hide-all-haproxy-wi-log" ).attr("title", "Show more log"); - $( "#hide-all-haproxy-wi-log" ).text("Show more log"); + $( "#hide-all-haproxy-wi-log" ).attr("title", "Show more"); + $( "#hide-all-haproxy-wi-log" ).text("Show more"); $( "#hide-all-haproxy-wi-log" ).attr("id", "show-all-haproxy-wi-log"); }); }); diff --git a/inc/style.css b/inc/style.css index 26d9fefc..1518f4ed 100644 --- a/inc/style.css +++ b/inc/style.css @@ -22,12 +22,13 @@ body { } h2 { font-size: 1.5em; - background: var(--blue-color); - border: 1px solid var(--blue-color); - padding: 3px 3px 3px 2%; - color: #fff; - margin-top: 0; - margin-bottom: 0; + background: var(--blue-color); + border: 1px solid var(--blue-color); + padding: 2px 3px 3px 10px; + color: #fff; + margin-top: 0; + margin-bottom: 0; + height: 27px; } h3 { margin-top: -0; @@ -38,7 +39,7 @@ h3 { border-bottom: 1px solid #ddd; } ul#browse_histroy { - padding-left: 10px; + padding-left: 12px; display: block; margin-top: 1px; list-style: none; diff --git a/requirements.txt b/requirements.txt index 61e21805..8fda8ba7 100644 --- a/requirements.txt +++ b/requirements.txt @@ -11,3 +11,4 @@ slack-sdk>=3.4.0 peewee>=3.14.4 PyMySQL>=1.0.2 distro>=1.2.0 +bottle>=0.12.18 \ No newline at end of file