Bugs
pull/181/head
Pavel Loginov 2019-11-09 11:44:45 +03:00
parent 6a8af602cc
commit 252fb69185
3 changed files with 12 additions and 4 deletions

View File

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

View File

@ -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>

View File

@ -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());