Moved sidebar block menu for 'maraudes' and 'notes' inside a dropdown in navbar
This commit is contained in:
@@ -7,8 +7,4 @@
|
||||
{% endblock %}
|
||||
|
||||
{% block sidebar %}
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-body">
|
||||
{% include "notes/menu.html" %}
|
||||
</div>
|
||||
</div>{% endblock %}
|
||||
{% endblock %}
|
||||
|
||||
@@ -1,13 +1,15 @@
|
||||
{% load navbar %}
|
||||
<ul class="nav nav-pills nav-stacked text-right">
|
||||
<li role="presentation" {% active namespace="notes" viewname="liste-sujet" %}>
|
||||
<a href="{% url "notes:liste-sujet" %}">Par sujet
|
||||
<span class="glyphicon glyphicon-user"></span>
|
||||
<ul class="dropdown-menu">
|
||||
<li {% active namespace="notes" viewname="liste-sujet" %}>
|
||||
<a href="{% url "notes:liste-sujet" %}">
|
||||
<span class="glyphicon glyphicon-user"></span>
|
||||
Par sujet
|
||||
</a>
|
||||
</li>
|
||||
<li role="presentation" {% active namespace="notes" viewname="liste-maraude" %}>
|
||||
<a href="{% url "notes:liste-maraude" %}">Par maraude
|
||||
<span class="glyphicon glyphicon-road"></span>
|
||||
<li {% active namespace="notes" viewname="liste-maraude" %}>
|
||||
<a href="{% url "notes:liste-maraude" %}">
|
||||
<span class="glyphicon glyphicon-road"></span>
|
||||
Par maraude
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
Reference in New Issue
Block a user