From 6494e2bedc66e593a87723afc300911df96a1c0b Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Mon, 5 Aug 2024 13:32:52 +0200 Subject: [PATCH] Import device from a file --- dashboard/templates/base.html | 2 +- device/forms.py | 6 +- device/templates/details.html | 8 -- evidence/forms.py | 125 +++++++++++++++++++++++++ evidence/urls.py | 1 + evidence/views.py | 25 ++++- example/placeholders1.ods | Bin 0 -> 13284 bytes example/{ => snapshots}/snapshot1.json | 0 requirements.txt | 6 +- reset.sh | 2 +- 10 files changed, 160 insertions(+), 15 deletions(-) create mode 100644 example/placeholders1.ods rename example/{ => snapshots}/snapshot1.json (100%) diff --git a/dashboard/templates/base.html b/dashboard/templates/base.html index bcf569f..67c7573 100644 --- a/dashboard/templates/base.html +++ b/dashboard/templates/base.html @@ -132,7 +132,7 @@