diff --git a/frontend/images/icon_offline.png b/frontend/images/icon_offline.png new file mode 100644 index 0000000..236cb95 Binary files /dev/null and b/frontend/images/icon_offline.png differ diff --git a/frontend/images/icon_online.png b/frontend/images/icon_online.png new file mode 100644 index 0000000..8ef8c04 Binary files /dev/null and b/frontend/images/icon_online.png differ diff --git a/frontend/images/icon_suspended.png b/frontend/images/icon_suspended.png new file mode 100644 index 0000000..be97c14 Binary files /dev/null and b/frontend/images/icon_suspended.png differ diff --git a/frontend/templates/list.tpl b/frontend/templates/list.tpl index c64b18e..e3ae97b 100644 --- a/frontend/templates/list.tpl +++ b/frontend/templates/list.tpl @@ -1,15 +1,24 @@
Hostname | Platform | Node | Disk space | RAM | Template | -Status | |
---|---|---|---|---|---|---|---|
+ <%if container[status] == running> + + <%/if><%if container[status] == stopped> + + <%/if><%if container[status] == suspended> + + <%/if> + | <%?container[hostname]> | <%if container[virtualization-type] == 1> @@ -26,17 +35,6 @@ | <%?container[diskspace]> | <%?container[guaranteed-ram]> | <%?container[template]> | -- <%if container[status] == running> - Running - <%/if><%if container[status] == stopped> - Stopped - <%/if><%if container[status] == suspended> - Suspended - <%/if><%if container[status] == unknown> - Unknown - <%/if> - |