pull/181/head
Pavel Loginov 2019-11-15 10:08:51 +03:00
parent 77be721489
commit e80e47c61e
4 changed files with 22 additions and 3 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.3'; """ sql = """update version set version = '3.7.3.1'; """
try: try:
cur.execute(sql) cur.execute(sql)
con.commit() con.commit()

View File

@ -597,6 +597,7 @@ def ssh_command(serv, commands, **kwargs):
ssh.close() ssh.close()
except: except:
print("<div class='alert alert-danger' style='margin: 0;'>"+str(ssh)+"<a title='Close' id='errorMess'><b>X</b></a></div>") print("<div class='alert alert-danger' style='margin: 0;'>"+str(ssh)+"<a title='Close' id='errorMess'><b>X</b></a></div>")
logging('localhost', ' '+str(ssh), haproxywi=1)
pass pass

View File

@ -94,7 +94,7 @@
<div id="ajax-server-{{s.0}}" class="ajax-server"></div> <div id="ajax-server-{{s.0}}" class="ajax-server"></div>
{% if serv %} {% if serv %}
{% if s.8 is defined %} {% if s.8 is defined %}
<div class="div-server"> <div class="div-server div-backends">
<div class="server-name"> <div class="server-name">
Backends: Backends:
</div> </div>

View File

@ -739,6 +739,9 @@ label {
display: block; display: block;
float: left; float: left;
} }
.div-backends {
width: 89.3%;
}
.server-name { .server-name {
padding-bottom: 3px; padding-bottom: 3px;
font-size: 1.4em; font-size: 1.4em;
@ -842,7 +845,7 @@ label {
} }
} }
@media (max-width: 1450px) { @media (max-width: 1450px) {
.ajax-server { .ajax-server, .div-backends {
clear: both !important; clear: both !important;
margin-left: 20px !important; margin-left: 20px !important;
width: 88% !important; width: 88% !important;
@ -859,6 +862,9 @@ label {
clear: both !important; clear: both !important;
margin-left: 20px !important; margin-left: 20px !important;
} }
.div-backends {
width: 84.6% !important
}
} }
@media (max-width: 1080px) { @media (max-width: 1080px) {
#logo_span { #logo_span {
@ -883,6 +889,9 @@ label {
width: 120px; width: 120px;
padding-left: 10px; padding-left: 10px;
} }
.div-backends {
width: 84.6% !important
}
} }
@media (max-width: 1024px) { @media (max-width: 1024px) {
#logo_span { #logo_span {
@ -907,6 +916,9 @@ label {
width: 120px; width: 120px;
padding-left: 10px; padding-left: 10px;
} }
.div-backends {
width: 84.2% !important
}
} }
@media (max-width: 768px) { @media (max-width: 768px) {
#logo_span { #logo_span {
@ -938,6 +950,9 @@ label {
width: 120px; width: 120px;
padding-left: 10px; padding-left: 10px;
} }
.div-backends {
width: 82.5% !important
}
} }
@media (max-width: 667px) { @media (max-width: 667px) {
#logo_span { #logo_span {
@ -963,6 +978,9 @@ label {
width: 120px; width: 120px;
padding-left: 10px; padding-left: 10px;
} }
.div-backends {
width: 84.6% !important
}
} }
.loading, .loading_full_page, .loading_hapwi_overview { .loading, .loading_full_page, .loading_hapwi_overview {
width: 100px; width: 100px;