From 6f79d30518aaa651d4982837c15bd5cdceae8c8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Wed, 12 Jun 2024 22:57:43 -0400 Subject: [PATCH] fix: info.tpl table --- src/views/admin/development/info.tpl | 88 ++++++++++++++-------------- 1 file changed, 44 insertions(+), 44 deletions(-) diff --git a/src/views/admin/development/info.tpl b/src/views/admin/development/info.tpl index 281631bfb2..493e16ac93 100644 --- a/src/views/admin/development/info.tpl +++ b/src/views/admin/development/info.tpl @@ -6,52 +6,52 @@
[[admin/development/info:nodes-responded, {nodeCount}, {timeout}]] - - - +
+
+ + + + + + + + + + + + + + + + {{{ each info }}} - - - - - - - - - - + + + + + + + + + + - - - {{{ each info }}} - - - - - - - - - - - - - {{{ end }}} - -
[[admin/development/info:host]][[admin/development/info:primary]][[admin/development/info:nodejs]][[admin/development/info:online]][[admin/development/info:git]][[admin/development/info:cpu-usage]][[admin/development/info:process-memory]][[admin/development/info:system-memory]][[admin/development/info:load]][[admin/development/info:uptime]]
[[admin/development/info:host]][[admin/development/info:primary]][[admin/development/info:nodejs]][[admin/development/info:online]][[admin/development/info:git]][[admin/development/info:cpu-usage]][[admin/development/info:process-memory]][[admin/development/info:system-memory]][[admin/development/info:load]][[admin/development/info:uptime]]{info.os.hostname}:{info.process.port} + {{{if info.nodebb.isPrimary}}}{{{else}}}{{{end}}} / + {{{if info.nodebb.runJobs}}}{{{else}}}{{{end}}} + {info.process.version} + {info.stats.onlineRegisteredCount} / + {info.stats.onlineGuestCount} / + {info.stats.socketCount} / + {info.stats.connectionCount} + {info.git.branch}@{info.git.hashShort}{info.process.cpuUsage}% + {info.process.memoryUsage.humanReadable} gb + + {info.os.usedmem} gb / + {info.os.totalmem} gb + {info.os.load}{info.process.uptimeHumanReadable}
{info.os.hostname}:{info.process.port} - {{{if info.nodebb.isPrimary}}}{{{else}}}{{{end}}} / - {{{if info.nodebb.runJobs}}}{{{else}}}{{{end}}} - {info.process.version} - {info.stats.onlineRegisteredCount} / - {info.stats.onlineGuestCount} / - {info.stats.socketCount} / - {info.stats.connectionCount} - {info.git.branch}@{info.git.hashShort}{info.process.cpuUsage}% - {info.process.memoryUsage.humanReadable} gb - - {info.os.usedmem} gb / - {info.os.totalmem} gb - {info.os.load}{info.process.uptimeHumanReadable}
+ {{{ end }}} + +