[PORTAL-7] Rebase
[portal.git] / ecomp-portal-FE-common / client / app / views / portal-admin / portal-admin.tpl.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="w-ecomp-main">\r
21     <div class="w-ecomp-main-container" >\r
22         <div class="portal-admins-page-main" id="page-content" >\r
23             <div id="title" class="w-ecomp-main-view-title">\r
24                  <h1 class="heading-page" >Portal Admins</h1>\r
25             </div>\r
26             <div class="portal-admins-table">\r
27                 <div class="table-control">\r
28                         <div class="table-control-fields">\r
29                                                 <input id="input-table-search" placeholder="Search in entire table" class="table-search-field" type="text" data-ng-model="portalAdmin.searchString">\r
30                                         </div>\r
31                                         <div class="table-control-buttons">\r
32                                                 <button class="btn btn-alt btn-small" ng-click="portalAdmin.openAddNewPortalAdminModal()"><i class="icon-people-userbookmark" aria-hidden="true"></i>&nbsp;Add Portal Admin</button>            \r
33                                         </div>      \r
34                 </div>\r
35 \r
36                 <span class="ecomp-spinner" ng-show="portalAdmin.isLoadingTable"></span>\r
37                 \r
38                 <div b2b-table table-data="portalAdmin.portalAdminsTableData"  ng-hide="portalAdmin.isLoadingTable"     search-string="portalAdmin.searchString" class="b2b-table-div">\r
39                                         <table>\r
40                                                 <thead b2b-table-row type="header">\r
41                                                         <tr >\r
42                                                                 <th b2b-table-header key="firstName" sortable="true" id="col1">First Name</th>\r
43                                                                 <th b2b-table-header key="lastName" sortable="true" id="col2">Last Name</th>\r
44                                                                 <th b2b-table-header key="loginId" sortable="true" id="col3">User ID</th>\r
45                                                                 <th b2b-table-header key="" sortable="falses" id="col4">Delete</th>\r
46                                                         </tr>\r
47                                                 </thead>\r
48                                                 <tbody b2b-table-row type="body"        row-repeat="rowData in portalAdmin.portalAdminsTableData">\r
49                                                         <tr>\r
50                                                                 <td b2b-table-body id="rowheader_t1_{{$index}}" headers="col1" ng-bind="rowData.firstName"></td>\r
51                                                                 <td b2b-table-body headers="rowheader_t1_{{$index}} col2" ng-bind="rowData.lastName"></td>\r
52                                                                 <td b2b-table-body headers="rowheader_t1_{{$index}} col3" ng-bind="rowData.loginId"></td>\r
53                                                                 <td b2b-table-body headers="rowheader_t1_{{$index}} col4">\r
54                                                                         <span class="icon-misc-trash" ng-click="portalAdmin.removePortalAdmin(rowData)"></span>\r
55                                                                 </td>                                                   \r
56                                                         </tr>\r
57                                                 </tbody>\r
58                                         </table>\r
59                                 </div>\r
60             </div>\r
61         </div>\r
62     </div>\r
63 \r
64 </div>\r