Deliver centralized role management feature
[portal.git] / ecomp-portal-FE-common / client / app / views / users / new-user-dialogs / bulk-user.confirm.html
1 <!--
2   ================================================================================
3   ECOMP Portal
4   ================================================================================
5   Copyright (C) 2017 AT&T Intellectual Property
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   ================================================================================
19   -->
20 <div>
21         <div class="b2b-modal-header">
22                 <h2 class="heading-medium" id="newAdmin">Bulk User Upload Confirmation</h2>
23                 <div class="corner-button in">
24                         <button type="button" class="close" aria-label="Close" id="bulk-user-button-close"
25                                 ng-click="$dismiss('cancel')"></button>
26                 </div>
27         </div>
28                 <div class="b2b-modal-body">
29
30                         <!-- progress indicator -->
31                         <div class="upload-instructions"
32                                 ng-show="isProcessing">
33                                 {{progressMsg}}
34                                 <br>
35                                 <br>
36                                 <span class="ecomp-spinner"></span>
37                         </div>
38
39                         <div ng-hide="isProcessing">
40                                 <div class="upload-instructions">
41                                 Click OK to upload the valid requests. 
42                                 Invalid requests will be ignored.</div>
43                                 <div class="c-ecomp-portal-abs-table default"
44                                         style="height: 250px !important">
45                                         <table b2b-table table-data="uploadFile"
46                                                 search-string="bulkUser.searchString"
47                                                 view-per-page="bulkUser.viewPerPageIgnored"
48                                                 current-page="bulkUser.currentPageIgnored"
49                                                 total-page="bulkUser.totalPageIgnored">
50                                                 <thead b2b-table-row type="header">
51                                                         <tr>
52                                                                 <th id="th-line" b2b-table-header sortable="false">Line</th>
53                                                                 <th id="th-orgUserId" b2b-table-header sortable="false">Org User ID
54                                                                         </th>
55                                                                 <th id="th-approle" b2b-table-header sortable="false">App
56                                                                         Role</th>
57                                                                 <th id="th-status" b2b-table-header sortable="false">Status</th>
58                                                         </tr>
59                                                 </thead>
60                                                 <!-- Use track-by="UNIQUE KEY HERE" or leave out if no unique keys in data -->
61                                                 <tbody b2b-table-row type="body" class="table-body"
62                                                         row-repeat="rowData in uploadFile">
63                                                         <tr id="tr-rowData">
64                                                                 <td class="td-first" b2b-table-body>
65                                                                         <div ng-bind="rowData.line"></div>
66                                                                 </td>
67                                                                 <td b2b-table-body>
68                                                                         <div ng-bind="rowData.orgUserId"></div>
69                                                                 </td>
70                                                                 <td b2b-table-body>
71                                                                         <div ng-bind="rowData.role"></div>
72                                                                 </td>
73                                                                 <td b2b-table-body>
74                                                                         <div ng-bind="rowData.status"></div>
75                                                                 </td>
76                                                         </tr>
77                                                 </tbody>
78                                         </table>
79                                 </div>
80
81                         </div>
82                         
83                 </div>
84                 <div class="b2b-modal-footer">  
85                         <div class="cta-button-group in">       
86                                 <button id="bulk-user-ok-button" class="btn btn-alt btn-small" ng-class="{disabled: isValidating}"
87                                         ng-click="updateDB()">Ok</button>
88                                 <button id="bulk-user-cancel-button" class="btn btn-alt btn-small" ng-click="$dismiss('cancel')">Cancel</button>                
89                         </div>
90                 </div>
91 </div>