From: lombardofr Date: Thu, 5 Dec 2019 13:21:57 +0000 (+0100) Subject: k8srepo field description mandatory; k8scluster placeholder hint for nets field X-Git-Tag: v7.0.0rc1 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=1c0f7b0af6caa1b7526b5684c2534523f4f6c973;p=osm%2FLW-UI.git k8srepo field description mandatory; k8scluster placeholder hint for nets field Change-Id: I9d237333a3e2961845aef4948f27f69dfae5b405 Signed-off-by: lombardofr --- diff --git a/k8sclusterhandler/template/modal/k8scluster_register.html b/k8sclusterhandler/template/modal/k8scluster_register.html index 1be648f..db9de50 100644 --- a/k8sclusterhandler/template/modal/k8scluster_register.html +++ b/k8sclusterhandler/template/modal/k8scluster_register.html @@ -32,34 +32,41 @@ limitations under the License.
- +
- +
+ -
- + +
- +
- + +
- + +
+
+
+ +
+
- +
- + rows="2">
diff --git a/k8sclusterhandler/views.py b/k8sclusterhandler/views.py index f3ee93d..00f7c8c 100644 --- a/k8sclusterhandler/views.py +++ b/k8sclusterhandler/views.py @@ -55,6 +55,7 @@ def create(request): "name": request.POST.get('name'), "credentials": yaml.load(request.POST.get('credentials')), "vim_account": request.POST.get('vim_account'), + "description": request.POST.get('description'), "k8s_version": request.POST.get('k8s_version'), "nets": yaml.load(request.POST.get('nets')), } diff --git a/k8srepohandler/template/modal/k8srepo_register.html b/k8srepohandler/template/modal/k8srepo_register.html index b742d79..6da73d5 100644 --- a/k8srepohandler/template/modal/k8srepo_register.html +++ b/k8srepohandler/template/modal/k8srepo_register.html @@ -49,10 +49,10 @@ limitations under the License. - +
+ placeholder="Description" required>