From fb6f15f462a32bba9c77e66fa5c1d45957a43777 Mon Sep 17 00:00:00 2001 From: Oliver Date: Sun, 17 Oct 2021 22:57:15 +1100 Subject: [PATCH] Delete a bunch of old template files --- .../templates/build/edit_build_item.html | 10 ---- .../templates/common/delete_currency.html | 7 --- .../stock/templates/stock/stock_adjust.html | 50 ------------------- .../stock/templates/stock/stock_move.html | 1 - InvenTree/templates/attachment_delete.html | 7 --- InvenTree/templates/collapse.html | 23 --------- InvenTree/templates/collapse_index.html | 19 ------- InvenTree/templates/required_part_table.html | 23 --------- InvenTree/templates/slide.html | 3 -- 9 files changed, 143 deletions(-) delete mode 100644 InvenTree/build/templates/build/edit_build_item.html delete mode 100644 InvenTree/common/templates/common/delete_currency.html delete mode 100644 InvenTree/stock/templates/stock/stock_adjust.html delete mode 100644 InvenTree/stock/templates/stock/stock_move.html delete mode 100644 InvenTree/templates/attachment_delete.html delete mode 100644 InvenTree/templates/collapse.html delete mode 100644 InvenTree/templates/collapse_index.html delete mode 100644 InvenTree/templates/required_part_table.html delete mode 100644 InvenTree/templates/slide.html diff --git a/InvenTree/build/templates/build/edit_build_item.html b/InvenTree/build/templates/build/edit_build_item.html deleted file mode 100644 index 99cad71ba2..0000000000 --- a/InvenTree/build/templates/build/edit_build_item.html +++ /dev/null @@ -1,10 +0,0 @@ -{% extends "modal_form.html" %} -{% load i18n %} - -{% block pre_form_content %} -
-

- {% trans "Alter the quantity of stock allocated to the build output" %} -

-
-{% endblock %} \ No newline at end of file diff --git a/InvenTree/common/templates/common/delete_currency.html b/InvenTree/common/templates/common/delete_currency.html deleted file mode 100644 index 9dfa320668..0000000000 --- a/InvenTree/common/templates/common/delete_currency.html +++ /dev/null @@ -1,7 +0,0 @@ -{% extends "modal_delete_form.html" %} - -{% block pre_form_content %} - -Are you sure you wish to delete this currency? - -{% endblock %} \ No newline at end of file diff --git a/InvenTree/stock/templates/stock/stock_adjust.html b/InvenTree/stock/templates/stock/stock_adjust.html deleted file mode 100644 index 60a9ec2658..0000000000 --- a/InvenTree/stock/templates/stock/stock_adjust.html +++ /dev/null @@ -1,50 +0,0 @@ -{% load i18n %} -{% load inventree_extras %} - -{% block pre_form_content %} - -{% endblock %} - -
- {% csrf_token %} - {% load crispy_forms_tags %} - - - - - - - - - {% if edit_quantity %} - - {% endif %} - - - {% for item in stock_items %} - - - - - - - - {% endfor %} -
{% trans "Stock Item" %}{% trans "Location" %}{% trans "Quantity" %}{{ stock_action_title }}
{% include "hover_image.html" with image=item.part.image hover=True %} - {{ item.part.full_name }} {{ item.part.description }}{{ item.location.pathstring }}{% decimal item.quantity %} - {% if edit_quantity %} - - {% if item.error %} -
{{ item.error }} - {% endif %} - {% else %} - - {% endif %} -
- - {% crispy form %} - -
\ No newline at end of file diff --git a/InvenTree/stock/templates/stock/stock_move.html b/InvenTree/stock/templates/stock/stock_move.html deleted file mode 100644 index c7de8c74b2..0000000000 --- a/InvenTree/stock/templates/stock/stock_move.html +++ /dev/null @@ -1 +0,0 @@ -{% extends "modal_form.html" %} \ No newline at end of file diff --git a/InvenTree/templates/attachment_delete.html b/InvenTree/templates/attachment_delete.html deleted file mode 100644 index 4ee7f03cb1..0000000000 --- a/InvenTree/templates/attachment_delete.html +++ /dev/null @@ -1,7 +0,0 @@ -{% extends "modal_delete_form.html" %} -{% load i18n %} - -{% block pre_form_content %} -{% trans "Are you sure you want to delete this attachment?" %} -
-{% endblock %} \ No newline at end of file diff --git a/InvenTree/templates/collapse.html b/InvenTree/templates/collapse.html deleted file mode 100644 index 5624f34094..0000000000 --- a/InvenTree/templates/collapse.html +++ /dev/null @@ -1,23 +0,0 @@ -{% block collapse_preamble %} -{% endblock %} -
-
-
-
- - {% block collapse_heading %} - {% endblock %} -
-
-
-
- {% block collapse_content %} - {% endblock %} -
-
-
-
\ No newline at end of file diff --git a/InvenTree/templates/collapse_index.html b/InvenTree/templates/collapse_index.html deleted file mode 100644 index 6e918d7217..0000000000 --- a/InvenTree/templates/collapse_index.html +++ /dev/null @@ -1,19 +0,0 @@ -{% block collapse_preamble %} -{% endblock %} -
-
-
- - {% block collapse_heading %} - {% endblock %} -
-
-
- {% block collapse_content %} - {% endblock %} -
-
-
-
\ No newline at end of file diff --git a/InvenTree/templates/required_part_table.html b/InvenTree/templates/required_part_table.html deleted file mode 100644 index a1e26e2894..0000000000 --- a/InvenTree/templates/required_part_table.html +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - - - - {% for part in parts %} - - - - - - - {{ part.net_stock }} - - {% endfor %} -
PartDescriptionIn StockOn OrderAlloctedNet Stock
- {% include "hover_image.html" with image=part.image hover=True %} - {{ part.full_name }} - {{ part.description }}{{ part.total_stock }}{{ part.on_order }}{{ part.allocation_count }}
\ No newline at end of file diff --git a/InvenTree/templates/slide.html b/InvenTree/templates/slide.html deleted file mode 100644 index edd39e75a2..0000000000 --- a/InvenTree/templates/slide.html +++ /dev/null @@ -1,3 +0,0 @@ -
- -
\ No newline at end of file