6be19a463c
now var components are in shared installing widget_tweaks
86 lines
4 KiB
HTML
86 lines
4 KiB
HTML
<ul class="nav navbar-top-links pull-right">
|
|
{% if user.is_authenticated %}
|
|
<li class="dropdown">
|
|
<a class="dropdown-toggle" data-toggle="dropdown" href="#">
|
|
<i class="fa fa-bell fa-fw fa-lg"></i> <i class="fa fa-caret-down"></i>
|
|
</a>
|
|
<ul class="dropdown-menu dropdown-alerts">
|
|
<li>
|
|
<a href="#">
|
|
<div>
|
|
<i class="fa fa-comment fa-fw"></i> New Comment
|
|
<span class="pull-right text-muted small">4 minutes ago</span>
|
|
</div>
|
|
</a>
|
|
</li>
|
|
<li class="divider"></li>
|
|
<li>
|
|
<a href="#">
|
|
<div>
|
|
<i class="fa fa-twitter fa-fw"></i> 3 New Followers
|
|
<span class="pull-right text-muted small">12 minutes ago</span>
|
|
</div>
|
|
</a>
|
|
</li>
|
|
<li class="divider"></li>
|
|
<li>
|
|
<a href="#">
|
|
<div>
|
|
<i class="fa fa-envelope fa-fw"></i> Message Sent
|
|
<span class="pull-right text-muted small">4 minutes ago</span>
|
|
</div>
|
|
</a>
|
|
</li>
|
|
<li class="divider"></li>
|
|
<li>
|
|
<a href="#">
|
|
<div>
|
|
<i class="fa fa-tasks fa-fw"></i> New Task
|
|
<span class="pull-right text-muted small">4 minutes ago</span>
|
|
</div>
|
|
</a>
|
|
</li>
|
|
<li class="divider"></li>
|
|
<li>
|
|
<a href="#">
|
|
<div>
|
|
<i class="fa fa-upload fa-fw"></i> Server Rebooted
|
|
<span class="pull-right text-muted small">4 minutes ago</span>
|
|
</div>
|
|
</a>
|
|
</li>
|
|
<li class="divider"></li>
|
|
<li>
|
|
<a class="text-center" href="#">
|
|
<strong>See All Alerts</strong>
|
|
<i class="fa fa-angle-right"></i>
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
<!-- /.dropdown-alerts -->
|
|
</li>
|
|
<!-- /.dropdown -->
|
|
{% endif %}
|
|
{% if user.is_authenticated %}
|
|
<li class="dropdown">
|
|
<a class="dropdown-toggle" data-toggle="dropdown" href="#">
|
|
<i class="fa fa-user fa-fw fa-lg"></i> <i class="fa fa-caret-down"></i>
|
|
</a>
|
|
<ul class="dropdown-menu dropdown-user">
|
|
<li><a href="#"><i class="fa fa-user fa-fw"></i> User Profile</a>
|
|
</li>
|
|
<li class="divider"></li>
|
|
<li><a href="login.html"><i class="fa fa-sign-out fa-fw"></i> Logout</a>
|
|
</li>
|
|
</ul>
|
|
<!-- /.dropdown-user -->
|
|
</li>
|
|
<!-- /.dropdown -->
|
|
{% else %}
|
|
<li>
|
|
<a href="{% url "user:login" %}">
|
|
<i class="fa fa-sign-in fa-fw fa-lg"></i></a>
|
|
</li>
|
|
{% endif %}
|
|
</ul>
|
|
<!-- /.navbar-top-links -->
|