Merge pull request #2769 from alphagov/delete-redis-button

Clear redis cache page
This commit is contained in:
Leo Hemsted
2019-02-19 16:20:55 +00:00
committed by GitHub
23 changed files with 201 additions and 62 deletions

View File

@@ -24,6 +24,7 @@
('Email Complaints', url_for('main.platform_admin_list_complaints')),
('Returned letters', url_for('main.platform_admin_returned_letters')),
('Letter validation preview', url_for('main.platform_admin_letter_validation_preview')),
('Clear cache', url_for('main.clear_cache')),
] %}
<li>
<a href="{{ url }}">

View File

@@ -0,0 +1,21 @@
{% extends "views/platform-admin/_base_template.html" %}
{% from "components/form.html" import form_wrapper %}
{% from "components/radios.html" import radios %}
{% from "components/page-footer.html" import page_footer %}
{% block per_page_title %}
Clear Cache
{% endblock %}
{% block platform_admin_content %}
<h1 class="heading-large">
Clear Cache
</h1>
{% call form_wrapper() %}
{{ radios(form.model_type) }}
{{ page_footer('Clear') }}
{% endcall %}
{% endblock %}