summaryrefslogtreecommitdiff
path: root/horizon/horizon/templates/horizon/common/_sidebar_module.html
diff options
context:
space:
mode:
Diffstat (limited to 'horizon/horizon/templates/horizon/common/_sidebar_module.html')
-rw-r--r--horizon/horizon/templates/horizon/common/_sidebar_module.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/horizon/horizon/templates/horizon/common/_sidebar_module.html b/horizon/horizon/templates/horizon/common/_sidebar_module.html
new file mode 100644
index 00000000..2b9739ce
--- /dev/null
+++ b/horizon/horizon/templates/horizon/common/_sidebar_module.html
@@ -0,0 +1,10 @@
+{% for module in modules %}
+ <h3>{{ module.title }}</h3>
+
+ <ul class="sub_nav">
+ {% for link in module.links %}
+ <li><a {% if request.get_full_path == link.url %} class="active" {% endif %} href="{{ link.url }}">{{ link.text }}</a></li>
+ {% endfor %}
+ </ul>
+{% endfor %}
+