From b0efc40a9430550a85dad62b18976417659193fa Mon Sep 17 00:00:00 2001 From: Craig Oates Date: Sat, 22 Oct 2022 19:48:07 +0100 Subject: [PATCH] add 'reset website' form to /user/site-settings.html template. This is part of the 'danger zone' section in site's settings. The back-end for this feature is not yet implemented. --- templates/user/site-settings.html | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/templates/user/site-settings.html b/templates/user/site-settings.html index d7951a5..77be09c 100644 --- a/templates/user/site-settings.html +++ b/templates/user/site-settings.html @@ -276,6 +276,7 @@

Be careful here. You can break the website and lose data.

+
@@ -297,6 +298,28 @@ Re-populate Search Database
+ +
+ +

+ This deletes all the User Accounts, Pages, Archive Entries and + files you've uploaded to Storage. Use this if you want to wipe + the site clean and start again. It, also, clears the 'Search + Service' database. +

+ +
{% endif %}