From 07db64f41b63d46ee033caed13bf4fcf5b329161 Mon Sep 17 00:00:00 2001 From: lombardof Date: Fri, 11 May 2018 13:47:10 +0200 Subject: [PATCH] create ns instance from ns list; minor fix Change-Id: I31e3b349e86f67e776b85c2484f455c3594da0a6 Signed-off-by: lombardof --- instancehandler/template/instance_list.html | 2 +- .../template/modal/instance_create.html | 6 ++--- .../osm/descriptor/descriptor_new.html | 20 +++----------- .../osm/descriptor/descriptorlist.html | 2 +- .../project/osm/osm_project_details.html | 4 +-- .../project/osm/osm_project_left_sidebar.html | 8 +++--- projecthandler/urls/project.py | 2 +- projecthandler/views.py | 8 +++--- static/src/instancehandler/instance_create.js | 26 ++++++++++++++----- 9 files changed, 37 insertions(+), 41 deletions(-) diff --git a/instancehandler/template/instance_list.html b/instancehandler/template/instance_list.html index b2485c2..52b3da4 100644 --- a/instancehandler/template/instance_list.html +++ b/instancehandler/template/instance_list.html @@ -42,7 +42,7 @@ diff --git a/instancehandler/template/modal/instance_create.html b/instancehandler/template/modal/instance_create.html index ffbce47..f1c24d9 100644 --- a/instancehandler/template/modal/instance_create.html +++ b/instancehandler/template/modal/instance_create.html @@ -28,14 +28,14 @@
- +
-
diff --git a/projecthandler/template/project/osm/descriptor/descriptor_new.html b/projecthandler/template/project/osm/descriptor/descriptor_new.html index d257d7f..eb1e127 100644 --- a/projecthandler/template/project/osm/descriptor/descriptor_new.html +++ b/projecthandler/template/project/osm/descriptor/descriptor_new.html @@ -1,22 +1,7 @@ {% extends "descriptor/descriptor_view_base.html" %} {% load staticfiles %} -{% block head_base %} - {% with skin_css="AdminLTE/dist/css/skins/skin-purple.min.css"%} - {{ block.super }} - {% endwith %} -{% endblock %} -{% block body %} - {% with skin="purple"%} - {{ block.super }} - {% endwith %} -{% endblock %} -{% block logo_sidebar %} - {% with logo_mini="assets/img/osm_small_logo.png" logo="assets/img/OSM-logo.png"%} - {{ block.super }} - {% endwith %} -{% endblock %} {% block title_header_big %} {{ block.super }} @@ -65,6 +50,7 @@ Onboard new {{ descriptor_type }} package {{ block.super }}