1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2024-11-01 12:04:15 +00:00
webvirtcloud/templates/sidebar.html

21 lines
1.3 KiB
HTML
Raw Normal View History

2015-02-27 08:53:51 +00:00
{% load i18n %}
{% load tags_active %}
2015-03-04 15:48:22 +00:00
<!-- Sidebar Menu Items - These collapse to the responsive navigation menu on small screens -->
<div class="collapse navbar-collapse navbar-ex1-collapse">
<ul class="nav navbar-nav side-nav">
2015-03-06 13:46:59 +00:00
<li {% class_active request "^/instance" %}>
2015-03-05 09:55:15 +00:00
<a href="{% url 'instances' %}"><i class="fa fa-fw fa-desktop"></i> {% trans "Instances" %}</a>
2015-03-04 15:48:22 +00:00
</li>
{% if request.user.is_superuser %}
2015-03-06 13:46:59 +00:00
<li {% class_active request "^/compute" %}{% class_active request "^/create" %}>
2015-03-05 14:56:22 +00:00
<a href="{% url 'computes' %}"><i class="fa fa-fw fa-tasks"></i> {% trans "Computes" %}</a>
2015-03-04 15:48:22 +00:00
</li>
<li {% class_active request "^/user" %}>
2015-03-05 09:55:15 +00:00
<a href="{% url 'users' %}"><i class="fa fa-fw fa-users"></i> {% trans "Users" %}</a>
2015-03-04 15:48:22 +00:00
</li>
<li {% class_active request "^/log" %}>
2015-03-05 09:55:15 +00:00
<a href="{% url 'showlogs' %}"><i class="fa fa-fw fa-list-alt"></i> {% trans "Logs" %}</a>
2015-03-04 15:48:22 +00:00
</li>
{% endif %}
</ul>
</div>