|
|
@ -2,14 +2,6 @@
|
|
|
|
<nav class="mt-2">
|
|
|
|
<nav class="mt-2">
|
|
|
|
<ul class="nav nav-pills nav-sidebar flex-column" role="menu">
|
|
|
|
<ul class="nav nav-pills nav-sidebar flex-column" role="menu">
|
|
|
|
<li class="nav-header text-uppercase text-primary" role="none">{% trans %}Go to{% endtrans %}</li>
|
|
|
|
<li class="nav-header text-uppercase text-primary" role="none">{% trans %}Go to{% endtrans %}</li>
|
|
|
|
{%- if config["WEBMAIL"] != "none" %}
|
|
|
|
|
|
|
|
<li class="nav-item" role="none">
|
|
|
|
|
|
|
|
<a href="{{ config["WEB_WEBMAIL"] }}" target="_blank" class="nav-link" role="menuitem">
|
|
|
|
|
|
|
|
<i class="nav-icon far fa-envelope"></i>
|
|
|
|
|
|
|
|
<p>{% trans %}Webmail{% endtrans %} <i class="fas fa-external-link-alt text-xs"></i></p>
|
|
|
|
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% if config['ADMIN'] %}
|
|
|
|
{% if config['ADMIN'] %}
|
|
|
|
<li class="nav-item">
|
|
|
|
<li class="nav-item">
|
|
|
|
<a href="{{ url_for('ui.client') }}" class="nav-link">
|
|
|
|
<a href="{{ url_for('ui.client') }}" class="nav-link">
|
|
|
@ -24,8 +16,8 @@
|
|
|
|
<p>{% trans %}Website{% endtrans %} <i class="fas fa-external-link-alt text-xs"></i></p>
|
|
|
|
<p>{% trans %}Website{% endtrans %} <i class="fas fa-external-link-alt text-xs"></i></p>
|
|
|
|
</a>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</li>
|
|
|
|
<li class="nav-item">
|
|
|
|
<li class="nav-item" role="none">
|
|
|
|
<a href="https://mailu.io" target="_blank" class="nav-link">
|
|
|
|
<a href="https://mailu.io" target="_blank" class="nav-link" role="menuitem">
|
|
|
|
<i class="nav-icon fa fa-life-ring"></i>
|
|
|
|
<i class="nav-icon fa fa-life-ring"></i>
|
|
|
|
<p class="text">{% trans %}Help{% endtrans %}</p>
|
|
|
|
<p class="text">{% trans %}Help{% endtrans %}</p>
|
|
|
|
</a>
|
|
|
|
</a>
|
|
|
@ -39,8 +31,8 @@
|
|
|
|
{% if config['DOMAIN_REGISTRATION'] %}
|
|
|
|
{% if config['DOMAIN_REGISTRATION'] %}
|
|
|
|
{% if not current_user.is_authenticated %}
|
|
|
|
{% if not current_user.is_authenticated %}
|
|
|
|
{% if config['ADMIN'] %}
|
|
|
|
{% if config['ADMIN'] %}
|
|
|
|
<li class="nav-item">
|
|
|
|
<li class="nav-item" role="none">
|
|
|
|
<a href="{{ url_for('ui.domain_signup') }}" class="nav-link">
|
|
|
|
<a href="{{ url_for('ui.domain_signup') }}" class="nav-link" role="menuitem">
|
|
|
|
<i class="nav-icon fa fa-plus-square"></i>
|
|
|
|
<i class="nav-icon fa fa-plus-square"></i>
|
|
|
|
<p class="text">{% trans %}Register a domain{% endtrans %}</p>
|
|
|
|
<p class="text">{% trans %}Register a domain{% endtrans %}</p>
|
|
|
|
</a>
|
|
|
|
</a>
|
|
|
@ -57,8 +49,8 @@
|
|
|
|
{% if not current_user.is_authenticated %}
|
|
|
|
{% if not current_user.is_authenticated %}
|
|
|
|
{% if signup_domains %}
|
|
|
|
{% if signup_domains %}
|
|
|
|
{% if config['ADMIN'] %}
|
|
|
|
{% if config['ADMIN'] %}
|
|
|
|
<li class="nav-item">
|
|
|
|
<li class="nav-item" role="none">
|
|
|
|
<a href="{{ url_for('ui.user_signup') }}" class="nav-link">
|
|
|
|
<a href="{{ url_for('ui.user_signup') }}" class="nav-link" role="menuitem">
|
|
|
|
<i class="nav-icon fa fa-user-plus"></i>
|
|
|
|
<i class="nav-icon fa fa-user-plus"></i>
|
|
|
|
<p class="text">{% trans %}Sign up{% endtrans %}</p>
|
|
|
|
<p class="text">{% trans %}Sign up{% endtrans %}</p>
|
|
|
|
</a>
|
|
|
|
</a>
|
|
|
|