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