summaryrefslogtreecommitdiffstats
path: root/usecaseui-common/src/main/webapp/app/fusion/scripts/DS2-view-models/ds2-admin/usage.html
diff options
context:
space:
mode:
authorshentao <shentao@chinamobile.com>2017-09-01 11:57:47 +0800
committershentao <shentao@chinamobile.com>2017-09-01 11:57:58 +0800
commit57dbba269d19bc59fad89160200bb2dbcccb9003 (patch)
treed466041ceffa2161124ca79a48b3e077777c74b8 /usecaseui-common/src/main/webapp/app/fusion/scripts/DS2-view-models/ds2-admin/usage.html
parent4ff32341a0af1972b44a7410e76e9b231131e7ab (diff)
Upload Monitor function code
Change-Id: I33ad76221b4cb771a298ff240245fc24be664efb Issue-Id: USECASEUI-6 Signed-off-by: shentao <shentao@chinamobile.com>
Diffstat (limited to 'usecaseui-common/src/main/webapp/app/fusion/scripts/DS2-view-models/ds2-admin/usage.html')
-rw-r--r--usecaseui-common/src/main/webapp/app/fusion/scripts/DS2-view-models/ds2-admin/usage.html43
1 files changed, 43 insertions, 0 deletions
diff --git a/usecaseui-common/src/main/webapp/app/fusion/scripts/DS2-view-models/ds2-admin/usage.html b/usecaseui-common/src/main/webapp/app/fusion/scripts/DS2-view-models/ds2-admin/usage.html
new file mode 100644
index 00000000..8e411141
--- /dev/null
+++ b/usecaseui-common/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