cbfd6133256b4140f9ee8febdb5d3f33413c21dc
[portal/sdk.git] /
1
2 <script type="text/ng-template" id="role_functions_popup.html">
3           <div class="modal__informative font-showcase" style="width:700px;height:500px;overflow:scroll">
4             <div class="modal__header">
5                 <h2 class="font-showcase-font-name" style="width: 500px;">Select Role Functions</h2>
6             </div>
7             <button align="right" class="button button--primary button--small" herf="javascript:void(0)" ng-click="close()">Close</button>
8             <div class="divider-container"><hr> </div>      
9             <div class="modal__content">                        
10                                 <table att-table
11                                         table-data="availableRoleFunctions" 
12                                         view-per-page="viewPerPageIgnore" 
13                                         current-page="currentPageIgnore" 
14                                         search-category="searchCategoryIgnore" 
15                                         search-string="searchStringIgnore" 
16                                         total-page="totalPageIgnore">                    
17                                 <thead att-table-row type="header">
18                                                 <tr>
19                                                         <th att-table-header sortable="false" width="10%"> </th>
20                                                         <th att-table-header sortable="false" width="90%">Role Function</th>
21                                                 </tr>
22                                         </thead>
23                                         <tbody att-table-row type="body" row-repeat="availableRoleFunction in availableRoleFunctions" style="max-height: 980px;" >
24                                           <tr>
25                                           
26                                                 <td width="10%">
27                                                         <div ng-click="toggleRoleFunction(availableRoleFunction.selected,availableRoleFunction);">
28                                                         <input type="checkbox" ng-model="availableRoleFunction.selected" att-toggle-main>
29                                                         </div>
30                                                 </td>
31                                                 <td width="90%">{{ availableRoleFunction.name }}</td>
32                                                 
33                                           </tr>
34                                         </tbody>
35                                 </table>        
36             </div>
37         </div>
38 </script>
39
40
41 <script type="text/ng-template" id="child_roles_popup.html">
42           <div class="modal__informative font-showcase" style="width:700px;height:500px;overflow:scroll">
43             <div class="modal__header">
44                 <h2 class="font-showcase-font-name" style="width: 500px;">Select Child Roles</h2>
45             </div>
46             <button align="right" class="button button--primary button--small" herf="javascript:void(0)" ng-click="close()">Close</button>
47             <div class="divider-container"><hr> </div>      
48             <div class="modal__content">                        
49                                         <table att-table
50                                                 table-data="availableRoles"
51                                                 view-per-page="viewPerPageIgnore" 
52                                                 current-page="currentPageIgnore" 
53                                                 search-category="searchCategoryIgnore" 
54                                                 search-string="searchStringIgnore" 
55                                                 total-page="totalPageIgnore">                     
56                                                 <thead att-table-row type="header">
57                                                         <tr>
58                                                                 <th att-table-header sortable="false" width="10%"> </th>
59                                                                 <th att-table-header sortable="false" width="90%">Role</th>
60                                                         </tr>
61                                                 </thead>
62                                                 <tbody att-table-row type="body" row-repeat="availableRole in availableRoles" style="max-height: 980px;" >
63                                                         <tr>
64                                                         <td att-table-body width="10%">
65                                                                 <div ng-click="toggleChildRole(availableRole.selected,availableRole);">
66                                                                 <input type="checkbox" ng-model="availableRole.selected" att-toggle-main>
67                                                                 </div>
68                                                         </td>
69                                                         <td att-table-body width="90%">{{ availableRole.name }}</td>
70                                                         </tr>
71                                                 </tbody>
72                                         </table>        
73             </div>
74         </div>
75 </script>