From 3483c823a0e6fa000bbf35555f2345c7fa3cede8 Mon Sep 17 00:00:00 2001 From: Robert Einsle Date: Thu, 15 Feb 2018 08:10:58 +0100 Subject: [PATCH] cleanup code, remove unused templates --- billard/templates/billard/index.html | 49 ------------------ billard/templates/billard/index_ajax.html | 10 ---- .../billard/locationdata_detail.html | 17 ------- .../billard/locationdata_detail_ajax.html | 51 ------------------- .../templates/billard/locationdata_list.html | 17 ------- .../billard/locationdata_list_ajax.html | 42 --------------- 6 files changed, 186 deletions(-) delete mode 100644 billard/templates/billard/index.html delete mode 100644 billard/templates/billard/index_ajax.html delete mode 100644 billard/templates/billard/locationdata_detail.html delete mode 100644 billard/templates/billard/locationdata_detail_ajax.html delete mode 100644 billard/templates/billard/locationdata_list.html delete mode 100644 billard/templates/billard/locationdata_list_ajax.html diff --git a/billard/templates/billard/index.html b/billard/templates/billard/index.html deleted file mode 100644 index 6217bbc..0000000 --- a/billard/templates/billard/index.html +++ /dev/null @@ -1,49 +0,0 @@ -{% extends '_base.html' %} -{% load display_client %} - -{% block title %}Location Data{% endblock %} - -{% block content %} - {% if not locations|length_is:"1" %} -
- {% csrf_token %} -
- -
-
- {% endif %} - - - - -
- {% include 'billard/index_ajax.html' %} -
- -{% endblock %} - -{% block js %} - -{% endblock %} diff --git a/billard/templates/billard/index_ajax.html b/billard/templates/billard/index_ajax.html deleted file mode 100644 index fe4de39..0000000 --- a/billard/templates/billard/index_ajax.html +++ /dev/null @@ -1,10 +0,0 @@ -{% load display_client %} -{% if clients %} - {% for cli in clients %} - {% for i in range %} {{ cli|display_client:i }} {% endfor %} - {% endfor %} -{% else %} -
-
Keine Tische angelegt!
-
-{% endif %} \ No newline at end of file diff --git a/billard/templates/billard/locationdata_detail.html b/billard/templates/billard/locationdata_detail.html deleted file mode 100644 index e95f514..0000000 --- a/billard/templates/billard/locationdata_detail.html +++ /dev/null @@ -1,17 +0,0 @@ -{% extends '_base.html' %} - -{% block title %}Location Data{% endblock %} - -{% block content %} - {% include 'billard/locationdata_detail_ajax.html' %} -{% endblock %} - -{% block js %} - -{% endblock %} \ No newline at end of file diff --git a/billard/templates/billard/locationdata_detail_ajax.html b/billard/templates/billard/locationdata_detail_ajax.html deleted file mode 100644 index b64e59a..0000000 --- a/billard/templates/billard/locationdata_detail_ajax.html +++ /dev/null @@ -1,51 +0,0 @@ -

Locationdata: {{ locationdata.id }}

- -{% if error_message %}

{{ error_message }}

{% endif %} - -
- {% csrf_token %} -
- -
- -
-
- -
- -
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
- - Zurück - - - diff --git a/billard/templates/billard/locationdata_list.html b/billard/templates/billard/locationdata_list.html deleted file mode 100644 index 2fda6b6..0000000 --- a/billard/templates/billard/locationdata_list.html +++ /dev/null @@ -1,17 +0,0 @@ -{% extends '_base.html' %} - -{% block title %}Location Data{% endblock %} - -{% block content %} - {% include 'billard/locationdata_list_ajax.html' %} -{% endblock %} - -{% block js %} - -{% endblock %} \ No newline at end of file diff --git a/billard/templates/billard/locationdata_list_ajax.html b/billard/templates/billard/locationdata_list_ajax.html deleted file mode 100644 index 96934d7..0000000 --- a/billard/templates/billard/locationdata_list_ajax.html +++ /dev/null @@ -1,42 +0,0 @@ -{% extends '_base.html' %} - -{% block title %}Location Data{% endblock %} - -{% block content %} -
- -
- - {% if object_list %} -

Location Data

- - - - - - - - - - - {% for location_data in object_list %} - - - - - - - - - - {% endfor %} -
IDLocationTableTimestampOn_OffProcError
{{ location_data.id }}{{ location_data.location_id }}{{ location_data.table_no }}{{ location_data.tst }}{{ location_data.on_off }}{{ location_data.processed }}{{ location_data.error_msg }}
- {% else %} -

No data available.

- {% endif %} -{% endblock %} - -