Security/ Package Name changes
[portal.git] / ecomp-portal-FE-common / client / app / views / admins / admins.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-admins-page-main">
39     <div class="admins-home-container" id="page-content">
40             <div id="title" class="w-ecomp-main-view-title">
41                                 <h1 class="heading-page" >Admins</h1>
42                         </div>
43             <div class="admins-table">
44                 <div class="table-control">
45                          <div class="table-control-fields">             
46                                                 <div class="table-dropdown">
47                                                         <select id="dropdown1" name="dropdown1" b2b-dropdown ng-model="admins.filterByApp.value">
48                                                 <option b2b-dropdown-list option-repeat="d in admins.availableApps" value="{{d.value}}">{{d.title}}</option>
49                                             </select>
50                                                 </div>
51                                                 <div >
52                                                         <input id="input-table-search" placeholder="Search in entire table" class="table-search-field" type="text" data-ng-model="admins.searchString">
53                                                 </div>
54                                                 <button class="btn btn-alt btn-small" id="admin-button-add"  ng-click="admins.openAddNewAdminModal()"><i class="icon-people-userbookmark" aria-hidden="true"></i>&nbsp;Add Admin</button> 
55                                         </div>                  
56                 </div>
57                 <span class="ecomp-spinner" ng-show="admins.isLoadingTable"></span>
58                 <div b2b-table table-data="admins.adminsTableData"  ng-hide="admins.isLoadingTable"     search-string="admins.searchString" class="b2b-table-div">
59                                         <table>
60                                                 <thead b2b-table-row type="header">
61                                                         <tr >
62                                                                 <th b2b-table-header key="firstName" sortable="true" id="col1" default-sort="a">First Name</th>
63                                                                 <th b2b-table-header key="lastName" sortable="true" id="col2">Last Name</th>
64                                                                 <th b2b-table-header key="orgUserId" sortable="true" id="col3">User ID</th>
65                                                                 <th b2b-table-header key="" sortable="falses" id="col4">Applications</th>
66                                                         </tr>
67                                                 </thead>
68                                                 <tbody b2b-table-row type="body"        row-repeat="rowData in admins.adminsTableData | filter: admins.portalsRowFilter" class="table-admins-div">
69                                                         <tr ng-click="admins.openAddNewAdminModal(rowData)"  >
70                                                                 <td b2b-table-body id="rowheader_t1_{{$index}}" headers="col1" ng-bind="rowData.firstName"></td>
71                                                                 <td b2b-table-body headers="rowheader_t1_{{$index}} col2" ng-bind="rowData.lastName"></td>
72                                                                 <td b2b-table-body headers="rowheader_t1_{{$index}} col3" ng-bind="rowData.orgUserId"></td>
73                                                                 <td b2b-table-body headers="rowheader_t1_{{$index}} col4">
74                                                                         <div class="ecomp-table-repeat" ng-repeat="app in rowData.apps" ng-bind="app.appName"></div>
75                                                                 </td>                                                   
76                                                         </tr>
77                                                 </tbody>
78                                         </table>
79                                 </div>
80             </div>
81         </div>
82     </div>
83
84 </div>