aboutsummaryrefslogtreecommitdiff
path: root/lava_scheduler_app/templates/lava_scheduler_app
diff options
context:
space:
mode:
authorRĂ©mi Duraffort <remi.duraffort@linaro.org>2017-11-03 11:01:44 +0100
committerNeil Williams <neil.williams@linaro.org>2017-11-16 10:18:55 +0000
commitdebec5da006be584b44ca69e89dc10c3d5942953 (patch)
tree992f143d3308d09d799839ada07151c68f86fa92 /lava_scheduler_app/templates/lava_scheduler_app
parent6e8c08e41652b62a1225d0ca834aa040afefb033 (diff)
Remove unused models and fields
Change-Id: Idadcd27aa9fbd40c750af9e257f62fbc8dd03858
Diffstat (limited to 'lava_scheduler_app/templates/lava_scheduler_app')
-rw-r--r--lava_scheduler_app/templates/lava_scheduler_app/device.html2
-rw-r--r--lava_scheduler_app/templates/lava_scheduler_app/device_type.html6
-rw-r--r--lava_scheduler_app/templates/lava_scheduler_app/worker.html2
3 files changed, 1 insertions, 9 deletions
diff --git a/lava_scheduler_app/templates/lava_scheduler_app/device.html b/lava_scheduler_app/templates/lava_scheduler_app/device.html
index f81c2cede..5529e731f 100644
--- a/lava_scheduler_app/templates/lava_scheduler_app/device.html
+++ b/lava_scheduler_app/templates/lava_scheduler_app/device.html
@@ -14,7 +14,7 @@
</li>
</ul>
-{% if user.is_staff and device.device_type.name != 'dynamic-vm' and not device.get_health_check and not device.device_type.disable_health_check %}
+{% if user.is_staff and not device.get_health_check and not device.device_type.disable_health_check %}
<div class="alert alert-warning">
<button type="button" class="close" data-dismiss="alert">&times;</button>
<strong>The device has no
diff --git a/lava_scheduler_app/templates/lava_scheduler_app/device_type.html b/lava_scheduler_app/templates/lava_scheduler_app/device_type.html
index b1a6c0a83..957a88af3 100644
--- a/lava_scheduler_app/templates/lava_scheduler_app/device_type.html
+++ b/lava_scheduler_app/templates/lava_scheduler_app/device_type.html
@@ -62,10 +62,8 @@
<dd>{{ running_jobs_num }}</dd>
<dt>Queued jobs</dt>
<dd>{{ queued_jobs_num }}</dd>
-{% if device_type.name != 'dynamic-vm' %}
<dt>Checks/failures</dt>
<dd><a href="{% url 'lava.scheduler.device_type_report' device_type %}">Graphical reports</a></dd>
-{% endif %}
<dt>Health Checks</dt>
<dd>{{ health_freq }}</dd>
</dl>
@@ -78,10 +76,8 @@
<dd>{{ idle_num }}</dd>
<dt>Offline</dt>
<dd>{{ offline_num }}</dd>
-{% if device_type.name != 'dynamic-vm' %}
<dt>Retired</dt>
<dd>{{ retired_num }}</dd>
-{% endif %}
</dl>
</div>
</div>
@@ -131,10 +127,8 @@
<h4 class="modal-header">Devices list</h4>
{% render_table devices_table_no_dt %}
-{% if device_type.name != 'dynamic-vm' %}
<h4 class="modal-header">Health Job Summary</h4>
{% render_table health_job_summary_table %}
-{% endif %}
<h4 class="modal-header">Jobs for devices of type {{ device_type }}</h4>
{% render_table device_type_jobs_table %}
diff --git a/lava_scheduler_app/templates/lava_scheduler_app/worker.html b/lava_scheduler_app/templates/lava_scheduler_app/worker.html
index fd23afc96..4af51a360 100644
--- a/lava_scheduler_app/templates/lava_scheduler_app/worker.html
+++ b/lava_scheduler_app/templates/lava_scheduler_app/worker.html
@@ -22,8 +22,6 @@
<div class="col-md-6">
<h4 class="modal-header">LAVA details</h4>
<dl class="dl-horizontal">
- <dt>Is Master</dt>
- <dd>{{ worker.is_master }}</dd>
<dt>Description</dt>
{% if can_admin %}
<form method="POST" action="{% url 'lava.scheduler.edit_worker_desc' %}">