[PORTAL-7] Rebase
[portal.git] / ecomp-portal-FE-common / client / app / views / users / new-user-dialogs / bulk-user.confirm.html
diff --git a/ecomp-portal-FE-common/client/app/views/users/new-user-dialogs/bulk-user.confirm.html b/ecomp-portal-FE-common/client/app/views/users/new-user-dialogs/bulk-user.confirm.html
new file mode 100644 (file)
index 0000000..a3c0b53
--- /dev/null
@@ -0,0 +1,83 @@
+<!--\r
+  ================================================================================\r
+  ECOMP Portal\r
+  ================================================================================\r
+  Copyright (C) 2017 AT&T Intellectual Property\r
+  ================================================================================\r
+  Licensed under the Apache License, Version 2.0 (the "License");\r
+  you may not use this file except in compliance with the License.\r
+  You may obtain a copy of the License at\r
+  \r
+       http://www.apache.org/licenses/LICENSE-2.0\r
+  \r
+  Unless required by applicable law or agreed to in writing, software\r
+  distributed under the License is distributed on an "AS IS" BASIS,\r
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+  See the License for the specific language governing permissions and\r
+  limitations under the License.\r
+  ================================================================================\r
+  -->\r
+<div class="bulk-user-modal">\r
+       <div class="title">Bulk User Upload Confirmation</div>\r
+               <div class="main">\r
+\r
+                       <!-- progress indicator -->\r
+                       <div class="upload-instructions"\r
+                               ng-show="isProcessing">\r
+                               {{progressMsg}}\r
+                               <br>\r
+                               <br>\r
+                               <span class="ecomp-spinner"></span>\r
+                       </div>\r
+\r
+                       <div ng-hide="isProcessing">\r
+                               <div class="upload-instructions">\r
+                               Click OK to upload the valid requests. \r
+                               Invalid requests will be ignored.</div>\r
+                               <div class="c-ecomp-portal-abs-table default"\r
+                                       style="height: 250px !important">\r
+                                       <table b2b-table table-data="uploadFile"\r
+                                               search-string="bulkUser.searchString"\r
+                                               view-per-page="bulkUser.viewPerPageIgnored"\r
+                                               current-page="bulkUser.currentPageIgnored"\r
+                                               total-page="bulkUser.totalPageIgnored">\r
+                                               <thead b2b-table-row type="header">\r
+                                                       <tr>\r
+                                                               <th id="th-line" b2b-table-header sortable="false">Line</th>\r
+                                                               <th id="th-orgUserId" b2b-table-header sortable="false">Org User ID\r
+                                                                       </th>\r
+                                                               <th id="th-approle" b2b-table-header sortable="false">App\r
+                                                                       Role</th>\r
+                                                               <th id="th-status" b2b-table-header sortable="false">Status</th>\r
+                                                       </tr>\r
+                                               </thead>\r
+                                               <!-- Use track-by="UNIQUE KEY HERE" or leave out if no unique keys in data -->\r
+                                               <tbody b2b-table-row type="body" class="table-body"\r
+                                                       row-repeat="rowData in uploadFile">\r
+                                                       <tr id="tr-rowData">\r
+                                                               <td class="td-first" b2b-table-body>\r
+                                                                       <div ng-bind="rowData.line"></div>\r
+                                                               </td>\r
+                                                               <td b2b-table-body>\r
+                                                                       <div ng-bind="rowData.orgUserId"></div>\r
+                                                               </td>\r
+                                                               <td b2b-table-body>\r
+                                                                       <div ng-bind="rowData.role"></div>\r
+                                                               </td>\r
+                                                               <td b2b-table-body>\r
+                                                                       <div ng-bind="rowData.status"></div>\r
+                                                               </td>\r
+                                                       </tr>\r
+                                               </tbody>\r
+                                       </table>\r
+                               </div>\r
+\r
+                       </div>\r
+                       <div class="dialog-control">            \r
+                                       <button id="bulk-user-ok-button" class="btn btn-alt btn-small" ng-class="{disabled: isValidating}"\r
+                                       ng-click="updateDB()">Ok</button>\r
+                                       <button id="bulk-user-cancel-button" class="btn btn-alt btn-small" ng-click="cancelUpload()">Cancel</button>\r
+                                       \r
+                       </div>\r
+               </div>\r
+</div>\r