mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-02-12 11:01:52 +00:00
add OS Descripton to Details #6556
Signed-off-by: si458 <simonsmith5521@gmail.com>
This commit is contained in:
parent
39e81befe1
commit
a33047747a
4 changed files with 1778 additions and 1774 deletions
File diff suppressed because it is too large
Load diff
|
@ -6180,6 +6180,7 @@
|
||||||
// Operating System
|
// Operating System
|
||||||
var x = '';
|
var x = '';
|
||||||
if (node.rname) { x += addDetailItem("Name", EscapeHtml(node.rname), s); }
|
if (node.rname) { x += addDetailItem("Name", EscapeHtml(node.rname), s); }
|
||||||
|
if (hardware.windows && hardware.windows.osinfo && hardware.windows.osinfo.Description) { x += addDetailItem("Description", EscapeHtml(hardware.windows.osinfo.Description), s); }
|
||||||
if (node.osdesc) { x += addDetailItem("Version", EscapeHtml(node.osdesc), s); }
|
if (node.osdesc) { x += addDetailItem("Version", EscapeHtml(node.osdesc), s); }
|
||||||
if (hardware.windows && hardware.windows.osinfo) {
|
if (hardware.windows && hardware.windows.osinfo) {
|
||||||
var m = hardware.windows.osinfo;
|
var m = hardware.windows.osinfo;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en" dir="ltr" xmlns="http://www.w3.org/1999/xhtml">
|
<html lang="en" dir="ltr" xmlns="http://www.w3.org/1999/xhtml">
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
|
@ -12056,6 +12056,7 @@
|
||||||
// Operating System
|
// Operating System
|
||||||
var x = '';
|
var x = '';
|
||||||
if (node.rname) { x += addDetailItem("Name", EscapeHtml(node.rname), s); }
|
if (node.rname) { x += addDetailItem("Name", EscapeHtml(node.rname), s); }
|
||||||
|
if (hardware.windows && hardware.windows.osinfo && hardware.windows.osinfo.Description) { x += addDetailItem("Description", EscapeHtml(hardware.windows.osinfo.Description), s); }
|
||||||
if (node.osdesc) { x += addDetailItem("Version", EscapeHtml(node.osdesc), s); }
|
if (node.osdesc) { x += addDetailItem("Version", EscapeHtml(node.osdesc), s); }
|
||||||
if (hardware.windows && hardware.windows.osinfo) {
|
if (hardware.windows && hardware.windows.osinfo) {
|
||||||
var m = hardware.windows.osinfo;
|
var m = hardware.windows.osinfo;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en" dir="ltr" xmlns="http://www.w3.org/1999/xhtml">
|
<html lang="en" dir="ltr" xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
|
@ -13157,6 +13157,7 @@
|
||||||
// Operating System
|
// Operating System
|
||||||
var x = '';
|
var x = '';
|
||||||
if (node.rname) { x += addDetailItem("Name", EscapeHtml(node.rname), s); }
|
if (node.rname) { x += addDetailItem("Name", EscapeHtml(node.rname), s); }
|
||||||
|
if (hardware.windows && hardware.windows.osinfo && hardware.windows.osinfo.Description) { x += addDetailItem("Description", EscapeHtml(hardware.windows.osinfo.Description), s); }
|
||||||
if (node.osdesc) { x += addDetailItem("Version", EscapeHtml(node.osdesc), s); }
|
if (node.osdesc) { x += addDetailItem("Version", EscapeHtml(node.osdesc), s); }
|
||||||
if (hardware.windows && hardware.windows.osinfo) {
|
if (hardware.windows && hardware.windows.osinfo) {
|
||||||
var m = hardware.windows.osinfo;
|
var m = hardware.windows.osinfo;
|
||||||
|
|
Loading…
Reference in a new issue