90d3aa5cf5bd6ce95252c94bc7d818a500137049
[portal.git] / ecomp-portal-FE-common / client / app / views / users / new-user-dialogs / bulk-user.confirm.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 <div>
39         <div class="b2b-modal-header">
40                 <h2 class="heading-medium" id="newAdmin">Bulk User Upload Confirmation</h2>
41                 <div class="corner-button in">
42                         <button type="button" class="close" aria-label="Close" id="bulk-user-button-close"
43                                 ng-click="$dismiss('cancel')"></button>
44                 </div>
45         </div>
46                 <div class="b2b-modal-body">
47
48                         <!-- progress indicator -->
49                         <div class="upload-instructions"
50                                 ng-show="isProcessing">
51                                 {{progressMsg}}
52                                 <br>
53                                 <br>
54                                 <span class="ecomp-spinner"></span>
55                         </div>
56
57                         <div ng-hide="isProcessing">
58                                 <div class="upload-instructions">
59                                 Click OK to upload the valid requests. 
60                                 Invalid requests will be ignored.</div>
61                                 <div class="c-ecomp-portal-abs-table default"
62                                         style="height: 250px !important">
63                                         <table b2b-table table-data="uploadFile"
64                                                 search-string="bulkUser.searchString"
65                                                 view-per-page="bulkUser.viewPerPageIgnored"
66                                                 current-page="bulkUser.currentPageIgnored"
67                                                 total-page="bulkUser.totalPageIgnored">
68                                                 <thead b2b-table-row type="header">
69                                                         <tr>
70                                                                 <th id="th-line" b2b-table-header sortable="false">Line</th>
71                                                                 <th id="th-orgUserId" b2b-table-header sortable="false">Org User ID
72                                                                         </th>
73                                                                 <th id="th-approle" b2b-table-header sortable="false">App
74                                                                         Role</th>
75                                                                 <th id="th-status" b2b-table-header sortable="false">Status</th>
76                                                         </tr>
77                                                 </thead>
78                                                 <!-- Use track-by="UNIQUE KEY HERE" or leave out if no unique keys in data -->
79                                                 <tbody b2b-table-row type="body" class="table-body"
80                                                         row-repeat="rowData in uploadFile">
81                                                         <tr id="tr-rowData">
82                                                                 <td class="td-first" b2b-table-body>
83                                                                         <div ng-bind="rowData.line"></div>
84                                                                 </td>
85                                                                 <td b2b-table-body>
86                                                                         <div ng-bind="rowData.orgUserId"></div>
87                                                                 </td>
88                                                                 <td b2b-table-body>
89                                                                         <div ng-bind="rowData.role"></div>
90                                                                 </td>
91                                                                 <td b2b-table-body>
92                                                                         <div ng-bind="rowData.status"></div>
93                                                                 </td>
94                                                         </tr>
95                                                 </tbody>
96                                         </table>
97                                 </div>
98
99                         </div>
100                         
101                 </div>
102                 <div class="b2b-modal-footer">  
103                         <div class="cta-button-group in">       
104                                 <button id="bulk-user-ok-button" class="btn btn-alt btn-small" ng-class="{disabled: isValidating}"
105                                         ng-click="updateDB()">Ok</button>
106                                 <button id="bulk-user-cancel-button" class="btn btn-alt btn-small" ng-click="$dismiss('cancel')">Cancel</button>                
107                         </div>
108                 </div>
109 </div>