From b4ea7529e15c044a948015916306d80c07a4f058 Mon Sep 17 00:00:00 2001 From: c00149107 Date: Wed, 10 May 2017 16:05:39 +0800 Subject: Add Tenant for Site Add Tenant for Site Change-Id: Ie2b7dccf3b9be39df863ad277fcd16183a7ea42c Issue-ID:CLIENT-200 Signed-off-by: c00149107 --- resmgr/src/main/webapp/resmgr/js/app.js | 4 +++- resmgr/src/main/webapp/resmgr/sdn-resmgr/site/site.html | 5 +++++ 2 files changed, 8 insertions(+), 1 deletion(-) (limited to 'resmgr') diff --git a/resmgr/src/main/webapp/resmgr/js/app.js b/resmgr/src/main/webapp/resmgr/js/app.js index 542b0421..dcd0250d 100644 --- a/resmgr/src/main/webapp/resmgr/js/app.js +++ b/resmgr/src/main/webapp/resmgr/js/app.js @@ -493,7 +493,9 @@ var app = angular.module("ResourceMgrApp", ["ui.router", "ngTable"]) /*var siteTenantType = {"ErrMsg" : {"errmsg" : "The tenanttype is required.", "modalVar":"site.tenanttype"}}; $('#myModal #tenanttype').append($compile(Mustache.to_html(text, siteTenantType.ErrMsg))($scope));*/ - + var siteTanant = {"ErrMsg" : {"errmsg" : "Tenant is required.", "modalVar":"site.tenantID", "placeholder":"Tenant"}}; + $('#myModal #Tenant').append($compile(Mustache.to_html(text, siteTanant.ErrMsg))($scope)); + var siteLocation = {"ErrMsg" : {"errmsg" : "Location is required.", "modalVar":"site.location", "placeholder":"Location"}}; $('#myModal #location').append($compile(Mustache.to_html(text, siteLocation.ErrMsg))($scope)); } diff --git a/resmgr/src/main/webapp/resmgr/sdn-resmgr/site/site.html b/resmgr/src/main/webapp/resmgr/sdn-resmgr/site/site.html index 76029246..bed77aba 100644 --- a/resmgr/src/main/webapp/resmgr/sdn-resmgr/site/site.html +++ b/resmgr/src/main/webapp/resmgr/sdn-resmgr/site/site.html @@ -85,6 +85,11 @@ +
+ +
+
+
-- cgit 1.2.3-korg