d12b1bdf6252645c73146b86925bd1f717dbb0bb
[portal.git] / ecomp-portal-FE-common / client / app / views / portal-admin / portal-admin.tpl.html
1 <!--
2   ============LICENSE_START==========================================
3   ONAP Portal
4   ===================================================================
5   Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6   ===================================================================
7  
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
12  
13               http://www.apache.org/licenses/LICENSE-2.0
14  
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.
20  
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
25  
26               https://creativecommons.org/licenses/by/4.0/
27  
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.
33  
34   ============LICENSE_END============================================
35  
36   ECOMP is a trademark and service mark of AT&T Intellectual Property.
37   -->
38 <div class="w-ecomp-main">
39     <div class="w-ecomp-main-container" >
40         <div class="portal-admins-page-main" id="page-content" >
41             <div id="title" class="w-ecomp-main-view-title">
42                  <h1 class="heading-page" >Portal Admins</h1>
43             </div>
44             <div class="portal-admins-table">
45                 <div class="table-control">
46                         <div class="table-control-fields">
47                                                 <input id="input-table-search" placeholder="Search in entire table" class="table-search-field" type="text" data-ng-model="portalAdmin.searchString">
48                                         </div>
49                                         <div class="table-control-buttons">
50                                                 <button class="btn btn-alt btn-small" id="portal-admin-button-add" ng-click="portalAdmin.openAddNewPortalAdminModal()"><i class="icon-people-userbookmark" aria-hidden="true"></i>&nbsp;Add Portal Admin</button>               
51                                         </div>      
52                 </div>
53
54                 <span class="ecomp-spinner" ng-show="portalAdmin.isLoadingTable"></span>
55                 
56                 <div b2b-table table-data="portalAdmin.portalAdminsTableData"  ng-hide="portalAdmin.isLoadingTable"     search-string="portalAdmin.searchString" class="b2b-table-div">
57                                         <table>
58                                                 <thead b2b-table-row type="header">
59                                                         <tr >
60                                                                 <th b2b-table-header key="firstName" sortable="true" id="col1" default-sort="a">First Name</th>
61                                                                 <th b2b-table-header key="lastName" sortable="true" id="col2">Last Name</th>
62                                                                 <th b2b-table-header key="loginId" sortable="true" id="col3">User ID</th>
63                                                                 <th b2b-table-header key="" sortable="falses" id="col4">Delete</th>
64                                                         </tr>
65                                                 </thead>
66                                                 <tbody b2b-table-row type="body"        row-repeat="rowData in portalAdmin.portalAdminsTableData">
67                                                         <tr>
68                                                                 <td b2b-table-body id="rowheader_t1_{{$index}}-firstName" headers="col1" ng-bind="rowData.firstName"></td>
69                                                                 <td b2b-table-body  id="rowheader_t1_{{$index}}-lastName" headers="rowheader_t1_{{$index}} col2" ng-bind="rowData.lastName"></td>
70                                                                 <td b2b-table-body  id="rowheader_t1_{{$index}}-loginId"  headers="rowheader_t1_{{$index}} col3" ng-bind="rowData.loginId"></td>
71                                                                 <td b2b-table-body  id="rowheader_t1_{{$index}}"  headers="rowheader_t1_{{$index}} col4">
72                                                                         <span id="{{$index}}-button-portal-admin-remove" class="icon-misc-trash" ng-click="portalAdmin.removePortalAdmin(rowData)"></span>
73                                                                 </td>                                                   
74                                                         </tr>
75                                                 </tbody>
76                                         </table>
77                                 </div>
78             </div>
79         </div>
80     </div>
81
82 </div>