From 50404f3b23b7fd6aeae4c9d2f6df0ea25e984e66 Mon Sep 17 00:00:00 2001
From: Simon Rettberg
Date: Tue, 3 May 2016 19:03:09 +0200
Subject: WIP
---
.../systemstatus/templates/_page.html | 129 +++++++++++++++++++++
.../systemstatus/templates/addresses.html | 8 ++
.../systemstatus/templates/diskstat.html | 63 ++++++++++
.../systemstatus/templates/services.html | 6 +
.../systemstatus/templates/systeminfo.html | 115 ++++++++++++++++++
5 files changed, 321 insertions(+)
create mode 100644 modules-available/systemstatus/templates/_page.html
create mode 100644 modules-available/systemstatus/templates/addresses.html
create mode 100644 modules-available/systemstatus/templates/diskstat.html
create mode 100644 modules-available/systemstatus/templates/services.html
create mode 100644 modules-available/systemstatus/templates/systeminfo.html
(limited to 'modules-available/systemstatus/templates')
diff --git a/modules-available/systemstatus/templates/_page.html b/modules-available/systemstatus/templates/_page.html
new file mode 100644
index 00000000..51aa5b55
--- /dev/null
+++ b/modules-available/systemstatus/templates/_page.html
@@ -0,0 +1,129 @@
+{{#rebootTask}}
+
Reboot...
+{{/rebootTask}}
+
+
+
+
+
+
+ {{lang_space}}
+
+
+
+
+
+
+
+
+
+
+ {{lang_services}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{lang_addressConfiguration}}
+
+
+
+
+
+
+
+
+
+
+ {{lang_system}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{lang_maintenance}}
+
+
+
+
+
+
+
+{{lang_advanced}}
+
+
+
+ {{lang_dmsdLog}}
+
+
+
+
+
+
+
+ {{lang_ldadpLog}}
+
+
+
+
+
+
+
+ netstat -tulpn
+
+
+
+
+
+
+
+
diff --git a/modules-available/systemstatus/templates/addresses.html b/modules-available/systemstatus/templates/addresses.html
new file mode 100644
index 00000000..ce92c4d5
--- /dev/null
+++ b/modules-available/systemstatus/templates/addresses.html
@@ -0,0 +1,8 @@
+
+ {{#addresses}}
+
+ {{ip}} |
+ ({{iface}}) |
+
+ {{/addresses}}
+
\ No newline at end of file
diff --git a/modules-available/systemstatus/templates/diskstat.html b/modules-available/systemstatus/templates/diskstat.html
new file mode 100644
index 00000000..528d9792
--- /dev/null
+++ b/modules-available/systemstatus/templates/diskstat.html
@@ -0,0 +1,63 @@
+
+ {{#system}}
+
{{lang_systemPartition}}
+
+
{{lang_capacity}}: {{size}}
+
{{lang_free}}: {{free}}
+ {{/system}}
+ {{^system}}
+
{{lang_systemStoreError}}
+ {{/system}}
+
+
+ {{#store}}
+
{{lang_vmStore}}
+
+
{{lang_capacity}}: {{size}}
+
{{lang_free}}: {{free}}
+ {{/store}}
+ {{^store}}
+
{{lang_vmStoreError}}
+ {{/store}}
+
+
+{{#notConfigured}}
+{{lang_storeNotConfigured}}
+{{/notConfigured}}
+{{#storeMissing}}
+{{lang_storeMissingExpected}} {{storeMissing}}
+{{/storeMissing}}
+{{#wrongStore}}
+{{lang_foundStore}} {{wrongStore}}
+{{/wrongStore}}
+{{lang_goToStoreConf}}
+
diff --git a/modules-available/systemstatus/templates/services.html b/modules-available/systemstatus/templates/services.html
new file mode 100644
index 00000000..6c4f0b93
--- /dev/null
+++ b/modules-available/systemstatus/templates/services.html
@@ -0,0 +1,6 @@
+{{#ldadpError}}
+{{ldadpError}}
+{{/ldadpError}}
+{{^ldadpError}}
+LDAP-AD-Proxy: OK
+{{/ldadpError}}
diff --git a/modules-available/systemstatus/templates/systeminfo.html b/modules-available/systemstatus/templates/systeminfo.html
new file mode 100644
index 00000000..ed4a1532
--- /dev/null
+++ b/modules-available/systemstatus/templates/systeminfo.html
@@ -0,0 +1,115 @@
+
+ {{lang_uptimeOS}}: {{uptime}}
+
+
+
+
{{lang_cpuLoad}}
+ {{#cpuLoadOk}}
+
+
{{lang_average}}: {{cpuLoad}}%
+
{{lang_onlyOS}}: {{cpuSystem}}%
+
{{lang_logicCPUs}}: {{cpuCount}}
+ {{/cpuLoadOk}}
+ {{^cpuLoadOk}}
+ {{lang_notDetermined}}
+ {{/cpuLoadOk}}
+
+
+
+
{{lang_ramUsage}}
+ {{#memTotal}}
+
+
{{lang_total}}: {{memTotal}}
+
{{lang_free}}: {{memFree}}
+ {{/memTotal}}
+ {{^memTotal}}
+ {{lang_notDetermined}}
+ {{/memTotal}}
+
+
+
+
{{lang_swapUsage}}
+ {{#memTotal}}
+
+
{{lang_total}}: {{swapTotal}}
+
{{lang_occupied}}: {{swapUsed}}
+ {{/memTotal}}
+ {{^memTotal}}
+ {{lang_notDetermined}}
+ {{/memTotal}}
+
+
+
+
+{{#swapWarning}}
+
+ {{lang_attention}} {{lang_swapWarning}}
+
+{{/swapWarning}}
+
+
--
cgit v1.2.3-55-g7522