From aba5b9dc3b8811ab50983dd1e1cc0ff663927e3d Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Wed, 12 Jan 2022 20:26:14 +0100 Subject: [PATCH] confirmation dialog when deleting a lot --- .../{addinglot.html => addDeviceslot.html} | 0 .../templates/inventory/device_list.html | 9 ++++---- ...removinglot.html => removeDeviceslot.html} | 0 .../templates/inventory/removelot.html | 23 +++++++++++++++++++ 4 files changed, 28 insertions(+), 4 deletions(-) rename ereuse_devicehub/templates/inventory/{addinglot.html => addDeviceslot.html} (100%) rename ereuse_devicehub/templates/inventory/{removinglot.html => removeDeviceslot.html} (100%) create mode 100644 ereuse_devicehub/templates/inventory/removelot.html diff --git a/ereuse_devicehub/templates/inventory/addinglot.html b/ereuse_devicehub/templates/inventory/addDeviceslot.html similarity index 100% rename from ereuse_devicehub/templates/inventory/addinglot.html rename to ereuse_devicehub/templates/inventory/addDeviceslot.html diff --git a/ereuse_devicehub/templates/inventory/device_list.html b/ereuse_devicehub/templates/inventory/device_list.html index 7c3ab5ae..dc0cb4d0 100644 --- a/ereuse_devicehub/templates/inventory/device_list.html +++ b/ereuse_devicehub/templates/inventory/device_list.html @@ -45,11 +45,11 @@ -{% include "inventory/addinglot.html" %} -{% include "inventory/removinglot.html" %} +{% include "inventory/addDeviceslot.html" %} +{% include "inventory/removeDeviceslot.html" %} +{% include "inventory/removelot.html" %} {% include "inventory/actions.html" %} diff --git a/ereuse_devicehub/templates/inventory/removinglot.html b/ereuse_devicehub/templates/inventory/removeDeviceslot.html similarity index 100% rename from ereuse_devicehub/templates/inventory/removinglot.html rename to ereuse_devicehub/templates/inventory/removeDeviceslot.html diff --git a/ereuse_devicehub/templates/inventory/removelot.html b/ereuse_devicehub/templates/inventory/removelot.html new file mode 100644 index 00000000..125d97d3 --- /dev/null +++ b/ereuse_devicehub/templates/inventory/removelot.html @@ -0,0 +1,23 @@ +