enabled VNF Repositories
[osm/LW-UI.git] / projecthandler / template / project / osm / osm_project_left_sidebar.html
index 7259834..8955c13 100644 (file)
@@ -1,3 +1,18 @@
+<!--
+Copyright 2019 EveryUP srl
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an  BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
 <aside class="main-sidebar">
     <!-- sidebar: style can be found in sidebar.less -->
     <section class="sidebar">
                 </a>
             </li>
 
+            {% url "k8sc:list"   as  k8sc_list_url %}
+            <li {% if request.get_full_path == k8sc_list_url %} class="active treeview menu-open" {% else %} class="treeview  menu-open" {% endif %} >
+                <a href="#">
+                    <i class="fa fa-paper-plane fa-fw"></i> <span>K8s</span>
+                    <span class="pull-right-container">
+                        <i class="fa fa-angle-left pull-right"></i>
+                    </span>
+                </a>
+                <ul class="treeview-menu" style="display: block;">
+                        {% url "k8sc:list"   as  k8sc_list_url %}
+                        <li {% if request.get_full_path == k8sc_list_url %} class="active" {% endif %} >
+                            <a href='{% url "k8sc:list"   %}'>
+                                <b>K8s</b> <span>Clusters</span>
+                            </a>
+                        </li>
+                        {% url "k8sr:list"   as  k8srepo_list_url %}
+                        <li {% if request.get_full_path == k8srepo_list_url %} class="active" {% endif %} >
+                            <a href='{% url "k8sr:list"   %}'>
+                                <b>K8s</b> <span>Repos</span>
+                            </a>
+                        </li>
+                </ul>
+            </li>
+            {% url "osm:list"   as  osmrepo_list_url %}
+            <li {% if request.get_full_path == osmrepo_list_url %} class="active" {% endif %} >
+                <a href='{% url "osmr:list"   %}'>
+                    <i class="fa fa-folder fa-fw"></i><span>OSM Repositories</span>
+                </a>
+            </li>
             {% url "wims:list"   as  wim_list_url %}
             <li {% if request.get_full_path == wim_list_url %} class="active" {% endif %}>
                 <a href='{% url "wims:list"   %}'>
                     <i class="fas fa-users"></i> <span>Users</span>
                 </a>
                 </li>
-                {%comment%}
                 {% url "roles:list"   as  role_list_url %}
                 <li {% if request.get_full_path == role_list_url %} class="active" {% endif %}>
                 <a href='{% url "roles:list"   %}'>
                     <i class="fas fa-user-tag"></i> <span>Roles</span>
                 </a>
                 </li>
-                {%endcomment%}
-                
             {% endif %}
         </ul>
     </section>
     <!-- /.sidebar -->
-</aside>
\ No newline at end of file
+</aside>