* Mon May 12 2025 Brian Read <brianr@koozali.org> 11.0.0-1.sme
- Adding SM2 panel [SME: 13004] - Upgrade to phpsysinfo 3.4.4 - Add code to delete inline styles and add css to make it look better. - version saved / built uses the static version, which means no drops downs and choices.
This commit is contained in:
@@ -5,27 +5,27 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<meta http-equiv="Content-Style-Type" content="text/css" />
|
||||
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
||||
<meta name="Description" content="phpSysInfo is a customizable PHP Script that parses /proc, and formats information nicely. It will display information about system facts like Uptime, CPU, Memory, PCI devices, SCSI devices, IDE devices, Network adapters, Disk usage, and more." />
|
||||
<meta http-equiv="Content-Security-Policy" content="default-src 'unsafe-inline' 'unsafe-eval' 'self'" />
|
||||
<meta name="Description" content="phpSysInfo is a customizable PHP script that displays information about your system nicely" />
|
||||
<noscript>
|
||||
<meta http-equiv="refresh" content="2; URL=index.php?disp=static" />
|
||||
</noscript>
|
||||
<link rel="shortcut icon" href="gfx/favicon.png" />
|
||||
<link type="text/css" rel="stylesheet" href="./templates/<?php echo $template ?>.css" title="PSI_Template"/>
|
||||
<link rel="shortcut icon" href="gfx/favicon.gif" />
|
||||
<link type="text/css" rel="stylesheet" href="./templates/misc/emptyfile.css" title="PSI_Template" />
|
||||
<link type="text/css" rel="stylesheet" href="./templates/plugin/nyroModal.full.css" />
|
||||
<link type="text/css" rel="stylesheet" href="./templates/plugin/jquery.jgrowl.css" />
|
||||
<link type="text/css" rel="stylesheet" href="./templates/plugin/jquery.dataTables.css" />
|
||||
<link type="text/css" rel="stylesheet" href="./templates/plugin/jquery.treeTable.css" />
|
||||
<!--[if lt IE 9]>
|
||||
<script type="text/JavaScript" src="./js.php?name=jquery-1"></script>
|
||||
<![endif]-->
|
||||
<!--[if gte IE 9]><!-->
|
||||
|
||||
<script type="text/JavaScript" src="./js.php?name=jquery"></script>
|
||||
<!--<![endif]-->
|
||||
<script type="text/JavaScript" src="./js.php?name=jquery.dataTables"></script>
|
||||
<script type="text/JavaScript" src="./js.php?name=jquery.nyroModal"></script>
|
||||
<script type="text/JavaScript" src="./js.php?name=jquery.jgrowl"></script>
|
||||
<script type="text/JavaScript" src="./js.php?name=jquery.timers"></script>
|
||||
<script type="text/JavaScript" src="./js.php?name=jquery.timer"></script>
|
||||
<script type="text/JavaScript" src="./js.php?name=jquery.treeTable"></script>
|
||||
<!--[if lte IE 6]>
|
||||
<script type="text/JavaScript" src="./js.php?name=jquery.ifixpng"></script>
|
||||
<![endif]-->
|
||||
<script type="text/JavaScript" src="./js.php?name=phpsysinfo"></script>
|
||||
<?php foreach (CommonFunctions::getPlugins() as $plugin) : ?>
|
||||
<?php if (file_exists("./plugins/".$plugin."/css/".$plugin.".css")) : ?>
|
||||
@@ -36,9 +36,22 @@
|
||||
<title>phpSysInfo <?php echo PSI_VERSION_STRING ?></title>
|
||||
</head>
|
||||
<body>
|
||||
<input type="hidden" id="showCPUListExpanded" value="<?php echo $showCPUListExpanded;?>"/>
|
||||
<input type="hidden" id="showCPUInfoExpanded" value="<?php echo $showCPUInfoExpanded;?>"/>
|
||||
<input type="hidden" id="showNetworkInfosExpanded" value="<?php echo $showNetworkInfosExpanded;?>"/>
|
||||
<input type="hidden" id="showMemoryInfosExpanded" value="<?php echo $showMemoryInfosExpanded;?>"/>
|
||||
<input type="hidden" id="showNetworkActiveSpeed" value="<?php echo $showNetworkActiveSpeed;?>"/>
|
||||
<input type="hidden" id="showCPULoadCompact" value="<?php echo $showCPULoadCompact;?>"/>
|
||||
<input type="hidden" id="hideTotals" value="<?php echo $hideTotals;?>"/>
|
||||
<input type="hidden" id="increaseWidth" value="<?php echo $increaseWidth;?>"/>
|
||||
<input type="hidden" id="blocks" value="<?php echo $blocks;?>"/>
|
||||
<div id="loader">
|
||||
<h1>Loading... please wait!</h1>
|
||||
<div id="container2">
|
||||
<h1>
|
||||
<a href="#errors" class="nyroModal">
|
||||
<img id="loadwarn" style="vertical-align: middle; display:none; border:0px; width:32px;" src="./gfx/attention.gif" title="errors" alt="errors" />
|
||||
</a>
|
||||
Loading... please wait!</h1>
|
||||
<div id="container">
|
||||
<noscript>
|
||||
<p>Your navigator does not support JavaScript (or JavaScript is not activated).</p>
|
||||
<p>In approximatively 2 seconds you will be redirected to the static version of phpSysInfo.</p>
|
||||
@@ -47,186 +60,220 @@
|
||||
</noscript>
|
||||
</div>
|
||||
</div>
|
||||
<div id="errors" style="display: none; width: 940px">
|
||||
<div id="errors" style="display:none; width:940px">
|
||||
<div id="errorlist">
|
||||
<h2>Oh, I'm sorry. Something seems to be wrong.</h2>
|
||||
</div>
|
||||
</div>
|
||||
<div id="container" style="display: none;">
|
||||
<div id="output" style="display:none;">
|
||||
<h1>
|
||||
<a href="#errors" class="nyroModal">
|
||||
<img id="warn" style="vertical-align: middle; display:none; border:0px;" src="./gfx/attention.png" alt="warning" />
|
||||
<img id="warn" style="vertical-align: middle; display:none; border:0px; width:32px;" src="./gfx/attention.gif" title="errors" alt="errors" />
|
||||
</a>
|
||||
<span id="title">
|
||||
<span id="lang_001">System information</span>
|
||||
<span class="lang_001">System information</span>
|
||||
: <span id="s_hostname_title"></span>
|
||||
(<span id="s_ip_title"></span>)
|
||||
</span>
|
||||
</h1>
|
||||
<div id="select">
|
||||
<span id="lang_044">Template</span>
|
||||
<select id="template" name="template">
|
||||
<?php foreach ($templates as $t) :
|
||||
$selected = "";
|
||||
if ($template === $t) {
|
||||
$selected = " selected=\"selected\"";
|
||||
}
|
||||
<span class="lang_044" style="display:none;">Template</span>
|
||||
<select id="template" name="template" style="display:none;">
|
||||
<?php
|
||||
if ($picktemplate) {
|
||||
foreach ($templates as $t) :
|
||||
$selected = "";
|
||||
if ($template === $t) {
|
||||
$selected = " selected=\"selected\"";
|
||||
}
|
||||
echo " <option value=\"".$t."\"".$selected.">".$t."</option>\n";
|
||||
endforeach;
|
||||
} else {
|
||||
echo " <option value=\"".$template."\" selected=\"selected\">".$template."</option>\n";
|
||||
}
|
||||
?>
|
||||
<option value="<?php echo $t ?>"<?php echo $selected ?>><?php echo $t ?></option>
|
||||
<?php endforeach; ?>
|
||||
</select>
|
||||
<span id="lang_045">Language</span>
|
||||
<select id="lang" name="lang">
|
||||
<?php foreach ($languages as $l) :
|
||||
$selected = "";
|
||||
if ($language === $l) {
|
||||
$selected = " selected=\"selected\"";
|
||||
}
|
||||
<span class="lang_045" style="display:none;">Language</span>
|
||||
<select id="language" name="language" style="display:none;">
|
||||
<?php
|
||||
if ($picklanguage) {
|
||||
foreach ($languages as $l) :
|
||||
$selected = "";
|
||||
if ($language === $l) {
|
||||
$selected = " selected=\"selected\"";
|
||||
}
|
||||
echo " <option value=\"".$l."\"".$selected.">".$l."</option>\n";
|
||||
endforeach;
|
||||
} else {
|
||||
echo " <option value=\"".$language."\" selected=\"selected\">".$language."</option>\n";
|
||||
}
|
||||
?>
|
||||
<option value="<?php echo $l ?>"<?php echo $selected?>><?php echo $l?></option>
|
||||
<?php endforeach; ?>
|
||||
</select>
|
||||
</div>
|
||||
<div id="vitals">
|
||||
<h2><span id="lang_002">System vitals</span></h2>
|
||||
<table class="stripeMe" id="vitalsTable" style="border-spacing:0;">
|
||||
<tr>
|
||||
<td style="width:160px;"><span id="lang_003">Hostname</span></td>
|
||||
<td><span id="s_hostname"></span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width:160px;"><span id="lang_004">Listening IP</span></td>
|
||||
<td><span id="s_ip"></span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width:160px;"><span id="lang_005">Kernel Version</span></td>
|
||||
<td><span id="s_kernel"></span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width:160px;"><span id="lang_006">Distro Name</span></td>
|
||||
<td><span id="s_distro"></span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width:160px;"><span id="lang_007">Uptime</span></td>
|
||||
<td><span id="s_uptime"></span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width:160px;"><span id="lang_095">Last boot</span></td>
|
||||
<td><span id="s_lastboot"></span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width:160px;"><span id="lang_008">Current Users</span></td>
|
||||
<td><span id="s_users"></span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width:160px;"><span id="lang_009">Load Averages</span></td>
|
||||
<td><span id="s_loadavg"></span></td>
|
||||
</tr>
|
||||
<tr style="display:none" id="s_syslang_tr">
|
||||
<td style="width:160px;"><span id="lang_097">System Language</span></td>
|
||||
<td><span id="s_syslang"></span></td>
|
||||
</tr>
|
||||
<tr style="display:none" id="s_codepage_tr1">
|
||||
<td style="width:160px;"><span id="lang_098">Code Page</span></td>
|
||||
<td><span id="s_codepage_1"></span></td>
|
||||
</tr>
|
||||
<tr style="display:none" id="s_codepage_tr2">
|
||||
<td style="width:160px;"><span id="lang_098">Code Page</span></td>
|
||||
<td><span id="s_codepage_2"></span></td>
|
||||
</tr>
|
||||
<tr style="display:none" id="s_processes_tr1">
|
||||
<td style="width:160px;"><span id="lang_110">Processes</span></td>
|
||||
<td><span id="s_processes_1"></span></td>
|
||||
</tr>
|
||||
<tr style="display:none" id="s_processes_tr2">
|
||||
<td style="width:160px;"><span id="lang_110">Processes</span></td>
|
||||
<td><span id="s_processes_2"></span></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div id="hardware">
|
||||
</div>
|
||||
<div id="memory">
|
||||
</div>
|
||||
<div id="filesystem">
|
||||
</div>
|
||||
<div id="network">
|
||||
</div>
|
||||
<div id="voltage" style="display: none;">
|
||||
<h2><span id="lang_052">Voltage</span></h2>
|
||||
<table class="stripeMe" id="voltageTable" style="border-spacing:0;">
|
||||
<thead>
|
||||
<div id="vitals" class="halfsize">
|
||||
<h2><span class="lang_002">System vitals</span></h2>
|
||||
<div style="overflow-x:auto;">
|
||||
<table id="vitalsTable" style="border-collapse:collapse;">
|
||||
<tr>
|
||||
<th><span id="lang_059">Label</span></th>
|
||||
<th class="right"><span id="lang_052">Voltage</span></th>
|
||||
<th class="right" style="width: 80px;"><span id="lang_055">Min</span></th>
|
||||
<th class="right" style="width: 80px;"><span id="lang_056">Max</span></th>
|
||||
<td style="width:160px;"><span class="lang_003">Hostname</span></td>
|
||||
<td><span id="s_hostname"></span></td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div id="temp" style="display: none;">
|
||||
<h2><span id="lang_051">Temperature</span></h2>
|
||||
<table class="stripeMe" id="tempTable" style="border-spacing:0;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th><span id="lang_059">Label</span></th>
|
||||
<th class="right" style="width: 80px;"><span id="lang_054">Value</span></th>
|
||||
<th class="right" style="width: 80px;"><span id="lang_058">Limit</span></th>
|
||||
<td style="width:160px;"><span class="lang_004">Listening IP</span></td>
|
||||
<td><span id="s_ip"></span></td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div id="fan" style="display: none;">
|
||||
<h2><span id="lang_053">Fan</span></h2>
|
||||
<table class="stripeMe" id="fanTable" style="border-spacing:0;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th><span id="lang_059">Label</span></th>
|
||||
<th class="right" style="width: 80px;"><span id="lang_054">Value</span></th>
|
||||
<th class="right" style="width: 80px;"><span id="lang_055">Min</span></th>
|
||||
<td style="width:160px;"><span class="lang_005">Kernel Version</span></td>
|
||||
<td><span id="s_kernel"></span></td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div id="current" style="display: none;">
|
||||
<h2><span id="lang_105">Current</span></h2>
|
||||
<table class="stripeMe" id="currentTable" style="border-spacing:0;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th><span id="lang_059">Label</span></th>
|
||||
<th class="right" style="width: 80px;"><span id="lang_054">Value</span></th>
|
||||
<th class="right" style="width: 80px;"><span id="lang_058">Limit</span></th>
|
||||
<td style="width:160px;"><span class="lang_006">Distro Name</span></td>
|
||||
<td><span id="s_distro"></span></td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div id="power" style="display: none;">
|
||||
<h2><span id="lang_102">Power</span></h2>
|
||||
<table class="stripeMe" id="powerTable" style="border-spacing:0;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th><span id="lang_059">Label</span></th>
|
||||
<th class="right" style="width: 80px;"><span id="lang_054">Value</span></th>
|
||||
<th class="right" style="width: 80px;"><span id="lang_058">Limit</span></th>
|
||||
<td style="width:160px;"><span class="lang_127">OS Type</span></td>
|
||||
<td><span id="s_os"></span></td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
</tbody>
|
||||
</table>
|
||||
<tr>
|
||||
<td style="width:160px;"><span class="lang_007">Uptime</span></td>
|
||||
<td><span id="s_uptime"></span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width:160px;"><span class="lang_095">Last boot</span></td>
|
||||
<td><span id="s_lastboot"></span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width:160px;"><span class="lang_008">Current Users</span></td>
|
||||
<td><span id="s_users"></span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width:160px;"><span class="lang_009">Load Averages</span></td>
|
||||
<td><span id="s_loadavg"></span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width:160px;"><span class="lang_097">System Language</span></td>
|
||||
<td><span id="s_syslang"></span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width:160px;"><span class="lang_098">Code Page</span></td>
|
||||
<td><span id="s_codepage"></span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width:160px;"><span class="lang_110">Processes</span></td>
|
||||
<td><span id="s_processes"></span></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<div id="ups" style="display: none;">
|
||||
<div id="hardware" class="halfsize">
|
||||
</div>
|
||||
<div id="memory" class="fullsize">
|
||||
</div>
|
||||
<div id="filesystem" class="fullsize">
|
||||
</div>
|
||||
<div id="network" class="halfsize">
|
||||
</div>
|
||||
<div id="voltage" class="halfsize" style="display:none;">
|
||||
<h2><span class="lang_052">Voltage</span></h2>
|
||||
<div style="overflow-x:auto;">
|
||||
<table class="stripeMe" id="voltageTable" style="border-collapse:collapse;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th><span class="lang_059">Label</span></th>
|
||||
<th class="right" style="width:24.3%;"><span class="lang_054">Value</span></th>
|
||||
<th class="right" style="width:24.3%;"><span class="lang_055">Min</span></th>
|
||||
<th class="right" style="width:24.3%;"><span class="lang_056">Max</span></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<div id="current" class="halfsize" style="display:none;">
|
||||
<h2><span class="lang_105">Current</span></h2>
|
||||
<div style="overflow-x:auto;">
|
||||
<table class="stripeMe" id="currentTable" style="border-collapse:collapse;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th><span class="lang_059">Label</span></th>
|
||||
<th class="right" style="width:24.3%;"><span class="lang_054">Value</span></th>
|
||||
<th class="right" style="width:24.3%;"><span class="lang_055">Min</span></th>
|
||||
<th class="right" style="width:24.3%;"><span class="lang_056">Max</span></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<div id="temperature" class="halfsize" style="display:none;">
|
||||
<h2><span class="lang_051">Temperature</span></h2>
|
||||
<div style="overflow-x:auto;">
|
||||
<table class="stripeMe" id="temperatureTable" style="border-collapse:collapse;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th><span class="lang_059">Label</span></th>
|
||||
<th class="right" style="width:24.3%;"><span class="lang_054">Value</span></th>
|
||||
<th class="right" style="width:24.3%;"><span class="lang_058">Limit</span></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<div id="fans" class="halfsize" style="display:none;">
|
||||
<h2><span class="lang_053">Fans</span></h2>
|
||||
<div style="overflow-x:auto;">
|
||||
<table class="stripeMe" id="fansTable" style="border-collapse:collapse;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th><span class="lang_059">Label</span></th>
|
||||
<th class="right" style="width:24.3%;"><span class="lang_054">Value</span></th>
|
||||
<th class="right" style="width:24.3%;"><span class="lang_055">Min</span></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<div id="power" class="halfsize" style="display:none;">
|
||||
<h2><span class="lang_102">Power</span></h2>
|
||||
<div style="overflow-x:auto;">
|
||||
<table class="stripeMe" id="powerTable" style="border-collapse:collapse;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th><span class="lang_059">Label</span></th>
|
||||
<th class="right" style="width:24.3%;"><span class="lang_054">Value</span></th>
|
||||
<th class="right" style="width:24.3%;"><span class="lang_058">Limit</span></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<div id="other" class="halfsize" style="display:none;">
|
||||
<h2><span class="lang_121">Other</span></h2>
|
||||
<div style="overflow-x:auto;">
|
||||
<table class="stripeMe" id="otherTable" style="border-collapse:collapse;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th><span class="lang_059">Label</span></th>
|
||||
<th class="right" style="width:48.6%;"><span class="lang_054">Value</span></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<div id="ups" class="halfsize" style="display:none;">
|
||||
</div>
|
||||
<div id="footer">
|
||||
<span id="lang_047">Generated by</span> <a href="http://phpsysinfo.sourceforge.net/">phpSysInfo - <span id="version"></span></a>
|
||||
<span class="lang_047">Generated by</span> <a href="http://phpsysinfo.sourceforge.net/" target="psihref">phpSysInfo - <span id="version"></span></a>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
Reference in New Issue
Block a user