1
0
mirror of https://github.com/Mailu/Mailu.git synced 2024-12-16 10:59:53 +02:00
Mailu/core/admin/mailu/ui/templates/sidebar.html

105 lines
3.2 KiB
HTML
Raw Normal View History

2016-03-19 21:37:48 +02:00
<section class="sidebar">
{% if current_user.is_authenticated %}
2016-03-19 21:37:48 +02:00
<h4 class="text-center text-primary">{{ current_user }}</h4>
{% endif %}
2016-03-19 21:37:48 +02:00
<ul class="sidebar-menu">
{% if current_user.is_authenticated %}
2016-10-02 14:43:48 +02:00
<li class="header">{% trans %}My account{% endtrans %}</li>
2016-03-19 21:37:48 +02:00
<li>
<a href="{{ url_for('.user_settings') }}">
2016-10-02 14:43:48 +02:00
<i class="fa fa-wrench"></i> <span>{% trans %}Settings{% endtrans %}</span>
2016-03-19 21:37:48 +02:00
</a>
</li>
<li>
<a href="{{ url_for('.user_password') }}">
2016-10-02 14:43:48 +02:00
<i class="fa fa-lock"></i> <span>{% trans %}Update password{% endtrans %}</span>
2016-03-19 21:37:48 +02:00
</a>
</li>
<li>
<a href="{{ url_for('.user_forward') }}">
2016-10-02 14:43:48 +02:00
<i class="fa fa-share"></i> <span>{% trans %}Auto-forward{% endtrans %}</span>
2016-03-19 21:37:48 +02:00
</a>
</li>
<li>
<a href="{{ url_for('.user_reply') }}">
2016-10-02 14:43:48 +02:00
<i class="fa fa-plane"></i> <span>{% trans %}Auto-reply{% endtrans %}</span>
2016-03-19 21:37:48 +02:00
</a>
</li>
<li>
2016-04-28 20:07:38 +02:00
<a href="{{ url_for('.fetch_list') }}">
2016-10-02 14:43:48 +02:00
<i class="fa fa-download"></i> <span>{% trans %}Fetched accounts{% endtrans %}</span>
2016-03-19 21:37:48 +02:00
</a>
</li>
<li>
<a href="{{ url_for('.token_list') }}">
<i class="fa fa-ticket"></i> <span>{% trans %}Authentication tokens{% endtrans %}</span>
</a>
</li>
2016-10-02 14:43:48 +02:00
<li class="header">{% trans %}Administration{% endtrans %}</li>
2016-03-19 21:37:48 +02:00
{% if current_user.global_admin %}
<li>
2016-04-24 18:03:56 +02:00
<a href="{{ url_for('.services') }}">
2016-10-02 14:43:48 +02:00
<i class="fa fa-dashboard"></i> <span>{% trans %}Services status{% endtrans %}</span>
2016-03-19 21:37:48 +02:00
</a>
</li>
2016-11-10 11:48:37 +02:00
<li>
<a href="{{ url_for('.announcement') }}">
<i class="fa fa-bullhorn"></i> <span>{% trans %}Announcement{% endtrans %}</span>
</a>
</li>
2016-03-19 21:37:48 +02:00
<li>
2016-04-24 19:17:40 +02:00
<a href="{{ url_for('.admin_list') }}">
2016-10-02 14:43:48 +02:00
<i class="fa fa-user"></i> <span>{% trans %}Administrators{% endtrans %}</span>
2016-03-19 21:37:48 +02:00
</a>
</li>
<li>
<a href="{{ url_for('.relay_list') }}">
<i class="fa fa-reply-all"></i> <span>{% trans %}Relayed domains{% endtrans %}</span>
</a>
</li>
2016-03-19 21:37:48 +02:00
{% endif %}
{% if current_user.manager_of or current_user.global_admin %}
2016-03-19 21:37:48 +02:00
<li>
<a href="{{ url_for('.domain_list') }}">
2016-10-02 14:43:48 +02:00
<i class="fa fa-envelope"></i> <span>{% trans %}Mail domains{% endtrans %}</span>
2016-03-19 21:37:48 +02:00
</a>
</li>
{% endif %}
{% endif %}
2016-03-19 21:37:48 +02:00
<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>
2016-03-19 21:37:48 +02:00
<li>
<a href="https://github.com/Mailu/Mailu">
2016-10-02 14:43:48 +02:00
<i class="fa fa-life-ring"></i> <span>{% trans %}Help{% endtrans %}</span>
2016-03-19 21:37:48 +02:00
</a>
</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 %}
2016-03-19 21:37:48 +02:00
</ul>
</section>