2020-06-03 17:36:46 -05:00
|
|
|
<main>
|
|
|
|
<div class="container">
|
|
|
|
<script>Admin.Overview(host);</script>
|
2016-03-04 10:06:28 -06:00
|
|
|
|
2020-06-03 17:36:46 -05:00
|
|
|
<h3 class="title is-3"><script>document.write(l10nstrings.strDashboard)</script></h3>
|
2016-03-04 10:06:28 -06:00
|
|
|
|
2020-06-03 17:36:46 -05:00
|
|
|
<div class="tile is-ancestor has-text-centered">
|
|
|
|
<div class="tile is-parent">
|
|
|
|
<div class="tile is-child has-text-centered">
|
|
|
|
<p class="heading"><script>document.write(l10nstrings.strUsersOnline)</script></p>
|
|
|
|
<p class="title" id="active_users_count">0</p>
|
2016-03-20 08:56:20 -05:00
|
|
|
</div>
|
2020-06-03 17:36:46 -05:00
|
|
|
</div>
|
|
|
|
<div class="tile is-parent">
|
|
|
|
<div class="tile is-child has-text-centered">
|
|
|
|
<p class="heading"><script>document.write(l10nstrings.strDocumentsOpened)</script></p>
|
|
|
|
<p class="title" id="active_docs_count">0</p>
|
2016-03-20 08:56:20 -05:00
|
|
|
</div>
|
2016-03-04 10:06:28 -06:00
|
|
|
</div>
|
2020-06-03 17:36:46 -05:00
|
|
|
<div class="tile is-parent">
|
|
|
|
<div class="tile is-child has-text-centered">
|
|
|
|
<p class="heading"><script>document.write(l10nstrings.strMemoryConsumed)</script></p>
|
|
|
|
<p class="title" id="mem_consumed">0</p>
|
2016-03-20 08:56:20 -05:00
|
|
|
</div>
|
2020-06-03 17:36:46 -05:00
|
|
|
</div>
|
|
|
|
<div class="tile is-parent">
|
|
|
|
<div class="tile is-child has-text-centered">
|
|
|
|
<p class="heading"><script>document.write(l10nstrings.strSentBytes)</script></p>
|
|
|
|
<p class="title" id="sent_bytes">0</p>
|
2017-05-25 03:54:09 -05:00
|
|
|
</div>
|
2020-06-03 17:36:46 -05:00
|
|
|
</div>
|
|
|
|
<div class="tile is-parent">
|
|
|
|
<div class="tile is-child has-text-centered">
|
|
|
|
<p class="heading"><script>document.write(l10nstrings.strRecvBytes)</script></p>
|
|
|
|
<p class="title" id="recv_bytes">0</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="tile is-parent">
|
|
|
|
<div class="tile is-child has-text-centered">
|
|
|
|
<p class="heading"><script>document.write(l10nstrings.strServerUptime)</script></p>
|
|
|
|
<p class="title" id="uptime">0</p>
|
2017-05-25 03:54:09 -05:00
|
|
|
</div>
|
2016-03-04 10:06:28 -06:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2020-06-03 17:36:46 -05:00
|
|
|
<div class="tabs">
|
|
|
|
<ul>
|
|
|
|
<li id="tab-documents-opened" class="is-active"><a><script>document.write(l10nstrings.strDocumentsOpened)</script></a></li>
|
|
|
|
<li id="tab-users-online"><a><script>document.write(l10nstrings.strUsersOnline)</script></a></li>
|
2016-03-20 08:56:20 -05:00
|
|
|
</ul>
|
|
|
|
</div>
|
2020-06-03 17:36:46 -05:00
|
|
|
|
|
|
|
<div class="table-container is-fullwidth" id="tab-content-documents-opened" style="display:grid;">
|
|
|
|
<table id="docview" class="table is-fullwidth is-striped is-hoverable is-bordered">
|
|
|
|
<thead>
|
2020-07-18 12:14:04 -05:00
|
|
|
<tr style="height:40px;">
|
|
|
|
<th></th><!--This header doesn't need text, this column will hold session closer buttons.-->
|
|
|
|
<th class="has-text-centered"><script>document.write(l10nstrings.strViewers)</script></th>
|
2020-06-03 17:36:46 -05:00
|
|
|
<th class="has-text-centered"><script>document.write(l10nstrings.strPid)</script></th>
|
|
|
|
<th class="has-text-centered"><script>document.write(l10nstrings.strDocument)</script></th>
|
|
|
|
<th class="has-text-centered"><script>document.write(l10nstrings.strMemoryConsumed)</script></th>
|
|
|
|
<th class="has-text-centered"><script>document.write(l10nstrings.strElapsedTime)</script></th>
|
|
|
|
<th class="has-text-centered"><script>document.write(l10nstrings.strIdleTime)</script></th>
|
|
|
|
<th class="has-text-centered"><script>document.write(l10nstrings.strModified)</script></th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody id="doclist"></tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="table-container is-fullwidth" id="tab-content-users-online" style="display:none;">
|
|
|
|
<table id="userview" class="table is-bordered is-hoverable is-striped is-fullwidth">
|
|
|
|
<thead>
|
2020-07-18 12:14:04 -05:00
|
|
|
<tr style="height:40px;">
|
2020-06-03 17:36:46 -05:00
|
|
|
<th class="has-text-centered"><script>document.write(l10nstrings.strUserName)</script></th>
|
|
|
|
<th class="has-text-centered"><script>document.write(l10nstrings.strDocumentNumber)</script></th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody id="userlist"></tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</main>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
document.getElementById('a-overwiew-mobile').classList.add('is-active');
|
|
|
|
document.getElementById('a-overwiew-tablet').classList.add('is-active');
|
|
|
|
|
|
|
|
document.getElementById('tab-documents-opened').onclick = function() {
|
|
|
|
document.getElementById('tab-documents-opened').className = 'is-active';
|
|
|
|
document.getElementById('tab-users-online').className = '';
|
|
|
|
document.getElementById('tab-content-documents-opened').style.display = 'grid';
|
|
|
|
document.getElementById('tab-content-users-online').style.display = 'none';
|
|
|
|
}
|
|
|
|
|
|
|
|
document.getElementById('tab-users-online').onclick = function() {
|
|
|
|
document.getElementById('tab-users-online').className = 'is-active';
|
|
|
|
document.getElementById('tab-documents-opened').className = '';
|
|
|
|
document.getElementById('tab-content-users-online').style.display = 'grid';
|
|
|
|
document.getElementById('tab-content-documents-opened').style.display = 'none';
|
|
|
|
}
|
|
|
|
</script>
|