[PORTAL-7] Rebase
[portal.git] / ecomp-portal-FE-common / client / app / views / role / role_functions_popup.html
1 <!--\r
2   ================================================================================\r
3   ECOMP Portal\r
4   ================================================================================\r
5   Copyright (C) 2017 AT&T Intellectual Property\r
6   ================================================================================\r
7   Licensed under the Apache License, Version 2.0 (the "License");\r
8   you may not use this file except in compliance with the License.\r
9   You may obtain a copy of the License at\r
10   \r
11        http://www.apache.org/licenses/LICENSE-2.0\r
12   \r
13   Unless required by applicable law or agreed to in writing, software\r
14   distributed under the License is distributed on an "AS IS" BASIS,\r
15   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
16   See the License for the specific language governing permissions and\r
17   limitations under the License.\r
18   ================================================================================\r
19   -->\r
20 <link rel="stylesheet" href="role.css">\r
21 <div class="application-details-modal">\r
22     <div id="title" class="title">Select Role Functions</div>\r
23 <div class="scrolling-table">\r
24         <div b2b-table table-data="availableRoleFunctions"   class="b2b-table-div">\r
25                 <table>\r
26                         <thead b2b-table-row type="header">\r
27                                 <tr >\r
28                                         <th b2b-table-header key="firstName" sortable="true" id="col1"></th>\r
29                                         <th b2b-table-header key="name" sortable="true" id="col2">Name</th>\r
30                                 </tr>\r
31                         </thead>\r
32                         <tbody b2b-table-row type="body"        row-repeat="rowData in availableRoleFunctions">\r
33                                 <tr>\r
34                                         <td b2b-table-body id="rowheader_t1_{{$index}}" headers="col1">\r
35                                                 <label class="btn-switch-label" tabindex="0" role="option">\r
36                                                         <input type="checkbox" b2b-switches ng-model="rowData.selected" ng-click="toggleRoleFunction(rowData.selected,rowData);">\r
37                                             </label> \r
38                                         </td>\r
39                                         <td b2b-table-body headers="rowheader_t1_{{$index}} col2" ng-bind="rowData.name"></td>\r
40                                                                                         \r
41                                 </tr>\r
42                         </tbody>\r
43                 </table>\r
44         </div>\r
45 </div>\r
46     <div class="dialog-control">\r
47         <button id="button-app-cancel" class="btn btn-alt btn-small" ng-click="closeThisDialog()">Close</button>\r
48     </div>\r
49 </div>\r