pull/56/head
Aidaho12 2018-09-28 15:45:22 +06:00
parent 2b4a376ff7
commit 255685f296
2 changed files with 7 additions and 14 deletions

View File

@ -52,7 +52,6 @@
<tr>
<td class="padding10 first-collumn">
You have not installed the WAF server yet
{{ waf_servers|length }}
</td>
</tr>
{% endif %}

View File

@ -12,28 +12,22 @@
</td>
<td>
{% if role <= 1 %}
<a id="{{ service.1 }}" class="start" title="Start HAproxy service">
<a id="{{ service.1 }}" class="start" title="Start HAProxy service">
<img src=/image/pic/start.png alt="start" class="icon">
</a>
<a id="{{ service.1 }}" class="stop" title="Stop HAproxy service">
<a id="{{ service.1 }}" class="stop" title="Stop HAProxy service">
<img src=/image/pic/stop.png alt="start" class="icon">
</a>
<a id="{{ service.1 }}" class="restart" title="Restart HAproxy service">
<a id="{{ service.1 }}" class="restart" title="Restart HAProxy service">
<img src=/image/pic/update.png alt="restart" class="icon">
</a>
{% endif %}
{% if role <= 2 %}
<a href="/app/configshow.py?serv={{ service.1 }}&open=open#conf" title="Show config">
<img src="/image/pic/show.png" alt="show" class="icon">
</a>
<a href="/app/config.py?serv={{ service.1 }}&open=open#conf" title="Edit config">
<a href="/app/config.py?serv={{ service.1 }}" target="_blank" title="Working with HAProxy configs">
<img src="/image/pic/edit.png" alt="edit" class="icon">
</a>
<a href="/app/diff.py?serv={{ service.1 }}&open=open#diff" title="Compare config">
<img src="/image/pic/compare.png" alt="compare" class="icon">
</a>
<a href="/app/map.py?serv={{ service.1 }}&open=open#map" title="Map listen/frontend/backend">
<img src="/image/pic/map.png" alt="map" class="icon">
<a href="/app/viewsttats.py?serv={{ service.1 }}" target="_blank" title="Show stats">
<img src="/image/pic/show.png" alt="show" class="icon">
</a>
{% endif %}
</td>