|
|
|
@ -50,37 +50,34 @@
|
|
|
|
|
</li>
|
|
|
|
|
<li><a href=/app/edit.py title="Runtime API" class="runtime">Runtime API</a> </li>
|
|
|
|
|
<li><a title="Actions with Haproxy configs" class="config-show">Haproxy</a>
|
|
|
|
|
<li><a href=/app/configshow.py title="Show Haproxy Config" class="config-show head-submenu">Show config</a></li>
|
|
|
|
|
<li><a href=/app/diff.py title="Compare Haproxy Configs" class="compare head-submenu">Compare configs</a></li>
|
|
|
|
|
<li><a href=/app/configshow.py title="Show Haproxy Config" class="config-show head-submenu">Show config</a></li>
|
|
|
|
|
<li><a href=/app/diff.py title="Compare Haproxy Configs" class="compare head-submenu">Compare configs</a></li>
|
|
|
|
|
{% if user %}
|
|
|
|
|
{% if role <= 2 %}
|
|
|
|
|
<li><a href=/app/add.py#listner title="Add single listen" class="add head-submenu">Add listen</a></li>
|
|
|
|
|
<li><a href=/app/add.py#frontend title="Add single frontend" class="add head-submenu">Add frontend</a></li>
|
|
|
|
|
<li><a href=/app/add.py#backend title="Add single backend" class="add head-submenu">Add backend</a></li>
|
|
|
|
|
<li><a href=/app/add.py#ssl title="Upload SSL cert" class="cert head-submenu">SSL</a></li>
|
|
|
|
|
<li><a href=/app/config.py title="Edit Haproxy Config" class="edit head-submenu">Edit config</a> </li>
|
|
|
|
|
{% endif %}
|
|
|
|
|
{% if role <= 1 %}
|
|
|
|
|
<li><a href=/app/ihap.py title="Installation HAProxy" class="hap head-submenu">Installation</a> </li>
|
|
|
|
|
{% endif %}
|
|
|
|
|
</li>
|
|
|
|
|
{% if role <= 2 %}
|
|
|
|
|
<li><a href=/app/add.py#listner title="Add single listen" class="add head-submenu">Add listen</a></li>
|
|
|
|
|
<li><a href=/app/add.py#frontend title="Add single frontend" class="add head-submenu">Add frontend</a></li>
|
|
|
|
|
<li><a href=/app/add.py#backend title="Add single backend" class="add head-submenu">Add backend</a></li>
|
|
|
|
|
<li><a href=/app/add.py#ssl title="Upload SSL cert" class="cert head-submenu">SSL</a></li>
|
|
|
|
|
<li><a href=/app/config.py title="Edit Haproxy Config" class="edit head-submenu">Edit config</a> </li>
|
|
|
|
|
{% endif %}
|
|
|
|
|
{% if role <= 1 %}
|
|
|
|
|
<li><a href=/app/ihap.py title="Installation HAProxy" class="hap head-submenu">Installation</a> </li>
|
|
|
|
|
{% endif %}
|
|
|
|
|
</li>
|
|
|
|
|
{% if role <= 2 %}
|
|
|
|
|
<li><a title="Actions with configs" class="version">Versions</a>
|
|
|
|
|
<li><a href=/app/configver.py title="Upload old versions configs" class="upload head-submenu">Upload</a></li>
|
|
|
|
|
{% endif %}
|
|
|
|
|
{% if role <= 1 %}
|
|
|
|
|
<li><a href=/app/delver.py title="Delete old versions configs" class="delete head-submenu">Delete</a></li>
|
|
|
|
|
{% endif %}
|
|
|
|
|
</li>
|
|
|
|
|
{% if role <= 1 %}
|
|
|
|
|
<li><a title="Keepalived" class="ha">Keepalived</a>
|
|
|
|
|
<li><a href=/app/ha.py title="Create HA cluster" class="keepalived head-submenu">HA</a></li>
|
|
|
|
|
<li><a href=/app/keepalivedconfig.py title="Edit keepalived config" class="edit head-submenu">Edit config</a></li>
|
|
|
|
|
</li>
|
|
|
|
|
{% endif %}
|
|
|
|
|
<li><a title="Actions with configs" class="version">Versions</a>
|
|
|
|
|
<li><a href=/app/configver.py title="Upload old versions configs" class="upload head-submenu">Upload</a></li>
|
|
|
|
|
{% if role <= 1 %}
|
|
|
|
|
<li><a href=/app/delver.py title="Delete old versions configs" class="delete head-submenu">Delete</a></li>
|
|
|
|
|
{% endif %}
|
|
|
|
|
</li>
|
|
|
|
|
{% if user %}
|
|
|
|
|
<li><a href=/app/login.py?logout=logout title="Logout, user name: {{ user }}" class="login">Logout</a></li>
|
|
|
|
|
{% else %}
|
|
|
|
|
<li><a href=/app/login.py title="Login" class="login">Login</a></li>
|
|
|
|
|
{% endif %}
|
|
|
|
|
{% if role <= 1 %}
|
|
|
|
|
<li><a title="Admin area" class="admin">Admin area</a>
|
|
|
|
|
<li><a href=/app/users.py#users title="Actions with users" class="users head-submenu">Users</a></li>
|
|
|
|
@ -89,13 +86,19 @@
|
|
|
|
|
<li><a href=/app/users.py#roles title="Users roles" class="role head-submenu">Roles</a></li>
|
|
|
|
|
<li><a href=/app/users.py#ssh title="Users roles" class="admin head-submenu">SSH credentials</a></li>
|
|
|
|
|
<li><a href=/app/settings.py title="View settings" class="settings head-submenu">View settings</a></li>
|
|
|
|
|
<li><a href=/app/viewlogs.py title="View users actions logs" class="logs head-submenu">View logs</a></li>
|
|
|
|
|
<li><a href=/app/viewlogs.py title="View users actions logs" class="logs head-submenu">Users logs</a></li>
|
|
|
|
|
<li><a href=/app/apachelogs.py title="View Apache logs" class="logs head-submenu">Apache logs</a></li>
|
|
|
|
|
</li>
|
|
|
|
|
{% endif %}
|
|
|
|
|
{% endif %}
|
|
|
|
|
{% if user %}
|
|
|
|
|
<li><a href=/app/login.py?logout=logout title="Logout, user name: {{ user }}" class="login">Logout</a></li>
|
|
|
|
|
{% else %}
|
|
|
|
|
<li><a href=/app/login.py title="Login" class="login">Login</a></li>
|
|
|
|
|
{% endif %}
|
|
|
|
|
</ul>
|
|
|
|
|
</nav>
|
|
|
|
|
<div class="copyright-menu">HAproxy-WI v2.5.3</div>
|
|
|
|
|
<div class="copyright-menu">HAproxy-WI v2.5.4</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="container">
|
|
|
|
|