da8a5b31afe7138ca971d03d8b5ed34ef6070e57
[portal.git] / ecomp-portal-FE-common / client / app / views / role / popup_modal_rolefunction.html
1 <!--
2   ============LICENSE_START==========================================
3   ONAP Portal
4   ===================================================================
5   Copyright © 2017 AT&T Intellectual Property. All rights reserved.
6   ===================================================================
7  
8   Unless otherwise specified, all software contained herein is licensed
9   under the Apache License, Version 2.0 (the “License”);
10   you may not use this software except in compliance with the License.
11   You may obtain a copy of the License at
12  
13               http://www.apache.org/licenses/LICENSE-2.0
14  
15   Unless required by applicable law or agreed to in writing, software
16   distributed under the License is distributed on an "AS IS" BASIS,
17   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18   See the License for the specific language governing permissions and
19   limitations under the License.
20  
21   Unless otherwise specified, all documentation contained herein is licensed
22   under the Creative Commons License, Attribution 4.0 Intl. (the “License”);
23   you may not use this documentation except in compliance with the License.
24   You may obtain a copy of the License at
25  
26               https://creativecommons.org/licenses/by/4.0/
27  
28   Unless required by applicable law or agreed to in writing, documentation
29   distributed under the License is distributed on an "AS IS" BASIS,
30   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
31   See the License for the specific language governing permissions and
32   limitations under the License.
33  
34   ============LICENSE_END============================================
35  
36   ECOMP is a trademark and service mark of AT&T Intellectual Property.
37   -->
38   <style>
39   .dialog-control {
40     position: relative;
41     bottom: -13px;
42     right: 0px;
43 }
44   </style>
45 <style>
46   .dialog-control {
47     position: relative;
48     bottom: -13px;
49     right: 0px;
50 }
51   </style>
52
53 <!-- <link rel="stylesheet" href="role.css">
54  --><div class="new-admin-modal">
55                 <div class="b2b-modal-header">
56                         
57
58                         <div class="corner-button in">
59                                 <button type="button" class="close" aria-label="Close" id="button-cancel-role"
60                                         ng-click="$dismiss('cancel')"></button>
61                         </div>
62                 </div>
63
64                 <div class="b2b-modal-body">
65                 <form id="admin-details-form" name="adminForm" novalidate>
66                 <div class="title" ng-bind="label" class="adminForm-title"></div>
67 <br>
68                 <div >
69                                         <div class="item-label"> <span ID="required" style="color: Red;"
70                                                 visible="false"> *</span>Name:</div>
71                                         <input id="name-property-input"
72                                                 class="adminForm-name-property-input" ng-model="editRoleFunction.name"
73                                                 type="text" maxlength="30"
74                                                  />
75
76                                         <div class="error-container"
77                                                 ng-show="!editRoleFunction.name||editRoleFunction.name.length==0">
78                                                 <small id="microservices-details-input-url-required"
79                                                         class="err-message">Name is Required</small>
80                                         </div>
81                                 </div>
82                         <br>    
83                                 <div >
84                                         <div class="item-label"> <span ID="required" style="color: Red;"
85                                                 visible="false"> *</span>Code:</div>
86                                         <input id="code-property-input"
87                                                 class="adminForm-code-property-input" ng-model="editRoleFunction.code" ng-disabled="disableCd"
88                                                 type="text" maxlength="30"
89                                                  />
90
91                                         <div class="error-container"
92                                                 ng-show="!editRoleFunction.code||editRoleFunction.code.length==0">
93                                                 <small id="code-property-required"
94                                                         class="err-message">Code is Required</small>
95                                         </div>
96                                 </div>
97                 
98                 </form>
99         </div>
100                 
101                         <div class="b2b-modal-footer">
102                                 <div class="dialog-control">
103                                 
104 <button id="button-app-save" class="btn btn-alt btn-small" size="small" ng-disabled="(!editRoleFunction.name||editRoleFunction.name.length==0)||(!editRoleFunction.code||editRoleFunction.code.length==0 )" ng-click="!saveRoleFunction(editRoleFunction)";herf="javascript:void(0)">Save</button>
105                                                 
106                                                 <div id="button-app-cancel" class="btn btn-alt btn-small" ng-click="$dismiss('cancel')" role="button" tabindex="0" herf="javascript:void(0)">Cancel</div>
107                 </div>
108                 
109                 <!-- <div class="dialog-control">
110
111 <button id="button-app-save" class="btn btn-alt btn-small" size="small" ng-disabled="(!editRoleFunction.name||editRoleFunction.name.length==0)||(!editRoleFunction.code||editRoleFunction.code.length==0 )" ng-click="!saveRoleFunction(editRoleFunction)";herf="javascript:void(0)">Save</button>
112
113 <div id="button-app-cancel" class="btn btn-alt btn-small" ng-click="closeThisDialog()" role="button" tabindex="0" herf="javascript:void(0)">Cancel</div>
114 </div> -->
115                         </div>
116                         
117 </div>
118
119 <script>
120 $(document).ready(function(){
121     $(".ngdialog-close").attr('id','dialog-close');
122 });
123 </script>
124