diff --git a/meshuser.js b/meshuser.js index 0c7eae3b..ba6ed0f2 100644 --- a/meshuser.js +++ b/meshuser.js @@ -128,7 +128,7 @@ module.exports.CreateMeshUser = function (parent, db, ws, req, args, domain) { obj.db.getStats(function (data) { var os = require('os'); var stats = { action: 'serverstats', totalmem: os.totalmem(), freemem: os.freemem() }; - if (obj.parent.parent.platform != 'win32') { stats.cpuavg = os.loadavg(); } //else { stats.cpuavg = [ 0.2, 0.5, 0.6 ]; } + if (obj.parent.parent.platform != 'win32') { stats.cpuavg = os.loadavg(); } // else { stats.cpuavg = [ 0.2435345, 0.523234234, 0.6435345345 ]; } var serverStats = { "User Accounts": Object.keys(obj.parent.users).length, "Device Groups": Object.keys(obj.parent.meshes).length, "Connected Agents": Object.keys(obj.parent.wsagents).length, "Connected Users": Object.keys(obj.parent.wssessions2).length }; if (obj.parent.parent.mpsserver != null) { serverStats['Connected Intel® AMT'] = Object.keys(obj.parent.parent.mpsserver.ciraConnections).length; } stats.values = { "Server State": serverStats, "Database": { "Records": data.total, "Users": data.users, "Device Groups": data.meshes, "Devices": data.nodes, "Device NetInfo": data.nodeInterfaces, "Device Power Event": data.powerEvents, "Notes": data.notes, "Connection Records": data.connectEvents } } diff --git a/package.json b/package.json index 309a3450..14f26b6a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "meshcentral", - "version": "0.2.1-x", + "version": "0.2.1-z", "keywords": [ "Remote Management", "Intel AMT", diff --git a/public/images/views.png b/public/images/views.png index 97509091..72dd0105 100644 Binary files a/public/images/views.png and b/public/images/views.png differ diff --git a/public/styles/style.css b/public/styles/style.css index df4790d6..1c038a91 100644 --- a/public/styles/style.css +++ b/public/styles/style.css @@ -674,6 +674,29 @@ a { width: 28px; } +.backButtonEx { + margin-left:2px; + margin-top:2px; + background: url(../images/views.png) -140px 0px; + height: 28px; + width: 28px; +} + +.backButton { + width:32px; + height:32px; + background-color:#DDD; + border-radius:3px; + float:left; + margin-right:5px; + cursor: pointer; + opacity: 0.3; +} + .backButton:hover { + opacity: 0.5; + background-color:#AAA; + } + .hoverButton { opacity: 0.5; } diff --git a/views/default-min.handlebars b/views/default-min.handlebars index df24f6d9..da777d99 100644 --- a/views/default-min.handlebars +++ b/views/default-min.handlebars @@ -1 +1 @@ -
{{{logoutControl}}}
My Devices | My Account | My Events | My Files |
{{{logoutControl}}}
My Devices | My Account | My Events | My Files |
-
+
+
@@ -385,6 +386,7 @@
General - |