From f2c6d62556a8bcc8bf58dcbba9cf97c93c274a44 Mon Sep 17 00:00:00 2001 From: deflax Date: Mon, 26 Jun 2017 17:39:31 +0300 Subject: [PATCH] filter enabled items --- app/templates/admin/list_items.html | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/app/templates/admin/list_items.html b/app/templates/admin/list_items.html index 4bbde25..da6354b 100644 --- a/app/templates/admin/list_items.html +++ b/app/templates/admin/list_items.html @@ -28,8 +28,8 @@ {% for deploy in deployments %} - - {% if deploy.enabled == True %}{% else %}{% endif %}{{ deploy.machine_id }} + {% if deploy.enabled == True %}{% else %}{% endif %} + {{ deploy.machine_id }} {{ deploy.machine_alias }} {{ deploy.machine_cpu }} c. {{ deploy.machine_mem }} MB @@ -61,7 +61,7 @@ {% for service in services %} - + {% if service.enabled == True %}{% else %}{% endif %} {{ service.category }} {{ service.description }} {{ service.period }} @@ -91,7 +91,7 @@ {% for domain in domains %} - + {% if domain.enabled == True %}{% else %}{% endif %} {{ domain.fqdn }} {{ domain.date_expire }} {{ domain.owner.email }} @@ -119,6 +119,7 @@ {% for address in addresses %} + {% if address.enabled == True %}{% else %}{% endif %} {{ address.ip }} {{ address.mac }} {{ address.rdns }}