summaryrefslogtreecommitdiffstats
path: root/ecomp-sdk/epsdk-app-overlay/src/main/webapp/app/fusion/scripts/DS2-view-models/ds2-admin/usage.html
diff options
context:
space:
mode:
Diffstat (limited to 'ecomp-sdk/epsdk-app-overlay/src/main/webapp/app/fusion/scripts/DS2-view-models/ds2-admin/usage.html')
-rw-r--r--ecomp-sdk/epsdk-app-overlay/src/main/webapp/app/fusion/scripts/DS2-view-models/ds2-admin/usage.html43
1 files changed, 43 insertions, 0 deletions
diff --git a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/app/fusion/scripts/DS2-view-models/ds2-admin/usage.html b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/app/fusion/scripts/DS2-view-models/ds2-admin/usage.html
new file mode 100644
index 00000000..8e411141
--- /dev/null
+++ b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/app/fusion/scripts/DS2-view-models/ds2-admin/usage.html
@@ -0,0 +1,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> \ No newline at end of file