29
templates/default/transfer_summary.html.twig
Normal file
29
templates/default/transfer_summary.html.twig
Normal file
@@ -0,0 +1,29 @@
|
||||
{% extends 'base.html.twig' %}
|
||||
|
||||
{% block body %}
|
||||
<div class="container mt-5 text-center">
|
||||
<h2 class="text-success">Database Transfer Complete!</h2>
|
||||
<p>Your data has been successfully moved to the new database, and the environment variables have been updated.</p>
|
||||
|
||||
{% if logs|length > 0 %}
|
||||
<div class="alert alert-warning text-start mx-auto" style="max-width: 600px;">
|
||||
<h5 class="alert-heading">Data Clean-up Notice</h5>
|
||||
<p>During the transfer, the following orphaned records were safely ignored to maintain database integrity:</p>
|
||||
<ul>
|
||||
{% for log in logs %}
|
||||
<li>{{ log }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
{% else %}
|
||||
<div class="alert alert-success mx-auto" style="max-width: 600px;">
|
||||
Perfect transfer! No orphaned records were found.
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<div class="mt-4">
|
||||
<p class="text-muted">You must log in again to establish a connection with the new database.</p>
|
||||
<a href="{{ path('app_logout') }}" class="btn btn-primary btn-lg">Acknowledge & Relogin</a>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user