[PORTAL-7] Rebase
[portal.git] / ecomp-portal-FE-os / client / src / directives / right-menu / right-menu.tpl.html
1 <!--
2   ================================================================================
3   eCOMP Portal
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 id="ecomp-right-sidebar-container" class="ecomp-sidebar-container" ng-class="isOpen ? 'open-sidebar': 'close-sidebar'">
21     <div id="online-userbar" class="ecomp-sidebar-main" style="right: 0px; width:75px; padding:0px;" >
22         <div class="online-user-container" id="online-user-container" style="margin-top:45px; overflow-y:auto; overflow-x:hidden">
23                 <div class="ecomp-right-sidebar-title">Online Users</div>
24             <div ng-repeat="user in userList">
25                 <div class="child-row" style="height:85px;">
26                                         <div>
27                                                 <a href="javascript:void(0)" ng-click="openInNewTab(user.linkQ)" ><img class="activeUserIcon" ng-src="assets/images/photo.png"  alt="User Link" ></a>
28                                                 <div style="font-family: Arial; font-size:10px; text-align: center;" >{{user.userId}}</div>
29                                         </div>
30                                 </div>
31                         </div>
32         </div>
33     </div>    
34 </div>
35 <div id="user-sidebar-toggle" class="ecomp-right-sidebar-toggle"  ng-class="isOpen ? 'open-userbar-toggle': 'close-userbar-toggle'">
36         <div id="user-sidebar-toggle-button" class="ecomp-right-sidebar-toggle-btn">
37                 <button href="javascript:void(0)"  ng-click="toggleSidebar()" class="btn btn-alt btn-small">
38                         <span id="user-chevron-down" class="icon-chevron-down" ng-show="isOpen"></span>
39                         <span id="user-chevron-up" class="icon-chevron-up" ng-hide="isOpen"><span class="right-menu-button">Users</span></span>
40                 </button>
41         </div>
42 </div>