mirror of https://github.com/Aidaho12/haproxy-wi
v3.9.1
parent
5c980cf114
commit
f8cc5dbc1d
|
@ -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()
|
||||
|
|
|
@ -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…
Reference in New Issue