Initial OpenECOMP policy/engine commit
[policy/engine.git] / ecomp-sdk-app / src / main / webapp / app / fusionapp / scripts / view-models / sample.html
1 <!--
2   ================================================================================
3   eCOMP Portal SDK
4   ================================================================================
5   Copyright (C) 2017 AT&T Intellectual Property
6   ================================================================================
7   Licensed under the Apache License, Version 2.0 (the "License");
8   you may not use this file except in compliance with the License.
9   You may obtain a copy of the License at
10   
11        http://www.apache.org/licenses/LICENSE-2.0
12   
13   Unless required by applicable law or agreed to in writing, software
14   distributed under the License is distributed on an "AS IS" BASIS,
15   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16   See the License for the specific language governing permissions and
17   limitations under the License.
18   ================================================================================
19   -->
20 <div ng-controller="samplePageController">
21         
22                 <h1 class="heading1" style="margin-top:10px;">Profile Search</h1>
23                 
24                 <table att-table table-data="tableData" view-per-page="viewPerPage" current-page="currentPage" search-category="searchCategory" search-string="searchString" total-page="totalPage">
25
26                             <thead  att-table-row type="header">
27                                         <tr>
28                                                 <th att-table-header sortable="true" key="id">User ID</th>
29                                     <th att-table-header sortable="true" key="lastName">Last Name</th>        
30                                     <th att-table-header sortable="true" key="firstName">First Name</th>    
31                                     <th att-table-header sortable="true" key="email">Email</th>
32                                     <th att-table-header sortable="true" key="orgUserId">User ID</th>        
33                                     <th att-table-header sortable="true" key="org_manager_userid">Manager User ID</th>      
34                                 </tr>
35                             </thead>
36                             <tbody att-table-row type="body" row-repeat="rowData in tableData">
37                                 <tr>
38                                 <td att-table-body ng-bind="rowData['id']"></td>
39                                 <td att-table-body ng-bind="rowData['lastName']"></td>
40                                 <td att-table-body ng-bind="rowData['firstName']"></td>
41                                 <td att-table-body ng-bind="rowData['email']"></td>
42                                 <td att-table-body ng-bind="rowData['orgUserId']"></td>
43                                 <td att-table-body ng-bind="rowData['managerId']"></td>
44                                 </tr>     
45                             </tbody>      
46         </table>
47         
48         <div class="fn-ebz-container">
49                   Rows Per Page:
50                   <input class="fn-ebz-text" readonly type="text" ng-model="viewPerPage" size="5" style="width: 47px;">
51     </div>
52         <div class="fn-ebz-container">
53                   Current Page:
54                   <input class="fn-ebz-text" type="text" ng-model="currentPageNum" size="5" style="width: 47px;">
55     </div>
56     <div class="fn-ebz-container">
57                   Total Page(s):
58                   <input class="fn-ebz-text" type="text" ng-model="totalPages" size="5" readonly="true" style="width: 47px;">
59     </div>
60 </div>