summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshevabam <shevabam@users.noreply.github.com>2014-09-08 10:21:29 +0200
committershevabam <shevabam@users.noreply.github.com>2014-09-08 10:21:29 +0200
commitd329cc43a9cfe55c2d1f67f93cf190385ddaea6a (patch)
treefacd1cb0ec27c8fcec4e2654bca67d31d11829cc
parentba7510e77e8240c545b9999cc69c721197031153 (diff)
parent2c0c68fdc346ae8646a352b716b28574fc4e60ea (diff)
Merge pull request #4 from dustindauncey/master
Improved unity in labels and made more general for users
-rw-r--r--esm.config.json26
-rw-r--r--index.php26
2 files changed, 31 insertions, 21 deletions
diff --git a/esm.config.json b/esm.config.json
index e0a6ebd..802cdb1 100644
--- a/esm.config.json
+++ b/esm.config.json
@@ -8,9 +8,9 @@
},
"ping": {
"hosts": [
- "free.fr",
- "orange.fr",
- "google.com"
+ "facebook.com",
+ "google.com",
+ "yahoo.com"
]
},
"last_login": {
@@ -18,24 +18,34 @@
},
"services": [
{
- "name": "Web Server (Apache)",
+ "name": "Web Server",
"host": "localhost",
"port": 80
},
{
- "name": "FTP Server (ProFTPd)",
+ "name": "Email Server (incoming)",
+ "host": "localhost",
+ "port": 993
+ },
+ {
+ "name": "Email Server (outgoing)",
+ "host": "localhost",
+ "port": 587
+ },
+ {
+ "name": "FTP Server",
"host": "localhost",
"port": 21
},
{
- "name": "Databases (MySQL)",
+ "name": "Database Server",
"host": "localhost",
"port": 3306
},
{
- "name": "SSH",
+ "name": "SSH Service",
"host": "localhost",
"port": 22
}
]
-} \ No newline at end of file
+}
diff --git a/index.php b/index.php
index 52ba89d..6036f9e 100644
--- a/index.php
+++ b/index.php
@@ -97,7 +97,7 @@ $update = $Config->checkUpdate();
<td id="system-current_users"></td>
</tr>
<tr>
- <td>Server datetime</td>
+ <td>Server date & time</td>
<td id="system-server_date"></td>
</tr>
</tbody>
@@ -149,15 +149,15 @@ $update = $Config->checkUpdate();
<td id="cpu-model"></td>
</tr>
<tr>
- <td>Cores #</td>
+ <td>Cores</td>
<td id="cpu-num_cores"></td>
</tr>
<tr>
- <td>CPU Speed</td>
+ <td>Speed</td>
<td id="cpu-frequency"></td>
</tr>
<tr>
- <td>Cache L2</td>
+ <td>Cache</td>
<td id="cpu-cache"></td>
</tr>
<tr>
@@ -240,19 +240,19 @@ $update = $Config->checkUpdate();
<table class="firstBold">
<tbody>
<tr>
- <td class="w20p">Used RAM</td>
+ <td class="w20p">Used</td>
<td><div class="progressbar-wrap"><div class="progressbar" style="width: 0%;">0%</div></div></td>
</tr>
<tr>
- <td class="w20p">Used RAM</td>
+ <td class="w20p">Used</td>
<td id="memory-used"></td>
</tr>
<tr>
- <td class="w20p">Free RAM</td>
+ <td class="w20p">Free</td>
<td id="memory-free"></td>
</tr>
<tr>
- <td class="w20p">Total RAM</td>
+ <td class="w20p">Total</td>
<td id="memory-total"></td>
</tr>
</tbody>
@@ -272,19 +272,19 @@ $update = $Config->checkUpdate();
<table class="firstBold">
<tbody>
<tr>
- <td class="w20p">Used Swap</td>
+ <td class="w20p">Used</td>
<td><div class="progressbar-wrap"><div class="progressbar" style="width: 0%;">0%</div></div></td>
</tr>
<tr>
- <td class="w20p">Used Swap</td>
+ <td class="w20p">Used</td>
<td id="swap-used"></td>
</tr>
<tr>
- <td class="w20p">Free Swap</td>
+ <td class="w20p">Free</td>
<td id="swap-free"></td>
</tr>
<tr>
- <td class="w20p">Total Swap</td>
+ <td class="w20p">Total</td>
<td id="swap-total"></td>
</tr>
</tbody>
@@ -358,4 +358,4 @@ $update = $Config->checkUpdate();
</body>
-</html> \ No newline at end of file
+</html>