Added admin clear & delete buttons for websites

This commit is contained in:
Simon
2018-06-20 10:48:51 -04:00
parent cef9e2c8a1
commit 35837463cd
8 changed files with 107 additions and 20 deletions

View File

@@ -40,6 +40,10 @@
<hr>
<a href="/website/{{ website.id }}/links" class="btn btn-shadow btn-primary">Link list</a>
<a href="/website/{{ website.id }}/json_chart" class="btn btn-shadow btn-primary">Summary (JSON)</a>
{% if "username" in session %}
<a href="/website/{{ website.id }}/clear" class="btn btn-danger"><i class="fas fa-exclamation"></i> Clear</a>
<a href="/website/{{ website.id }}/delete" class="btn btn-danger"><i class="fas fa-trash"></i> Delete</a>
{% endif %}
</div>
</div>
</div>