VNF and NS packages open in the left panel 70/6270/1
authorlombardofr <lombardo@everyup.it>
Thu, 14 Jun 2018 07:55:57 +0000 (09:55 +0200)
committerlombardofr <lombardo@everyup.it>
Thu, 14 Jun 2018 07:55:57 +0000 (09:55 +0200)
Change-Id: I68a41821bb4fbb2dddef9f9b7addffa1425a2ea4
Signed-off-by: lombardofr <lombardo@everyup.it>
projecthandler/template/project/osm/osm_project_left_sidebar.html
static/css/lwui.css [new file with mode: 0644]
template/head.html

index 0655cfd..a82ac4b 100644 (file)
           </li>
           {% url "projects:list_descriptors"  project_id=project_id descriptor_type="nsd" as  nsd_list_url %}
           {% url "projects:list_descriptors"  project_id=project_id descriptor_type='vnfd' as  vnfd_list_url %}
-        <li {% if request.get_full_path == nsd_list_url or  request.get_full_path == vnfd_list_url%} class="active treeview" {% else %} class="treeview" {% endif %} >
+        <li {% if request.get_full_path == nsd_list_url or  request.get_full_path == vnfd_list_url%} class="active treeview menu-open" {% else %} class="treeview  menu-open" {% endif %} >
                 <a href="#">
                     <i class="fa fa-archive fa-fw"></i> <span>Packages {{nsd_list}}</span>
                     <span class="pull-right-container">
                         <i class="fa fa-angle-left pull-right"></i>
                     </span>
                 </a>
-                <ul class="treeview-menu">
+                <ul class="treeview-menu" style="display: block;">
                     <li {% if request.get_full_path == nsd_list_url %} class="active" {% endif %}>
                         <a href='{{ nsd_list_url }}'>
                             <i class="fa fa-archive fa-fw"></i>NS Packages
diff --git a/static/css/lwui.css b/static/css/lwui.css
new file mode 100644 (file)
index 0000000..858666d
--- /dev/null
@@ -0,0 +1,4 @@
+.skin-purple .sidebar-menu > li.menu-open > a {
+  color: #b8c7ce !important;
+  background: #1e282c;
+}
\ No newline at end of file
index 39f42d9..3370a43 100644 (file)
@@ -20,6 +20,7 @@
   <link rel="stylesheet" href="/static/bower_components/admin-lte/dist/css/skins/_all-skins.min.css">
 
   <link rel="stylesheet" href="/static/css/rdcl.css">
+  <link rel="stylesheet" href="/static/css/lwui.css">
 
   <link rel="stylesheet" href="/static/bower_components/admin-lte/plugins/pace/pace.min.css">
   <link rel="icon" href="/static/assets/img/favicon.ico">