diff --git a/ereuse_devicehub/templates/inventory/upload_snapshot.html b/ereuse_devicehub/templates/inventory/upload_snapshot.html index c7580c11..66bbc4c7 100644 --- a/ereuse_devicehub/templates/inventory/upload_snapshot.html +++ b/ereuse_devicehub/templates/inventory/upload_snapshot.html @@ -30,15 +30,28 @@ {% endif %} -
+ {{ form.csrf_token }}
- +
- + {{ form.snapshot }}
You can select multiple files Snapshots JSON.
+ {% if form.result %} + {% for filename, result in form.result.items() %} + {% if result == 'Ok' %} +

+ {{ filename }}: {{ result }}
+

+ {% else %} +

+ {{ filename }}: {{ result }}
+

+ {% endif %} + {% endfor %} + {% endif %}