summaryrefslogtreecommitdiffstats
path: root/ecomp-sdk/epsdk-app-overlay/src/main/webapp/app/fusion/scripts/DS2-view-models/ds2-admin/usage.html
blob: 8e4111418c13d634cb2ea87407a6a8f0e0d5d675 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<div id="page-content">
	<div>
		<h1 class="heading-page" id="Usage">Current Usage</h1>
	</div>
    
    <h3 class="heading-small">
    	The following table shows all current user sessions. Click the icon to end a user's session.
    </h3>

	<!-- A simple table requires no b2b tags -->
	<table style="width: auto;">
	  	
	 	<thead>
	  		<tr>
	  			<th key="0" sortable="false" width="10%" align="center">User Id</th>
	  			<th key="1" sortable="true" width="10%" align="center">User Name</th>
	  			<th key="2" sortable="false" width="10%" align="center">Email</th>
	  			<th key="3" sortable="true" width="10%" align="center">Last Access Time (minutes)</th>
	  			<th key="4" sortable="false" width="10%" align="center">Time Remaining (minutes)</th>
	  			<th key="5" sortable="false" width="10%" align="center">Expire User Session?</th>
	  		</tr>
	  	</thead>
	  	
	  	<tbody ng-repeat="user in users" style="max-height: 980px;" >
		  <tr>
		    <td width="10%">{{user.id}}</td>
		    <td width="10%">{{user.lastName}}</td>
		    <td width="10%">{{user.email}}</td>
		    <td width="10%">{{user.lastAccess}}</td>
		    <td width="10%">{{user.remaining}}</td>
		    <td width="10%"><div ng-hide="user.delete=='yes'">Current Session</div>
		    	<div ng-click="removeSession(user.sessionId);" 
		    		ng-hide="user.delete=='no'" 
		    		style="font-size:20px;text-align:center">
		    		<a href="javascript:void(0)" class="icon-misc-trash"></a>
		    	</div>
		    </td>
		  </tr>
		</tbody>
		
	</table>

</div>