mirror of
https://github.com/RaspAP/raspap-webgui.git
synced 2024-11-21 23:20:22 +00:00
Display os + kernel info on system > basic tab
This commit is contained in:
parent
b5886882ee
commit
affc0396f1
2 changed files with 10 additions and 0 deletions
|
@ -159,6 +159,8 @@ function DisplaySystem()
|
|||
$hostname = $system->hostname();
|
||||
$uptime = $system->uptime();
|
||||
$cores = $system->processorCount();
|
||||
$os = $system->operatingSystem();
|
||||
$kernel = $system->kernelVersion();
|
||||
|
||||
// mem used
|
||||
$memused = $system->usedMemory();
|
||||
|
@ -215,6 +217,8 @@ function DisplaySystem()
|
|||
"hostname",
|
||||
"uptime",
|
||||
"cores",
|
||||
"os",
|
||||
"kernel",
|
||||
"memused",
|
||||
"memused_status",
|
||||
"memused_led",
|
||||
|
|
|
@ -16,6 +16,12 @@ include('includes/sysstats.php');
|
|||
<div class="row mb-1">
|
||||
<div class="info-item col-xs-3"><?php echo _("Pi Revision"); ?></div><div class="info-value col-xs-3"><?php echo htmlspecialchars(RPiVersion(), ENT_QUOTES); ?></div>
|
||||
</div>
|
||||
<div class="row mb-1">
|
||||
<div class="info-item col-xs-3"><?php echo _("OS"); ?></div><div class="info-value col-xs-3"><?php echo htmlspecialchars($os, ENT_QUOTES); ?></div>
|
||||
</div>
|
||||
<div class="row mb-1">
|
||||
<div class="info-item col-xs-3"><?php echo _("Kernel"); ?></div><div class="info-value col-xs-3"><?php echo htmlspecialchars($kernel, ENT_QUOTES); ?></div>
|
||||
</div>
|
||||
<div class="row mb-1">
|
||||
<div class="info-item col-xs-3"><?php echo _("Uptime"); ?></div><div class="info-value col-xs-3"><?php echo htmlspecialchars($uptime, ENT_QUOTES); ?></div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue