From 1ab4815e8a5bf912d87879a82e1c40aa5debf057 Mon Sep 17 00:00:00 2001
From: Prachi Srivastava
Date: Mon, 26 Nov 2018 12:51:20 +0530
Subject: [PATCH] Adds toggle to select all for deletion
Reviewed-by: James Valleroy
---
.../templates/snapshot_delete_all.html | 57 -------------------
.../templates/snapshot_delete_selected.html | 2 +-
.../snapshot/templates/snapshot_manage.html | 21 +++++--
plinth/modules/snapshot/urls.py | 1 -
plinth/modules/snapshot/views.py | 35 ++++--------
5 files changed, 30 insertions(+), 86 deletions(-)
delete mode 100644 plinth/modules/snapshot/templates/snapshot_delete_all.html
diff --git a/plinth/modules/snapshot/templates/snapshot_delete_all.html b/plinth/modules/snapshot/templates/snapshot_delete_all.html
deleted file mode 100644
index 2e7e7f23b..000000000
--- a/plinth/modules/snapshot/templates/snapshot_delete_all.html
+++ /dev/null
@@ -1,57 +0,0 @@
-{% extends "base.html" %}
-{% comment %}
-#
-# This file is part of FreedomBox.
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU Affero General Public License as
-# published by the Free Software Foundation, either version 3 of the
-# License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU Affero General Public License for more details.
-#
-# You should have received a copy of the GNU Affero General Public License
-# along with this program. If not, see .
-#
-{% endcomment %}
-
-{% load bootstrap %}
-{% load i18n %}
-
-{% block content %}
-
{{ title }}
-
-
{% trans "Delete the following snapshots permanently?" %}
-
-
-
-
{% trans "Number" %}
-
{% trans "Date" %}
-
{% trans "Description" %}
-
-
- {% for snapshot in snapshots %}
- {% if not snapshot.is_default %}
-