Initial OpenECOMP policy/engine commit
[policy/engine.git] / ecomp-sdk-app / src / main / webapp / app / fusionapp / scripts / view-models / sample.html
diff --git a/ecomp-sdk-app/src/main/webapp/app/fusionapp/scripts/view-models/sample.html b/ecomp-sdk-app/src/main/webapp/app/fusionapp/scripts/view-models/sample.html
new file mode 100644 (file)
index 0000000..5b555aa
--- /dev/null
@@ -0,0 +1,60 @@
+<!--
+  ================================================================================
+  eCOMP Portal SDK
+  ================================================================================
+  Copyright (C) 2017 AT&T Intellectual Property
+  ================================================================================
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+  
+       http://www.apache.org/licenses/LICENSE-2.0
+  
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+  ================================================================================
+  -->
+<div ng-controller="samplePageController">
+       
+               <h1 class="heading1" style="margin-top:10px;">Profile Search</h1>
+               
+               <table att-table table-data="tableData" view-per-page="viewPerPage" current-page="currentPage" search-category="searchCategory" search-string="searchString" total-page="totalPage">
+
+                           <thead  att-table-row type="header">
+                                       <tr>
+                                               <th att-table-header sortable="true" key="id">User ID</th>
+                                   <th att-table-header sortable="true" key="lastName">Last Name</th>        
+                                   <th att-table-header sortable="true" key="firstName">First Name</th>    
+                                   <th att-table-header sortable="true" key="email">Email</th>
+                                   <th att-table-header sortable="true" key="orgUserId">User ID</th>        
+                                   <th att-table-header sortable="true" key="org_manager_userid">Manager User ID</th>      
+                               </tr>
+                           </thead>
+                           <tbody att-table-row type="body" row-repeat="rowData in tableData">
+                               <tr>
+                               <td att-table-body ng-bind="rowData['id']"></td>
+                               <td att-table-body ng-bind="rowData['lastName']"></td>
+                               <td att-table-body ng-bind="rowData['firstName']"></td>
+                               <td att-table-body ng-bind="rowData['email']"></td>
+                               <td att-table-body ng-bind="rowData['orgUserId']"></td>
+                               <td att-table-body ng-bind="rowData['managerId']"></td>
+                               </tr>     
+                           </tbody>      
+       </table>
+       
+       <div class="fn-ebz-container">
+                 Rows Per Page:
+                 <input class="fn-ebz-text" readonly type="text" ng-model="viewPerPage" size="5" style="width: 47px;">
+    </div>
+       <div class="fn-ebz-container">
+                 Current Page:
+                 <input class="fn-ebz-text" type="text" ng-model="currentPageNum" size="5" style="width: 47px;">
+    </div>
+    <div class="fn-ebz-container">
+                 Total Page(s):
+                 <input class="fn-ebz-text" type="text" ng-model="totalPages" size="5" readonly="true" style="width: 47px;">
+    </div>
+</div>