1
0
mirror of https://github.com/Mailu/Mailu.git synced 2024-12-14 10:53:30 +02:00
Mailu/admin/freeposte/admin/templates/sidebar.html

64 lines
1.7 KiB
HTML
Raw Normal View History

2016-03-19 21:37:48 +02:00
<section class="sidebar">
<h4 class="text-center text-primary">{{ current_user }}</h4>
<ul class="sidebar-menu">
<li class="header">My account</li>
<li>
<a href="{{ url_for('.user_settings') }}">
2016-03-19 21:37:48 +02:00
<i class="fa fa-wrench"></i> <span>Settings</span>
</a>
</li>
<li>
<a href="{{ url_for('.user_password') }}">
2016-03-19 21:37:48 +02:00
<i class="fa fa-lock"></i> <span>Update password</span>
</a>
</li>
<li>
<a href="{{ url_for('.user_forward') }}">
2016-03-19 21:37:48 +02:00
<i class="fa fa-share"></i> <span>Auto-forward</span>
</a>
</li>
<li>
<a href="{{ url_for('.user_reply') }}">
<i class="fa fa-plane"></i> <span>Auto-reply</span>
2016-03-19 21:37:48 +02:00
</a>
</li>
<li>
<a href="{{ url_for('.user_fetchmail') }}">
2016-03-19 21:37:48 +02:00
<i class="fa fa-download"></i> <span>Fetched accounts</span>
</a>
</li>
<li>
<a href="{{ url_for('.logout') }}">
2016-03-19 21:37:48 +02:00
<i class="fa fa-sign-out"></i> <span>Sign out</span>
</a>
</li>
<li class="header">Administration</li>
{% if current_user.global_admin %}
<li>
2016-04-24 18:03:56 +02:00
<a href="{{ url_for('.services') }}">
2016-03-19 21:37:48 +02:00
<i class="fa fa-dashboard"></i> <span>Services status</span>
</a>
</li>
<li>
<a href="{{ url_for('.admins') }}">
2016-03-19 21:37:48 +02:00
<i class="fa fa-user"></i> <span>Adminitrators</span>
</a>
</li>
{% endif %}
{% if current_user.admin_of or current_user.global_admin %}
2016-03-19 21:37:48 +02:00
<li>
<a href="{{ url_for('.domain_list') }}">
2016-03-19 21:37:48 +02:00
<i class="fa fa-envelope"></i> <span>Mail domains</span>
</a>
</li>
{% endif %}
<li>
<a href="https://github.com/kaiyou/freeposte.io">
<i class="fa fa-life-ring"></i> <span>Help</span>
</a>
</li>
</ul>
</section>