|
|
@ -1,7 +1,10 @@
|
|
|
|
<section class="sidebar">
|
|
|
|
<section class="sidebar">
|
|
|
|
|
|
|
|
{% if current_user.is_authenticated %}
|
|
|
|
<h4 class="text-center text-primary">{{ current_user }}</h4>
|
|
|
|
<h4 class="text-center text-primary">{{ current_user }}</h4>
|
|
|
|
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
|
|
|
|
<ul class="sidebar-menu">
|
|
|
|
<ul class="sidebar-menu">
|
|
|
|
|
|
|
|
{% if current_user.is_authenticated %}
|
|
|
|
<li class="header">{% trans %}My account{% endtrans %}</li>
|
|
|
|
<li class="header">{% trans %}My account{% endtrans %}</li>
|
|
|
|
<li>
|
|
|
|
<li>
|
|
|
|
<a href="{{ url_for('.user_settings') }}">
|
|
|
|
<a href="{{ url_for('.user_settings') }}">
|
|
|
@ -28,11 +31,7 @@
|
|
|
|
<i class="fa fa-download"></i> <span>{% trans %}Fetched accounts{% endtrans %}</span>
|
|
|
|
<i class="fa fa-download"></i> <span>{% trans %}Fetched accounts{% endtrans %}</span>
|
|
|
|
</a>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
|
|
|
|
<a href="{{ url_for('.logout') }}">
|
|
|
|
|
|
|
|
<i class="fa fa-sign-out"></i> <span>{% trans %}Sign out{% endtrans %}</span>
|
|
|
|
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="header">{% trans %}Administration{% endtrans %}</li>
|
|
|
|
<li class="header">{% trans %}Administration{% endtrans %}</li>
|
|
|
|
{% if current_user.global_admin %}
|
|
|
|
{% if current_user.global_admin %}
|
|
|
|
<li>
|
|
|
|
<li>
|
|
|
@ -63,11 +62,38 @@
|
|
|
|
</a>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</li>
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="header">{% trans %}Go to{% endtrans %}</li>
|
|
|
|
|
|
|
|
{% if config["WEBMAIL"] != "none" %}
|
|
|
|
|
|
|
|
<li>
|
|
|
|
|
|
|
|
<a href="/webmail/">
|
|
|
|
|
|
|
|
<i class="fa fa-envelope-o"></i> <span>{% trans %}Webmail{% endtrans %}</span>
|
|
|
|
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
<li>
|
|
|
|
|
|
|
|
<a href="https://mailu.io">
|
|
|
|
|
|
|
|
<i class="fa fa-globe"></i> <span>{% trans %}Website{% endtrans %}</span>
|
|
|
|
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<li>
|
|
|
|
<a href="https://github.com/Mailu/Mailu">
|
|
|
|
<a href="https://github.com/Mailu/Mailu">
|
|
|
|
<i class="fa fa-life-ring"></i> <span>{% trans %}Help{% endtrans %}</span>
|
|
|
|
<i class="fa fa-life-ring"></i> <span>{% trans %}Help{% endtrans %}</span>
|
|
|
|
</a>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
{% if current_user.is_authenticated %}
|
|
|
|
|
|
|
|
<li>
|
|
|
|
|
|
|
|
<a href="{{ url_for('.logout') }}">
|
|
|
|
|
|
|
|
<i class="fa fa-sign-out"></i> <span>{% trans %}Sign out{% endtrans %}</span>
|
|
|
|
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
|
|
|
|
{% else %}
|
|
|
|
|
|
|
|
<li>
|
|
|
|
|
|
|
|
<a href="#">
|
|
|
|
|
|
|
|
<i class="fa fa-sign-in"></i> <span>{% trans %}Sign in{% endtrans %}</span>
|
|
|
|
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
|
|
|
|
{% endif %}
|
|
|
|
</ul>
|
|
|
|
</ul>
|
|
|
|
</section>
|
|
|
|
</section>
|
|
|
|