Files
bus-manager/busManager/coord/templates/admin/backup_compare.html
T
2026-02-04 13:32:37 +11:00

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 %}