Initial OpenECOMP policy/engine commit
[policy/engine.git] / ecomp-sdk-app / src / main / webapp / app / fusion / scripts / view-models / profile-page / collaborate_list.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="collaborateListController">
21         <div>
22                 <h1 class="heading1" style="margin-top:20px;">User List</h1>
23                 <div style="margin-top:30px">
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 key="id">User ID</th>
29                                     <th att-table-header key="lastName">Last Name</th>        
30                                     <th att-table-header key="firstName">First Name</th>    
31                                     <th att-table-header key="email">Email</th>
32                                     <th att-table-header key="orgUserId">User ID</th>        
33                                     <th att-table-header key="online">Online/Offline</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']">{{rowData.id}}</td>
39                                 <td att-table-body ng-bind="rowData['lastName']">{{rowData.lastName}}</td>
40                                 <td att-table-body ng-bind="rowData['firstName']">{{rowData.firstName}}</td>
41                                 <td att-table-body ng-bind="rowData['email']">{{rowData.email}}</td>
42                                 <td att-table-body ng-bind="rowData['orgUserId']">{{rowData.orgUserId}}</td>
43                                         <td att-table-body >
44                                            <tag-badges ng-hide="rowData.online" style-type="color" class="lred" ng-click="rowData.isActive=true;openCollaboration(rowData.chatId)">Offline</tag-badges>
45                                                    <tag-badges ng-show="rowData.online" style-type="color" class="lgreen" ng-click="rowData.isActive=false;openCollaboration(rowData.chatId)">Online</tag-badges>                               
46                                    </td>
47                                 </tr>     
48                             </tbody>      
49                         </table>
50                 </div>
51         </div>  
52         <input ng-model="currentPage"></input>
53         
54         <a href="JavaScript:void(0);" style= "color:#00547A" onClick="window.open('https://chrome.google.com/webstore/detail/icgmlogfeajbfdffajhoebcfbibfhaen')" id="install-button">
55                 Add the Chrome Extension for DescktopCapture and refresh page</a>
56 </div>
57 <div id="peerBroadcastSection"></div>