fix missing license headers
[osm/LW-UI.git] / instancehandler / template / modal / instance_create_nsi.html
index bad979f..35e11e1 100644 (file)
@@ -6,7 +6,7 @@
                     <span aria-hidden="true">×</span></button>
                 <h4 class="modal-title">New NSI</h4>
             </div>
-            <form id="formCreateNS" action='{% url "instances:create" type='nsi' %}'
+            <form id="formCreateNSI" action='{% url "instances:create" type='nsi' %}'
                   class="form-horizontal"
                   method="post" enctype="multipart/form-data">
                 {% csrf_token %}
                         </div>
                     </div>
                     <div class="form-group">
-                        <label for="ssh_key_nsi" class="col-sm-3 control-label">SSH Key </label>
+                        <label for="ssh_keys" class="col-sm-3 control-label">SSH Key </label>
                         <div class="col-sm-6">
-                            <textarea class="form-control" id="ssh_key_nsi" name="ssh_key"
-                                      placeholder="Paste your key here..." rows="4"></textarea>
+                                <textarea class="form-control" id="ssh_key" name="ssh_key"
+                                placeholder="Paste your key here..." rows="3"></textarea> 
+                                <p class="help-block">Or load from file</p>
+                                <input type="file" id="ssh_key_files" name="ssh_key_files" multiple>
+                               
+                             
                         </div>
                     </div>
                     <div class="form-group">
-                        <label for="config_nsi" class="col-sm-3 control-label">Config </label>
+                        <label for="config" class="col-sm-3 control-label">Config </label>
                         <div class="col-sm-6">
-                            <textarea class="form-control" id="config_nsi" name="config" placeholder="Yaml config"
-                                      rows="4"></textarea>
+                            <textarea class="form-control" id="config" name="config" placeholder="Yaml config"
+                                      rows="3"></textarea>
+                            <p class="help-block">Or load from file</p>
+                            <input type="file" id="config_file" name="config_file">
                         </div>
-                    </div> 
-
+                    </div>
                 </div>
                 <div class="modal-footer">
                     <button type="button" class="btn btn-default pull-left" data-dismiss="modal">Cancel</button>