20 lines
544 B
HTML
20 lines
544 B
HTML
{% extends "admin/base_site.html" %}
|
|
|
|
{% block content %}
|
|
<h1>Backup Comparison</h1>
|
|
|
|
<h2>Summary</h2>
|
|
<ul>
|
|
{% for model, counts in summary.items %}
|
|
<li>{{ model }}: Added {{ counts.add }}, Removed {{ counts.remove }}, Modified {{ counts.modify }}</li>
|
|
{% endfor %}
|
|
</ul>
|
|
|
|
<!-- Optional: show details -->
|
|
<pre>{{ details|safe }}</pre>
|
|
|
|
<form method="post" action="{% url 'restore_backup' %}">
|
|
{% csrf_token %}
|
|
<button type="submit">Execute Recovery</button>
|
|
</form>
|
|
{% endblock %} |