Browse Source

add link to /manage-snapshots in site-settings.html template.

This is part of the 'danger zone' section in the site-settings.html
template. The back-end for this feature is not implemented at the time of this
commit.
stable
Craig Oates 1 year ago
parent
commit
250305e8b0
  1. 33
      templates/user/site-settings.html

33
templates/user/site-settings.html

@ -86,7 +86,7 @@
<hr>
<h2>Site Logo</h2>
<h2>Site Logo</h2>
<form class="be-gui-form"
action="/site-settings/update-site-logo"
method="post"
@ -159,8 +159,8 @@
>
<label>Enable Sign-Up</label>
<button class="be-gui-button-no-text"
title="Click to save 'Enable Sign-Up' setting"
type="submit">
title="Click to save 'Enable Sign-Up' setting"
type="submit">
<img alt="Save nav. menu setting for{{db-data.title}}"
src="/images/icons/save.png">
</button>
@ -199,8 +199,8 @@
{% endfor %}
<br>
<button class="be-gui-button"
title="Click to update Navigation Menu"
type="submit">
title="Click to update Navigation Menu"
type="submit">
<img alt="Update Navigation Menu"
src="/images/icons/save.png">
Update Navigation Menu
@ -260,8 +260,8 @@
name="CODE-SNIPPET">{{site-wide-snippet}}
</textarea>
<button class="be-gui-button"
title="Click to save 'Enable Sign-Up' setting"
type="submit">
title="Click to save 'Enable Sign-Up' setting"
type="submit">
<img alt="Save nav. menu setting for{{db-data.title}}"
src="/images/icons/save.png">
Save Snippet
@ -348,6 +348,25 @@
Reset Website
</button>
</form>
<p class="be-gui-form-hint">
<strong>
This is a link -- nothing is deleted if you press
this.
</strong>
Use this to manage the website's Snapshots (a versioned copy of the
website's data).
<strong class="be-warning">
Do not treat these as back-ups until they are off the server.
</strong>
</p>
<a class="be-gui-link danger"
title="Click to manage the website's Snapshots"
href="/danger/manage-snapshots">
<img alt="Manage Snapshots"
src="/images/icons/edit-entry.png">
Manage Snapshots
</a>
</div>
{% endif %}
</main>

Loading…
Cancel
Save