mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-05-19 18:01:30 +00:00
Fixed text justification in download modal
This commit is contained in:
parent
ba11eab4e8
commit
8bf25a1e38
2 changed files with 10 additions and 3 deletions
|
|
@ -427,7 +427,7 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if not backup_restore_disabled and is_granted('@system.manage_updates') %}
|
{% if not backup_restore_disabled and is_granted('@system.manage_updates') %}
|
||||||
<form action="{{ path('admin_update_manager_restore') }}" method="post" class="d-inline"
|
<form action="{{ path('admin_update_manager_restore') }}" method="post" class="d-inline"
|
||||||
data-controller="backup-restore"
|
{{ stimulus_controller('backup-restore') }}
|
||||||
data-backup-restore-filename-value="{{ backup.file }}"
|
data-backup-restore-filename-value="{{ backup.file }}"
|
||||||
data-backup-restore-date-value="{{ backup.date|date('Y-m-d H:i') }}"
|
data-backup-restore-date-value="{{ backup.date|date('Y-m-d H:i') }}"
|
||||||
data-backup-restore-confirm-title-value="{{ 'update_manager.restore_confirm_title'|trans }}"
|
data-backup-restore-confirm-title-value="{{ 'update_manager.restore_confirm_title'|trans }}"
|
||||||
|
|
@ -456,9 +456,10 @@
|
||||||
</form>
|
</form>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% if not backup_download_disabled and is_granted('@system.manage_updates') %}
|
{% if not backup_download_disabled and is_granted('@system.manage_updates') %}
|
||||||
{# Per-backup download modal - no inline JS needed, CSP compatible with Turbo #}
|
{# Per-backup download modal - no inline JS needed, CSP compatible with Turbo #}
|
||||||
<div class="modal fade" id="downloadBackupModal-{{ loop.index }}" tabindex="-1" aria-hidden="true">
|
<div class="modal fade text-start" id="downloadBackupModal-{{ loop.index }}" tabindex="-1" aria-hidden="true">
|
||||||
<div class="modal-dialog">
|
<div class="modal-dialog">
|
||||||
<div class="modal-content">
|
<div class="modal-content">
|
||||||
<form action="{{ path('admin_update_manager_backup_download') }}" method="post" data-turbo="false">
|
<form action="{{ path('admin_update_manager_backup_download') }}" method="post" data-turbo="false">
|
||||||
|
|
@ -487,7 +488,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">
|
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">
|
||||||
{% trans %}cancel{% endtrans %}
|
{% trans %}modal.cancel{% endtrans %}
|
||||||
</button>
|
</button>
|
||||||
<button type="submit" class="btn btn-primary" data-bs-dismiss="modal">
|
<button type="submit" class="btn btn-primary" data-bs-dismiss="modal">
|
||||||
<i class="fas fa-download me-1"></i>{% trans %}update_manager.backup.download{% endtrans %}
|
<i class="fas fa-download me-1"></i>{% trans %}update_manager.backup.download{% endtrans %}
|
||||||
|
|
|
||||||
|
|
@ -12917,5 +12917,11 @@ Buerklin-API Authentication server:
|
||||||
<target>View as plain text</target>
|
<target>View as plain text</target>
|
||||||
</segment>
|
</segment>
|
||||||
</unit>
|
</unit>
|
||||||
|
<unit id="Ehsj93c" name="modal.cancel">
|
||||||
|
<segment>
|
||||||
|
<source>modal.cancel</source>
|
||||||
|
<target>Cancel</target>
|
||||||
|
</segment>
|
||||||
|
</unit>
|
||||||
</file>
|
</file>
|
||||||
</xliff>
|
</xliff>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue