mirror of https://github.com/Aidaho12/haproxy-wi
parent
6a8af602cc
commit
252fb69185
|
@ -438,7 +438,7 @@ def update_db_v_3_5_3(**kwargs):
|
||||||
|
|
||||||
def update_ver(**kwargs):
|
def update_ver(**kwargs):
|
||||||
con, cur = get_cur()
|
con, cur = get_cur()
|
||||||
sql = """update version set version = '3.7.1'; """
|
sql = """update version set version = '3.7.2'; """
|
||||||
try:
|
try:
|
||||||
cur.execute(sql)
|
cur.execute(sql)
|
||||||
con.commit()
|
con.commit()
|
||||||
|
|
|
@ -128,11 +128,12 @@
|
||||||
<td>
|
<td>
|
||||||
{% if api|int() == 0 %}
|
{% if api|int() == 0 %}
|
||||||
<span class="serverNone server-status" title="REST API does not work"></span>
|
<span class="serverNone server-status" title="REST API does not work"></span>
|
||||||
<span title="REST API">API</span>
|
|
||||||
{% else %}
|
{% else %}
|
||||||
<span class="serverUp server-status" title="running {{api }} processes"></span>
|
<span class="serverUp server-status" title="running {{api }} processes"></span>
|
||||||
<span title="REST API">API</span>
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
<a href="https://haproxy-wi.org/description.py?description=api" title="Read about REST API on HAProxy-WI.org" target="_blank" class="logs_link">
|
||||||
|
API
|
||||||
|
</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
|
@ -571,12 +571,19 @@ $( function() {
|
||||||
$(".top-menu").show( "drop", "fast" );
|
$(".top-menu").show( "drop", "fast" );
|
||||||
$(".container").css("max-width", "100%");
|
$(".container").css("max-width", "100%");
|
||||||
$(".container").css("margin-left", "207px");
|
$(".container").css("margin-left", "207px");
|
||||||
|
$(".footer").css("margin-left", "207px");
|
||||||
|
$(".footer").css("max-width", "100%");
|
||||||
|
$("#hide_menu").show();
|
||||||
|
$(".show_menu").hide();
|
||||||
}
|
}
|
||||||
if (hideMenu == "hide") {
|
if (hideMenu == "hide") {
|
||||||
$(".top-menu").hide();
|
$(".top-menu").hide();
|
||||||
$(".container").css("max-width", "97%");
|
$(".container").css("max-width", "97%");
|
||||||
$(".container").css("margin-left", "1%");
|
$(".container").css("margin-left", "1%");
|
||||||
|
$(".footer").css("margin-left", "1%");
|
||||||
|
$(".footer").css("max-width", "97%");
|
||||||
$(".show_menu").show();
|
$(".show_menu").show();
|
||||||
|
$("#hide_menu").hide();
|
||||||
}
|
}
|
||||||
|
|
||||||
var now = new Date(Date.now());
|
var now = new Date(Date.now());
|
||||||
|
|
Loading…
Reference in New Issue