Browse Source

v3.7.3.1

pull/181/head
Pavel Loginov 5 years ago
parent
commit
e80e47c61e
  1. 2
      app/create_db.py
  2. 1
      app/funct.py
  3. 2
      app/templates/hapservers.html
  4. 20
      inc/style.css

2
app/create_db.py

@ -438,7 +438,7 @@ def update_db_v_3_5_3(**kwargs):
def update_ver(**kwargs):
con, cur = get_cur()
sql = """update version set version = '3.7.3'; """
sql = """update version set version = '3.7.3.1'; """
try:
cur.execute(sql)
con.commit()

1
app/funct.py

@ -597,6 +597,7 @@ def ssh_command(serv, commands, **kwargs):
ssh.close()
except:
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

2
app/templates/hapservers.html

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

20
inc/style.css

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

Loading…
Cancel
Save