From 50404f3b23b7fd6aeae4c9d2f6df0ea25e984e66 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Tue, 3 May 2016 19:03:09 +0200 Subject: WIP --- .../statistics/templates/clientlist.html | 45 ++++++++ .../statistics/templates/cpumodels.html | 51 +++++++++ modules-available/statistics/templates/id44.html | 48 ++++++++ .../statistics/templates/kvmstate.html | 47 ++++++++ .../statistics/templates/machine-hdds.html | 67 +++++++++++ .../statistics/templates/machine-main.html | 124 +++++++++++++++++++++ .../statistics/templates/machine-notes.html | 17 +++ .../statistics/templates/machine-usage.html | 51 +++++++++ modules-available/statistics/templates/memory.html | 47 ++++++++ .../statistics/templates/newclients.html | 44 ++++++++ .../statistics/templates/summary.html | 33 ++++++ modules-available/statistics/templates/syslog.html | 43 +++++++ 12 files changed, 617 insertions(+) create mode 100644 modules-available/statistics/templates/clientlist.html create mode 100644 modules-available/statistics/templates/cpumodels.html create mode 100644 modules-available/statistics/templates/id44.html create mode 100644 modules-available/statistics/templates/kvmstate.html create mode 100644 modules-available/statistics/templates/machine-hdds.html create mode 100644 modules-available/statistics/templates/machine-main.html create mode 100644 modules-available/statistics/templates/machine-notes.html create mode 100644 modules-available/statistics/templates/machine-usage.html create mode 100644 modules-available/statistics/templates/memory.html create mode 100644 modules-available/statistics/templates/newclients.html create mode 100644 modules-available/statistics/templates/summary.html create mode 100644 modules-available/statistics/templates/syslog.html (limited to 'modules-available/statistics/templates') diff --git a/modules-available/statistics/templates/clientlist.html b/modules-available/statistics/templates/clientlist.html new file mode 100644 index 00000000..8e8565fe --- /dev/null +++ b/modules-available/statistics/templates/clientlist.html @@ -0,0 +1,45 @@ +
{{lang_machine}} | +{{lang_address}} | +{{lang_lastSeen}} | +{{lang_kvmSupport}} | +{{lang_gbRam}} | +{{lang_tmpGb}} | +{{lang_cpuModel}} | +
---|---|---|---|---|---|---|
+ {{#hasnotes}}{{/hasnotes}}
+ {{#state_off}}
+
+ {{/state_off}}
+ {{#state_idle}}
+
+ {{/state_idle}}
+ {{#state_occupied}}
+
+ {{/state_occupied}}
+ {{hostname}}
+ {{machineuuid}}
+ |
+ {{subnet}}{{lastoctet}} {{macaddr}} |
+ {{lastseen}} | +{{kvmstate}} | +{{gbram}} GiB | +
+ {{gbtmp}} GiB
+ {{#badsectors}}
+
+ {{badsectors}}
+ {{/badsectors}}
+ |
+ {{lang_realCores}}: {{realcores}} {{cpumodel}} |
+
{{lang_modelName}} | +{{lang_cpuCores}} | +{{lang_modelCount}} | +
---|---|---|
+ {{systemmodel}} + | +{{cores}} | +{{count}} | +
{{lang_partitionSize}} | +{{lang_machineCount}} | +
---|---|
{{gb}} GiB | +{{count}} | +
{{lang_kvmState}} | +{{lang_machineCount}} | +
---|---|
{{kvmstate}} | +{{count}} | +
{{lang_partName}} | +{{lang_partSize}} | +{{lang_partType}} | +
---|---|---|
{{name}} | +{{size}} GiB | +{{type}} | +
{{lang_uuid}} | +{{machineuuid}} | +
{{lang_macAddr}} | +{{macaddr}} | +
{{lang_ip}} | +{{clientip}} | +
{{lang_hostname}} | +{{hostname}} | +
{{lang_firstSeen}} | +{{firstseen_s}} | +
{{lang_lastBoot}} | +{{lastboot_s}} | +
{{lang_lastSeen}} | +{{lastseen_s}} | +
{{lang_usageState}} | +
+ {{#state_off}}
+ {{lang_machineOff}}
+ {{/state_off}}
+ {{#state_idle}}
+ {{lang_machineIdle}}
+ {{/state_idle}}
+ {{#state_occupied}}
+ {{#username}}
+ {{lang_machineOccupiedBy}} {{username}}
+ {{/username}}
+ {{^username}}
+ {{lang_machineOccupied}}
+ {{/username}}
+ {{logintime_s}}
+ {{/state_occupied}}
+ {{#session}}
+ {{session}}
+ {{/session}}
+ |
+
{{lang_cpuModel}} | +
+ {{cpumodel}}
+ {{#Sockets}}
+
+ {{lang_sockets}}: {{Sockets}}, {{lang_cores}}: {{Realcores}}, {{lang_virtualCores}}: {{Virtualcores}}
+
+ {{/Sockets}}
+ |
+
{{lang_model}} | +{{pcmodel}} ({{manufacturer}}) | +
{{lang_ram}} | ++ {{gbram}} GiB + {{#maxram}}({{lang_maximumAbbrev}} {{maxram}}){{/maxram}} + {{ramtype}} + | +
{{lang_ramSlots}} | ++ {{ramslotcount}}: + {{#ramslot}} + [ {{size}} ] + {{/ramslot}} + | +
{{lang_tempPart}} | +{{gbtmp}} GiB | +
{{lang_64bitSupport}} | +{{kvmstate}} | +
Type | +When | +Length | +
---|---|---|
+ | {{from}} | +{{duration}} | +
Type | +When | +Length | +
---|---|---|
+ | {{from}} | +{{duration}} | +
{{lang_ramSize}} | +{{lang_machineCount}} | +
---|---|
{{gb}} GiB | +{{count}} | +
{{lang_machine}} | ++ | 64Bit | +RAM | +HDD | +
---|---|---|---|---|
{{hostname}} | +{{firstseen}} | +{{kvmicon}} | +{{gbram}} GiB | +{{gbtmp}} GiB | +
+ + + + + + + | +
+ | {{lang_when}} | +{{lang_event}} | +{{lang_details}} | + + + {{#list}} +
---|---|---|---|
+ | {{date}} | +{{description}} | +{{#extra}}
+ »
+ {{extra}}
+ {{/extra}} |
+