From bfb4be2d422629b90dba7ee17ac3681f3575d2d2 Mon Sep 17 00:00:00 2001 From: Florian N Date: Sat, 1 Feb 2014 13:18:09 -0500 Subject: [PATCH] add ips in tables --- templates/ip.html | 16 ++++++++++++++++ templates/main.html | 6 ++---- 2 files changed, 18 insertions(+), 4 deletions(-) create mode 100644 templates/ip.html diff --git a/templates/ip.html b/templates/ip.html new file mode 100644 index 0000000..3706bfe --- /dev/null +++ b/templates/ip.html @@ -0,0 +1,16 @@ + + + + + + + + + {% for data in getip %} + {% cycle '' ''%} + + {% cycle '' '' %} + {% endfor %} + +
InterfaceIP
{{data}}
+ diff --git a/templates/main.html b/templates/main.html index bb57ffc..4c925c2 100644 --- a/templates/main.html +++ b/templates/main.html @@ -168,10 +168,8 @@ -
- - {{ getip }} -
+
+ {% include 'ip.html' %}