diff options
author | c00149107 <chenchuanyu@huawei.com> | 2017-05-10 16:05:39 +0800 |
---|---|---|
committer | c00149107 <chenchuanyu@huawei.com> | 2017-05-10 16:05:39 +0800 |
commit | b4ea7529e15c044a948015916306d80c07a4f058 (patch) | |
tree | f7ac8f9fc038bb44e82ed7344db89f0ed637e531 /resmgr/src/main/webapp | |
parent | e017b3d52f52f0509dfd8d85c140145ba09386e2 (diff) |
Add Tenant for Site
Add Tenant for Site
Change-Id: Ie2b7dccf3b9be39df863ad277fcd16183a7ea42c
Issue-ID:CLIENT-200
Signed-off-by: c00149107 <chenchuanyu@huawei.com>
Diffstat (limited to 'resmgr/src/main/webapp')
-rw-r--r-- | resmgr/src/main/webapp/resmgr/js/app.js | 4 | ||||
-rw-r--r-- | resmgr/src/main/webapp/resmgr/sdn-resmgr/site/site.html | 5 |
2 files changed, 8 insertions, 1 deletions
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 @@ -86,6 +86,11 @@ </div>
</div>
<div class="form-group row" id="rowSpacing">
+ <label class="col-xs-4 col-form-label" id="textCenter">Tenant</label>
+ <div id="Tenant" class="col-xs-8" >
+ </div>
+ </div>
+ <div class="form-group row" id="rowSpacing">
<label class="col-xs-4 col-form-label" id="textCenter">Location</label>
<div id="location" class="col-xs-8" >
</div>
|