This commit is contained in:
Rich
2021-08-05 16:54:25 +01:00
parent 34464fd461
commit 9933954deb
3 changed files with 65 additions and 10 deletions

View File

@@ -45,12 +45,17 @@
Travel Router:
<a href="{{ url_for('index') }}">Home</a>
{% if not current_user.is_anonymous %}
<a href="{{ url_for('logout') }}">Logout</a>
{% endif %}
{% if vpn %}
<a href="{{ url_for('vpndisconnect') }}">Disconnect from VPN</a>
{% else %}
<a href="{{ url_for('vpnconnect') }}">Connect to VPN</a>
<a href="{{ url_for('logout') }}">Logout</a>
{% if vpn %}
<a href="{{ url_for('vpndisconnect') }}">Disconnect from VPN</a>
{% else %}
<a href="{{ url_for('vpnconnect') }}">Connect to VPN</a>
{% endif %}
{% if killswitch %}
<a href="{{ url_for('ksdisable') }}">Disable KillSwitch</a>
{% else %}
<a href="{{ url_for('ksenable') }}">Enable KillSwitch</a>
{% endif %}
{% endif %}
</div>
<hr>