|
|
|
@ -19,49 +19,45 @@
|
|
|
|
|
{% block headers %}{% endblock %}
|
|
|
|
|
</head>
|
|
|
|
|
<body>
|
|
|
|
|
<div id="topbar">
|
|
|
|
|
<div class="topbar-left">
|
|
|
|
|
<p>
|
|
|
|
|
<a href="http://ccrypto.org">CCrypto</a>
|
|
|
|
|
// <a href="//status.ccrypto.org/">{% trans 'Service Status' %}</a>
|
|
|
|
|
{% for l, _ in LANGUAGES %}
|
|
|
|
|
| <a href="{% url 'set_lang' %}?lang={{l}}&next={{request.get_full_path}}">{{l.upper}}</a>
|
|
|
|
|
{% endfor %}
|
|
|
|
|
</p>
|
|
|
|
|
<header>
|
|
|
|
|
<div class="inner">
|
|
|
|
|
<div id="logo">
|
|
|
|
|
<h2><a href="https://ccrypto.org/">CCrypto</a></h2>
|
|
|
|
|
<h1><a href="https://vpn.ccrypto.org/">VPN</a></h1>
|
|
|
|
|
</div>
|
|
|
|
|
<nav>
|
|
|
|
|
<div>
|
|
|
|
|
<ul class="lang-menu">
|
|
|
|
|
<li>Language:</li>
|
|
|
|
|
{% for l, _ in LANGUAGES %}
|
|
|
|
|
<li><a href="{% url 'set_lang' %}?lang={{l}}&next={{request.get_full_path}}">{{l.upper}}</a></li>
|
|
|
|
|
{% endfor %}
|
|
|
|
|
</ul>
|
|
|
|
|
<div class="flex-spacer"></div>
|
|
|
|
|
<ul class="user-menu">
|
|
|
|
|
{% if user.is_authenticated %}
|
|
|
|
|
<li><a class="create" href="/account/">{% trans 'Your account' %}</a></li>
|
|
|
|
|
<li><a class="create" href="/account/logout">{% trans 'Logout' %}</a></li>
|
|
|
|
|
{% else %}
|
|
|
|
|
<li><a href="/account/signup" class="create">{% trans 'Sign up' %}</a></li>
|
|
|
|
|
<li><a href="/account/login" class="create">{% trans 'Log in' %}</a></li>
|
|
|
|
|
{% endif %}
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="flex-spacer"></div>
|
|
|
|
|
<ul class="site-menu">
|
|
|
|
|
<li><a href="/">{% trans "VPN" %}</a></li>
|
|
|
|
|
<li><a href="/status">{% trans "Servers" %}</a></li>
|
|
|
|
|
<li><a href="/page/help">{% trans "Guides & Support" %}</a></li>
|
|
|
|
|
{% if user.is_authenticated %}
|
|
|
|
|
<li><a href="/tickets/">{% trans "Tickets" %}</a></li>
|
|
|
|
|
{% endif %}
|
|
|
|
|
{% if user.is_staff %}
|
|
|
|
|
<li><a href="/admin/">{% trans "Admin" %}</a></li>
|
|
|
|
|
{% endif %}
|
|
|
|
|
</ul>
|
|
|
|
|
</nav>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="topbar-right">
|
|
|
|
|
{% if user.is_authenticated %}
|
|
|
|
|
<p><a class="create" href="/account/">{% trans 'Your account' %}</a>
|
|
|
|
|
<a class="create" href="/account/logout">{% trans 'Logout' %}</a>
|
|
|
|
|
</p>
|
|
|
|
|
{% else %}
|
|
|
|
|
<p><a href="/account/signup" class="create">{% trans 'Sign up' %}</a>
|
|
|
|
|
<a href="/account/login" class="create">{% trans 'Log in' %}</a>
|
|
|
|
|
</p>
|
|
|
|
|
{% endif %}
|
|
|
|
|
</div>
|
|
|
|
|
<div style="clear:both"></div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<header id="header">
|
|
|
|
|
<div id="logo">
|
|
|
|
|
<h2><a href="//ccrypto.org/">CCrypto</a></h2>
|
|
|
|
|
<h1><a href="/">VPN</a></h1>
|
|
|
|
|
</div>
|
|
|
|
|
<nav>
|
|
|
|
|
<ul>
|
|
|
|
|
<li><a href="/">{% trans "VPN" %}</a></li>
|
|
|
|
|
<li><a href="/status">{% trans "Servers" %}</a></li>
|
|
|
|
|
<li><a href="/page/help">{% trans "Guides & Support" %}</a></li>
|
|
|
|
|
{% if user.is_authenticated %}
|
|
|
|
|
<li><a href="/tickets/">{% trans "Tickets" %}</a></li>
|
|
|
|
|
{% endif %}
|
|
|
|
|
{% if user.is_staff %}
|
|
|
|
|
<li><a href="/admin/">{% trans "Admin" %}</a></li>
|
|
|
|
|
{% endif %}
|
|
|
|
|
</ul>
|
|
|
|
|
</nav>
|
|
|
|
|
<div style="clear: both"></div>
|
|
|
|
|
</header>
|
|
|
|
|
|
|
|
|
|
{% block wrap %}
|
|
|
|
@ -81,22 +77,22 @@
|
|
|
|
|
|
|
|
|
|
<footer id="footer">
|
|
|
|
|
<ul class="footer-column">
|
|
|
|
|
<li>By <a href="https://ccrypto.org/">CCrypto</a></li>
|
|
|
|
|
<li><a href="/page/tos">{% trans 'ToS' %}</a></li>
|
|
|
|
|
<li><a href="https://git.ccrypto.org/CCrypto/ccvpn3">{% trans 'Source code' %}</a></li>
|
|
|
|
|
<li>{% trans 'By' %} <a href="https://ccrypto.org/">CCrypto</a></li>
|
|
|
|
|
<li>‣ <a href="/page/tos">{% trans 'ToS' %}</a></li>
|
|
|
|
|
<li>‣ <a href="https://git.ccrypto.org/CCrypto/ccvpn3">{% trans 'Source code' %}</a></li>
|
|
|
|
|
</ul>
|
|
|
|
|
<ul class="footer-column">
|
|
|
|
|
<li><a href="https://status.ccrypto.org/">{% trans 'Service Status' %}</a></li>
|
|
|
|
|
<li><a href="/page/help">{% trans "Guides & Support" %}</a></li>
|
|
|
|
|
<li><a href="https://twitter.com/CCrypto_VPN">{% trans 'CCrypto_VPN on Twitter' %}</a></li>
|
|
|
|
|
<li>‣ <a href="https://status.ccrypto.org/">{% trans 'Service Status' %}</a></li>
|
|
|
|
|
<li>‣ <a href="/page/help">{% trans "Guides & Support" %}</a></li>
|
|
|
|
|
<li>‣ <a href="https://twitter.com/CCrypto_VPN">{% trans 'CCrypto_VPN on Twitter' %}</a></li>
|
|
|
|
|
</ul>
|
|
|
|
|
<ul class="footer-column">
|
|
|
|
|
<li>Your IP: {{CLIENT_IP}}</li>
|
|
|
|
|
<li>{% trans 'Your IP:'%} {{CLIENT_IP}}</li>
|
|
|
|
|
<li>
|
|
|
|
|
{% if CLIENT_ON_VPN %}
|
|
|
|
|
Your are connected over CCVPN
|
|
|
|
|
{% trans 'You are connected over CCVPN' %}
|
|
|
|
|
{% else %}
|
|
|
|
|
Your are not connected over CCVPN
|
|
|
|
|
{% trans 'You are not connected over CCVPN' %}
|
|
|
|
|
{% endif %}
|
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|