From ce3da4ab0352ee0bf15cc7077993f927dd9b17aa Mon Sep 17 00:00:00 2001 From: Andreas Zweili Date: Wed, 27 Dec 2017 17:46:57 +0100 Subject: [PATCH] reformat the index.html --- inventory/templates/inventory/index.html | 92 ++++++++++++------------ 1 file changed, 46 insertions(+), 46 deletions(-) diff --git a/inventory/templates/inventory/index.html b/inventory/templates/inventory/index.html index 8d45449..c778b74 100644 --- a/inventory/templates/inventory/index.html +++ b/inventory/templates/inventory/index.html @@ -1,49 +1,49 @@ {% extends "inventory/base.html" %} {% block content %} - {% if device_list or computer_list %} -

Device List

- -

Computer List

- - - - - - {% for computer in computer_list %} - - - - - {% endfor %} -
HostnameIP
{{ computer.name }}{{ computer.ip }}
- {% endif %} - {% if cronjob_list %} -

Cron Job List

- - - - - - - - - - - {% for cronjob in cronjob_list %} - - - - - - - - - - {% endfor %} -
NameHostnameMinuteHourDay of WeekDay of MonthMonth
{{ cronjob.name }}{{ cronjob.host }}{{ cronjob.minutes }}{{ cronjob.hours }}{{ cronjob.weekday }}{{ cronjob.day }}{{ cronjob.month }}
- {% endif %} + {% if device_list or computer_list %} +

Device List

+ +

Computer List

+ + + + + + {% for computer in computer_list %} + + + + + {% endfor %} +
HostnameIP
{{ computer.name }}{{ computer.ip }}
+ {% endif %} + {% if cronjob_list %} +

Cron Job List

+ + + + + + + + + + + {% for cronjob in cronjob_list %} + + + + + + + + + + {% endfor %} +
NameHostnameMinuteHourDay of WeekDay of MonthMonth
{{ cronjob.name }}{{ cronjob.host }}{{ cronjob.minutes }}{{ cronjob.hours }}{{ cronjob.weekday }}{{ cronjob.day }}{{ cronjob.month }}
+ {% endif %} {% endblock %}