From b351af35c3d25ef633175fdb92fcba2d30fdb63f Mon Sep 17 00:00:00 2001 From: Mika Havela Date: Wed, 7 Oct 2009 11:48:23 +0200 Subject: Graphical fix. Adding
to the views to fix skin issues. --- health-modules-html.lsp | 2 ++ health-network-html.lsp | 4 ++++ health-networkstats-html.lsp | 2 +- health-proc-html.lsp | 4 ++++ health-storage-html.lsp | 8 ++++++++ health-system-html.lsp | 9 ++++++++- 6 files changed, 27 insertions(+), 2 deletions(-) diff --git a/health-modules-html.lsp b/health-modules-html.lsp index 5ffcf97..0cd760b 100644 --- a/health-modules-html.lsp +++ b/health-modules-html.lsp @@ -3,4 +3,6 @@

Modules

Installed modules

+
<%= html.html_escape(view.value.list.value) %>
+
diff --git a/health-network-html.lsp b/health-network-html.lsp index 5d97a9e..5f9463d 100644 --- a/health-network-html.lsp +++ b/health-network-html.lsp @@ -3,7 +3,11 @@

Network

Interface status

+
<%= html.html_escape(view.value.interfaces.value) %>
+

Routes

+
<%= html.html_escape(view.value.routes.value) %>
+
diff --git a/health-networkstats-html.lsp b/health-networkstats-html.lsp index 888a73e..de2caf7 100644 --- a/health-networkstats-html.lsp +++ b/health-networkstats-html.lsp @@ -126,10 +126,10 @@

Network Statistics

+
Network traffic in bytes/second
-
Display Options
diff --git a/health-proc-html.lsp b/health-proc-html.lsp index 3105a1c..92056f3 100644 --- a/health-proc-html.lsp +++ b/health-proc-html.lsp @@ -3,7 +3,11 @@

Process information

Processor

+
<%= html.html_escape(view.value.processor.value) %>
+

Memory

+
<%= html.html_escape(view.value.memory.value) %>
+
diff --git a/health-storage-html.lsp b/health-storage-html.lsp index bd2a20a..7e1e78a 100644 --- a/health-storage-html.lsp +++ b/health-storage-html.lsp @@ -32,6 +32,7 @@ end %>

Storage

Floppy capacity

+
<% if (view.value.floppy) then for name,floppy in pairs(view.value.floppy.value) do displaydisk(floppy, name) @@ -39,8 +40,10 @@ end else %> No Floppy mounted <% end %> +

Harddrive capacity

+
<% if (view.value.hd) then for name,hd in pairs(view.value.hd.value) do displaydisk(hd, name) @@ -48,8 +51,10 @@ end else %> No Harddrive mounted <% end %> +

RAM Disk capacity

+
<% if (view.value.ramdisk) then for name,ramdisk in pairs(view.value.ramdisk.value) do displaydisk(ramdisk, name) @@ -57,9 +62,12 @@ end else %> No RAM Disk mounted <% end %> +
<% if view.value.partitions then %>

Disk partitions

+
<%= html.html_escape(view.value.partitions.value) %>
+
<% end %> diff --git a/health-system-html.lsp b/health-system-html.lsp index 9fcea6f..f2e4d6c 100644 --- a/health-system-html.lsp +++ b/health-system-html.lsp @@ -3,17 +3,24 @@

System

Versions and names

+
<%= html.html_escape(view.value.version.value) %>
<%= html.html_escape(view.value.uname.value) %>
+

Uptime

+
<%= html.html_escape(view.value.uptime.value) %>
+

Time/TimeZone

+
<%= html.html_escape(view.value.date.value) %>
<%= html.html_escape(view.value.timezone.value) %>
+

Memory

+
<%= html.html_escape(view.value.memory.value) %>
InterfaceIP AddressRXTX
@@ -26,4 +33,4 @@
Total:=Used=Free
- +
-- cgit v1.2.3