2 ============LICENSE_START==========================================
4 ===================================================================
5 Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
6 ===================================================================
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
13 http://www.apache.org/licenses/LICENSE-2.0
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.
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
26 https://creativecommons.org/licenses/by/4.0/
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.
34 ============LICENSE_END============================================
39 <div class="b2b-modal-header">
40 <h2 class="heading-medium" id="newAdmin">Bulk Upload
41 Role-Functions Confirmation</h2>
42 <div class="corner-button in">
43 <button type="button" class="close" aria-label="Close"
44 id="bulk-user-button-close" ng-click="$dismiss('cancel')"></button>
47 <div class="b2b-modal-body">
49 <!-- progress indicator -->
50 <div class="upload-instructions" ng-show="isProcessing">
51 {{progressMsg}} <br> <br> <span class="ecomp-spinner"></span>
54 <div class="upload-instructions"
55 ng-show="isProcessedRecords">
59 <div ng-hide="isProcessing || isProcessedRecords">
60 <div class="upload-instructions">Click OK to upload the valid
61 requests. Invalid requests will be ignored.</div>
62 <div class="c-ecomp-portal-abs-table default"
63 style="height: 250px !important">
64 <table b2b-table table-data="uploadFile"
65 search-string="bulkRoleAndFunctions.searchString"
66 view-per-page="bulkRoleAndFunctions.viewPerPageIgnored"
67 current-page="bulkRoleAndFunctions.currentPageIgnored"
68 total-page="bulkRoleAndFunctions.totalPageIgnored">
69 <thead b2b-table-row type="header">
71 <th id="th-line" b2b-table-header sortable="false">Line</th>
72 <th id="th-approle" b2b-table-header sortable="false">Role
74 <th id="th-type" b2b-table-header sortable="false">Function
76 <th id="th-instance" b2b-table-header sortable="false">Function
78 <th id="th-action" b2b-table-header sortable="false">Function
80 <th id="th-delete" b2b-table-header sortable="false">Function
82 <th id="th-status" b2b-table-header sortable="false">Status</th>
85 <!-- Use track-by="UNIQUE KEY HERE" or leave out if no unique keys in data -->
86 <tbody b2b-table-row type="body" class="table-body"
87 row-repeat="rowData in uploadFile">
89 <td class="td-first" b2b-table-body>
90 <div ng-bind="rowData.line"></div>
93 <div ng-bind="rowData.role"></div>
96 <div ng-bind="rowData.type"></div>
99 <div ng-bind="rowData.instance"></div>
102 <div ng-bind="rowData.action"></div>
105 <div ng-bind="rowData.name"></div>
108 <div ng-bind="rowData.status"></div>
118 <div class="b2b-modal-footer">
119 <div class="cta-button-group in">
120 <button id="bulk-user-ok-button" class="btn btn-alt btn-small"
121 ng-class="{disabled: isValidating}"
122 ng-disabled="isProcessedRecords"
123 ng-click="updateRoleFunctionsInDB()">Ok</button>
124 <button id="bulk-user-cancel-button" class="btn btn-alt btn-small"
125 ng-click="$dismiss('cancel')">Cancel</button>