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>
|
2016-03-20 16:36:56 +02:00
|
|
|
<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>
|
2016-03-20 16:36:56 +02:00
|
|
|
<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>
|
2016-03-20 16:36:56 +02:00
|
|
|
<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>
|
2016-03-20 16:36:56 +02:00
|
|
|
<a href="{{ url_for('.user_reply') }}">
|
2016-03-20 12:00:01 +02:00
|
|
|
<i class="fa fa-plane"></i> <span>Auto-reply</span>
|
2016-03-19 21:37:48 +02:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
2016-03-20 16:36:56 +02:00
|
|
|
<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>
|
2016-03-20 16:36:56 +02:00
|
|
|
<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>
|
2016-03-20 16:36:56 +02:00
|
|
|
<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 %}
|
2016-03-20 16:36:56 +02:00
|
|
|
{% if current_user.admin_of or current_user.global_admin %}
|
2016-03-19 21:37:48 +02:00
|
|
|
<li>
|
2016-03-20 16:36:56 +02:00
|
|
|
<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>
|