aboutsummaryrefslogtreecommitdiffstats
path: root/src/templates/base/base.html
diff options
context:
space:
mode:
authorAdam LeBlanc <aleblanc@iol.unh.edu>2020-03-05 12:37:38 -0500
committerAdam LeBlanc <aleblanc@iol.unh.edu>2020-03-12 14:07:06 -0400
commit176ec9aacbc87e6077e8807c60f95a1ccbbc26e3 (patch)
treea3fa9455b640637eaa513c7da8da40ad76a97b94 /src/templates/base/base.html
parent8eab4c4a801a367f74347627c19dd721f75c7a62 (diff)
Add akraino template for dashboard
Signed-off-by: Adam LeBlanc <aleblanc@iol.unh.edu> Change-Id: I02242e00779bcae7cd7622c2e891e4199c8d0e71 Signed-off-by: Adam LeBlanc <aleblanc@iol.unh.edu>
Diffstat (limited to 'src/templates/base/base.html')
-rw-r--r--src/templates/base/base.html10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/templates/base/base.html b/src/templates/base/base.html
index 6776f7e..663741a 100644
--- a/src/templates/base/base.html
+++ b/src/templates/base/base.html
@@ -12,17 +12,19 @@
{% block basecontent %}
<div id="wrapper" class="d-flex flex-column">
<!-- Navigation -->
+ {% block bgColor %}
<nav class="navbar navbar-light bg-light navbar-fixed-top border-bottom py-0 mb-0" role="navigation">
+ {% endblock bgColor %}
<div class="container-fluid pb-2 pb-sm-0">
<!-- Logo -->
+ {% block logo %}
<div class="col-12 col-sm order-1 order-sm-2 text-center text-lg-left">
- <a href="https://www.opnfv.org/" class="navbar-brand">
- <img src="{% static "img/opnfv-logo.png" %}">
- </a>
+ <h2>Logo Here</h2>
<a class="navbar-brand d-none d-lg-inline" href={% url 'dashboard:index' %}>
Laas Dashboard
</a>
</div>
+ {% endblock logo %}
<!-- Sidebar button -->
<div class="col-6 col-sm-2 d-flex order-1 order-lg-3 d-lg-none">
<button class="btn border mx-auto" type="button" data-toggle="collapse" data-target="#sidebar"
@@ -75,6 +77,7 @@
<a href="/" class="list-group-item list-group-item-action">
Home
</a>
+ {% block dropDown %}
<a class="list-group-item list-group-item-action" data-toggle="collapse"
href="#createList" role="button">
Create <i class="fas fa-angle-down rotate"></i>
@@ -99,6 +102,7 @@
Configure OPNFV
</a>
</div>
+ {% endblock dropDown %}
<a href="{% url 'resource:hosts' %}" class="list-group-item list-group-item-action">
Hosts
</a>