<% include partials/header.ejs %>
Name |
Country |
IP |
Device |
Last Seen |
Manage |
<% clientsOnline.forEach((item) => {
let lsdate = new Date(item.lastSeen);
let flagCss = (item.dynamicData.clientGeo.country !== undefined) ? ('flag ' + item.dynamicData.clientGeo.country).toLowerCase() : 'icon question mark'
let deviceStr = '';
deviceStr += (item.dynamicData.device.manufacture !== undefined) ? item.dynamicData.device.manufacture : '';
deviceStr += (item.dynamicData.device.model !== undefined) ? ' (' + item.dynamicData.device.model + ')' : '';
%>
<%= item.clientID %>
|
|
<%= item.dynamicData.clientIP %>
|
<%= deviceStr %>
|
<%= lsdate.toLocaleString('en-GB', { timeZone: 'UTC' }) %>
|
Manage
|
<% }) %>
Name |
Country |
IP |
Device |
Last Seen |
Manage |
<% clientsOffline.forEach((item) => {
let lsdate = new Date(item.lastSeen);
let flagCss = (item.dynamicData.clientGeo.country !== undefined) ? ('flag ' + item.dynamicData.clientGeo.country).toLowerCase() : 'icon question mark'
let deviceStr = '';
deviceStr += (item.dynamicData.device.manufacture !== undefined) ? item.dynamicData.device.manufacture : '';
deviceStr += (item.dynamicData.device.model !== undefined) ? ' (' + item.dynamicData.device.model + ')' : '';
%>
<%= item.clientID %>
|
|
<%= item.dynamicData.clientIP %>
|
<%= deviceStr %>
|
<%= lsdate.toLocaleString('en-GB', { timeZone: 'UTC' }) %>
|
Manage
|
<% }) %>
<% include partials/footer.ejs %>