From 1963a2d76bf9297eff4920077a6275f871c47395 Mon Sep 17 00:00:00 2001 From: Jonas Remmert Date: Wed, 29 May 2024 11:42:30 +0200 Subject: [PATCH] django: remove unused template dir The template directory has been used for testing earlier and is not used anymore. Clean up to make space for the upcoming frontend infrastructure. Signed-off-by: Jonas Remmert --- .../sensordata/templates/sensordata/base.html | 12 -------- .../templates/sensordata/resource_list.html | 30 ------------------- 2 files changed, 42 deletions(-) delete mode 100644 server/django/sensordata/templates/sensordata/base.html delete mode 100644 server/django/sensordata/templates/sensordata/resource_list.html diff --git a/server/django/sensordata/templates/sensordata/base.html b/server/django/sensordata/templates/sensordata/base.html deleted file mode 100644 index 7186ecf2..00000000 --- a/server/django/sensordata/templates/sensordata/base.html +++ /dev/null @@ -1,12 +0,0 @@ - - - - {% block title %}My Site{% endblock %} - - - - {% block content %} - - {% endblock %} - - diff --git a/server/django/sensordata/templates/sensordata/resource_list.html b/server/django/sensordata/templates/sensordata/resource_list.html deleted file mode 100644 index 49ff1d14..00000000 --- a/server/django/sensordata/templates/sensordata/resource_list.html +++ /dev/null @@ -1,30 +0,0 @@ -{% block content %} - - - - - - - - - - {% for tt in resource_list %} - - - - - - {% endfor %} - -
TimeEndpointValue
{{ tt.timestamp }}{{ tt.device.device_id }} - {% if tt.int_value is not None %} - {{ tt.int_value }} - {% elif tt.float_value is not None %} - {{ tt.float_value }} - {% elif tt.str_value is not None %} - {{ tt.str_value }} - {% elif tt.bool_value is not None %} - {{ tt.bool_value }} - {% endif %} -
-{% endblock %}