diff --git a/templates/hostlist_template.html b/templates/hostlist_template.html
index 5c7417f..15ecff7 100644
--- a/templates/hostlist_template.html
+++ b/templates/hostlist_template.html
@@ -3,14 +3,7 @@
Host list
-
-
-
-
-
-
-
-
+
@@ -30,25 +23,23 @@
Available minions
-
+
Name |
- Machine type |
- OS |
+ OS |
Roles |
IP |
- RAM (MB) |
- # CPUs |
+ RAM (MB) |
+ Salt |
Name |
- Machine type |
- OS |
+ OS |
Roles |
IP |
- RAM (MB) |
- # CPUs |
+ RAM (MB) |
+ Salt |
@@ -58,29 +49,28 @@
+
{{ name }}
- {% if data.virtual != "physical" %} Virtual ({{ data.virtual }}) {% else %} Physical {% endif %} |
- {{ data.lsb_distrib_description }} |
+ {{ data.lsb_distrib_description }} |
{% for role in data.roles %} {{ role }} {% endfor %} |
{{ data.fqdn_ip }} |
- {{ data.mem_total }} |
- {{ data.num_cpus }} |
+ {{ data.mem_total }} |
+ {{ data.saltversion }} |
{% endfor %}
Total:
+ |
|
|
- |
- |
- |
+ |
|
|
-
+
Disconnected minions
@@ -121,32 +111,37 @@
Previous jobs
-
+
Name |
- Arguments |
Function |
StartTime |
Target |
- Target type |
- User |
+
+
+ Name |
+ Function |
+ StartTime |
+ Target |
{% for id, data in joblist|dictsort|reverse %}
- {{ id }} |
- {{ data.Arguments }} |
+
+
+ {{ id }}
+ |
{{ data.Function }} |
{{ data.StartTime }} |
{{ data.Target }} |
- {{ data['Target-type'] }} |
- {{ data.User }} |
{% endfor %}
-
+
@@ -192,7 +187,35 @@
{% endfor %}
-
+ {% for id, data in joblist.iteritems() %}
+
+
+
+
+
+
Job information
+
+ - Function: {{ data['Function'] }}
+ - Target: {{ data['Target'] }}
+ - User: {{ data['User'] }}
+ - StartTime: {{ data['StartTime'] }}
+ - Target-type: {{ data['Target-type'] }}
+ - Arguments: {{ data['Arguments'] }}
+
+
+
+
+
+ {% endfor %}
+
+
+
+
+
+