diff --git a/app/create_db.py b/app/create_db.py index c0e5ba58..1468b4cc 100644 --- a/app/create_db.py +++ b/app/create_db.py @@ -459,7 +459,7 @@ def update_db_v_3_8_1(**kwargs): def update_ver(**kwargs): con, cur = get_cur() - sql = """update version set version = '3.9'; """ + sql = """update version set version = '3.9.1'; """ try: cur.execute(sql) con.commit() diff --git a/inc/overview.js b/inc/overview.js index 09a4ebea..158bf70d 100644 --- a/inc/overview.js +++ b/inc/overview.js @@ -102,6 +102,19 @@ $( function() { $( "#hide-all-groups" ).text("Show all"); $( "#hide-all-groups" ).attr("id", "show-all-groups"); }); + $( "#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" ).attr("id", "hide-all-haproxy-wi-log"); + $.getScript('/inc/overview.js'); + }); + $( "#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("id", "show-all-haproxy-wi-log"); + }); if (cur_url[0] == "overview.py" || cur_url[0] == "waf.py" || cur_url[0] == "metrics.py") { $('#secIntervals').css('display', 'none'); }