[PORTAL-16 PORTAL-18] Widget ms; staging
[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 class="bulk-user-modal">
21         <div class="title">Bulk User Upload Confirmation</div>
22                 <div class="main">
23
24                         <!-- progress indicator -->
25                         <div class="upload-instructions"
26                                 ng-show="isProcessing">
27                                 {{progressMsg}}
28                                 <br>
29                                 <br>
30                                 <span class="ecomp-spinner"></span>
31                         </div>
32
33                         <div ng-hide="isProcessing">
34                                 <div class="upload-instructions">
35                                 Click OK to upload the valid requests. 
36                                 Invalid requests will be ignored.</div>
37                                 <div class="c-ecomp-portal-abs-table default"
38                                         style="height: 250px !important">
39                                         <table b2b-table table-data="uploadFile"
40                                                 search-string="bulkUser.searchString"
41                                                 view-per-page="bulkUser.viewPerPageIgnored"
42                                                 current-page="bulkUser.currentPageIgnored"
43                                                 total-page="bulkUser.totalPageIgnored">
44                                                 <thead b2b-table-row type="header">
45                                                         <tr>
46                                                                 <th id="th-line" b2b-table-header sortable="false">Line</th>
47                                                                 <th id="th-orgUserId" b2b-table-header sortable="false">Org User ID
48                                                                         </th>
49                                                                 <th id="th-approle" b2b-table-header sortable="false">App
50                                                                         Role</th>
51                                                                 <th id="th-status" b2b-table-header sortable="false">Status</th>
52                                                         </tr>
53                                                 </thead>
54                                                 <!-- Use track-by="UNIQUE KEY HERE" or leave out if no unique keys in data -->
55                                                 <tbody b2b-table-row type="body" class="table-body"
56                                                         row-repeat="rowData in uploadFile">
57                                                         <tr id="tr-rowData">
58                                                                 <td class="td-first" b2b-table-body>
59                                                                         <div ng-bind="rowData.line"></div>
60                                                                 </td>
61                                                                 <td b2b-table-body>
62                                                                         <div ng-bind="rowData.orgUserId"></div>
63                                                                 </td>
64                                                                 <td b2b-table-body>
65                                                                         <div ng-bind="rowData.role"></div>
66                                                                 </td>
67                                                                 <td b2b-table-body>
68                                                                         <div ng-bind="rowData.status"></div>
69                                                                 </td>
70                                                         </tr>
71                                                 </tbody>
72                                         </table>
73                                 </div>
74
75                         </div>
76                         <div class="dialog-control">            
77                                         <button id="bulk-user-ok-button" class="btn btn-alt btn-small" ng-class="{disabled: isValidating}"
78                                         ng-click="updateDB()">Ok</button>
79                                         <button id="bulk-user-cancel-button" class="btn btn-alt btn-small" ng-click="cancelUpload()">Cancel</button>
80                                         
81                         </div>
82                 </div>
83 </div>