Browse Source

v2.5.1

pull/19/head
Aidaho12 7 years ago
parent
commit
31382f4648
  1. 2
      app/funct.py
  2. 2
      app/templates/base.html
  3. 2
      app/templates/config.html
  4. 2
      update.sh

2
app/funct.py

@ -279,7 +279,7 @@ def upload_and_restart(serv, cfg, **kwargs):
for command in commands:
stdin, stdout, stderr = ssh.exec_command(command)
return stderr.read().decode(encoding='UTF-8'), error
return stderr.read().decode(encoding='UTF-8')
ssh.close()
def open_port_firewalld(cfg):

2
app/templates/base.html

@ -33,7 +33,7 @@
<div class="top-menu">
<div class="LogoText">
<span style="padding: 10px;">HAproxy-WI</span>
<a href="#" id="hide_menu" title="Hide menu" style="margin-left: 16px;margin-top: -10px;position: absolute;">
<a href="#" id="hide_menu" title="Hide menu" style="margin-left: 24px;position: absolute;">
<span class="ui-state-default ui-corner-all">
<span class="ui-icon ui-icon-arrowthick-1-w" id="arrow"></span>
</span>

2
app/templates/config.html

@ -62,8 +62,8 @@
{% else %}
<div class="alert alert-success">Config ok</div>
<a href="viewsttats.py?serv={{ serv }}" target="_blank" title="View stats">Go to view stats</a>
<script>window.history.pushState("Map", "Map", cur_url[0])</script>
{% endif %}
<script>window.history.pushState("Config", "Config", cur_url[0])</script>
{% endif %}
</center>
{% endblock %}

2
update.sh

@ -10,7 +10,7 @@ chown -R apache:apache *
cd app/
./update_db.py
pip install -r requirements.txt
pip3 install -r ../requirements.txt
echo ""
echo "#################"

Loading…
Cancel
Save