7974d4e3f39549b116ffa4fd87a8e9d6922b8cf0
[policy/engine.git] / POLICY-SDK-APP / src / main / webapp / app / policyApp / Windows / Edit_Roles_Window.html
1 <!--/*-
2  * ============LICENSE_START=======================================================
3  * ONAP Policy Engine
4  * ================================================================================
5  * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6  * ================================================================================
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  * 
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  * 
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  * ============LICENSE_END=========================================================
19  */-->
20 <script type="text/ng-template" id="edit_Role_popup.html">
21 <div class="modal" tabindex="-1">
22 <div class="modal-dialog modal-lg">
23         <div class="modal-content">
24                 <div class="modal-header">
25                         <h2 class="font-showcase-font-name" style="color : #157bb2">{{label}}</h2>
26                 </div>
27                 <div class="modal-body">
28                         <div class="form-group row">
29                         <div class="form-group col-sm-6">
30                                 <label><sup><b>*</b></sup>Name:</label><br>
31                                 <input type="text" class="form-control" ng-readonly="true" ng-model="editRole.loginId.userName" maxlength="30" />
32                         </div>
33                         </div>
34                         <div class="form-group row">
35                         <div class="form-group col-sm-6" >
36                                 <label><sup><b>*</b></sup>Role:</label><br>
37                                 <input type="text" class="form-control" ng-readonly="true" ng-model="editRole.role" maxlength="30" />
38                         </div>
39                         </div>
40                         <div class="form-group row">
41                         <div class="form-group col-sm-6" >
42                                 <label><sup><b>*</b></sup>Scope:</label><br>
43                                 <select class="form-control" multiple  ng-model="editRole.scope" ng-options="option for option in scopeDatas" title="Select the Scopes from the dropdown."></select>
44                         </div>
45                         </div>
46                 </div>
47                 <div class="modal-footer">
48                         <button class="btn btn-success" herf="javascript:void(0)" ng-click="saveRole(editRole);" title="OnClick Policy Role is saved.">Save</button>
49                         <button class="btn btn-default" herf="javascript:void(0)" ng-click="close()" title="OnClick Policy Role Window is closed.">Close</button>
50                 </div>
51         </div>
52 </div>
53 </div>
54 </script>