diff options
Diffstat (limited to 'resmgr/src/main')
-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>
|