- System : fix to get the distro name

- Services : fix on service names with accent
- Services : ability to specify a host for each service
- Network usage : fix to retrieve the name of the network interfaces
- Memory : the cached and buffers memory are added to free memory now
- Load Average : taking into account the number of cores
- Disk usage : new option to hide tmpfs mountpoints
- General : remove all PHP short tags
This commit is contained in:
ShevAbam
2014-06-18 10:15:18 +02:00
parent 20705a550d
commit 3f6a49bae3
11 changed files with 50 additions and 27 deletions
+4 -4
View File
@@ -8,7 +8,7 @@ $update = $Config->checkUpdate();
<html lang="en">
<head>
<meta charset="utf-8">
<title>eZ Server Monitor - <?= Misc::getHostname(); ?></title>
<title>eZ Server Monitor - <?php echo Misc::getHostname(); ?></title>
<link rel="stylesheet" href="web/css/utilities.css" type="text/css">
<link rel="stylesheet" href="web/css/frontend.css" type="text/css">
<!--[if IE]>
@@ -40,16 +40,16 @@ $update = $Config->checkUpdate();
<nav role="main">
<div id="appname">
<a href="index.php"><span class="icon-gauge"></span>eSM</a>
<a href="<?= $Config->get('esm:website'); ?>"><span class="subtitle">eZ Server Monitor - v<?= $Config->get('esm:version'); ?></span></a>
<a href="<?php echo $Config->get('esm:website'); ?>"><span class="subtitle">eZ Server Monitor - v<?php echo $Config->get('esm:version'); ?></span></a>
</div>
<div id="hostname">
<?= Misc::getHostname(); ?> - <?= Misc::getLanIP(); ?>
<?php echo Misc::getHostname(); ?> - <?php echo Misc::getLanIP(); ?>
</div>
<?php if (!is_null($update)): ?>
<div id="update">
<a href="<?= $update['fullpath']; ?>">New version available (<?= $update['availableVersion']; ?>) ! Click here to download</a>
<a href="<?php echo $update['fullpath']; ?>">New version available (<?php echo $update['availableVersion']; ?>) ! Click here to download</a>
</div>
<?php endif; ?>