From a304d7a56563b16ca98d9b45ebed521c52f6347c Mon Sep 17 00:00:00 2001 From: ficus Date: Fri, 14 Sep 2012 20:10:43 +0200 Subject: backup WIP --- templates/home.html | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 templates/home.html (limited to 'templates/home.html') diff --git a/templates/home.html b/templates/home.html new file mode 100644 index 0000000..30c328e --- /dev/null +++ b/templates/home.html @@ -0,0 +1,39 @@ +{% import "lib.html" as lib %} +{% extends "base.html" %} +{% block body %} +

System

+ + + + + +
Host Name + {{ status.system.hostname }} +
Current Time + {{ status.system.current_time }} +
System Uptime + {{ status.system.uptime }} +
+ +

WAN

+{% if not status.wan %} +Upstream ethernet interface hardware not detected at all! +{% else %} +{{ lib.ifstatus(status.wan) }} +{% endif %} + +

LAN

+{% if not status.lan %} +Local network ethernet interface hardware not detected at all! +{% else %} +{{ lib.ifstatus(status.lan) }} +{% endif %} + +

Wireless

+{% if not status.wireless %} +Wireless interface hardware not detected at all! +{% else %} +{{ lib.ifstatus(status.wireless) }} +{% endif %} + +{% endblock %} -- cgit v1.2.3