fix missing license headers
[osm/LW-UI.git] / vimhandler / template / vim_create.html
index 4368735..caf32b7 100644 (file)
@@ -1,3 +1,19 @@
+<!--
+Copyright 2019 ETSI
+
+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.
+-->
+
 {% extends "base.html" %}
 {% load get %}
 {% load staticfiles %}
@@ -19,7 +35,7 @@
 
 {% block breadcrumb_body %}
     {{ block.super }}
-    <li><a href="{% url 'projects:vims:list' project_id=project_id %}">VIMS</a></li>
+    <li><a href="{% url 'vims:list'  %}">VIMS</a></li>
 {% endblock %}
 
 {% block content_body %}
@@ -27,7 +43,7 @@
 
     <div class="row">
         <div class="col-md-12">
-            <form action='{% url "projects:vims:create" project_id=project_id  %}' method="post">
+            <form action='{% url "vims:create"   %}' method="post">
                 {% csrf_token %}
                 <div class="box">
                     <div class="box-header with-border">
@@ -59,6 +75,7 @@
                                                 <option value="openstack">Openstack</option>
                                                 <option value="vmware">VMware vCD</option>
                                                 <option value="aws">AWS</option>
+                                                <option value="opennebula">OpenNebula</option>
                                             </select>
                                         </div>
                                     </div>
                                 {% include 'config/openstack.html' %}
                                 {% include 'config/vmware.html' %}
                                 {% include 'config/aws.html' %}
+                                {% include 'config/opennebula.html' %}
 
                                 <div class="row">
                                     <div class="col-lg-6">
 
                     </div>
                     <div class="box-footer">
-                        <button onclick="location.href='{% url 'projects:vims:list' project_id=project_id%}'" class="btn btn-default pull-left">Back to
+                        <button onclick="location.href='{% url 'vims:list' %}'" class="btn btn-default pull-left">Back to
                             VIM Accounts
                         </button>
                         <button class="btn btn-primary pull-right">Create</button>