Browse Source

v3.9.1

pull/194/head
Pavel Loginov 5 years ago
parent
commit
f8cc5dbc1d
  1. 2
      app/create_db.py
  2. 13
      inc/overview.js

2
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()

13
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');
}

Loading…
Cancel
Save