Release 2.59 (#5957)
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
{% if form_theme is defined %}
|
||||
{% form_theme form form_theme %}
|
||||
{% endif %}
|
||||
{% set bodyClasses = 'card-body' %}
|
||||
{% if fullsize ?? false %}
|
||||
{% set bodyClasses = bodyClasses ~ ' p-0' %}
|
||||
{% endif %}
|
||||
{% set _back = back is defined and back is not same as (false) ? back : false %}
|
||||
{% set _reset = reset is defined and reset is same as (false) ? false : true %}
|
||||
<div class="card mb-3">
|
||||
@@ -14,7 +18,7 @@
|
||||
{% endif %}
|
||||
</h3>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<div class="{{ bodyClasses }}">
|
||||
{% block form_body_outer %}
|
||||
{% block form_body_pre %}
|
||||
{{ form_errors(form) }}
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
{% set bodyClasses = 'modal-body' %}
|
||||
{% if fullsize ?? false %}
|
||||
{% set bodyClasses = bodyClasses ~ ' p-0' %}
|
||||
{% endif %}
|
||||
<div class="modal {% block modal_class %}{% endblock %}" id="{% block modal_id %}form_modal{% endblock %}" tabindex="-1" role="dialog" aria-labelledby="{{ block('modal_id') }}_label">
|
||||
<div class="modal-dialog {% block modal_size %}modal-lg{% endblock %}" role="document">
|
||||
<div class="modal-content">
|
||||
@@ -14,7 +18,7 @@
|
||||
</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="{{ 'action.close'|trans }}"></button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<div class="{{ bodyClasses }}">
|
||||
{% block modal_body %}
|
||||
{% block form_body_outer %}
|
||||
{% block form_body_pre %}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
{% block wizard_content %}
|
||||
<div class="card-body text-center py-4 p-sm-7">
|
||||
<img src="{{ asset('touch-icon-512x512.png') }}" height="120" class="mb-n2" alt="Illustration by Katerina Limpitsouni from https://undraw.co/">
|
||||
<img src="{{ asset('touch-icon-512x512.png') }}" style="height: 200px" alt="Kimai Logo">
|
||||
<h1 class="mt-5">{{ 'wizard.done.title'|trans({}, 'wizard') }}</h1>
|
||||
<p class="text-body-secondary">{{ 'wizard.done.description'|trans({}, 'wizard') }}</p>
|
||||
</div>
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
|
||||
{% block wizard_previous_button %}
|
||||
{% if previous is defined and previous is not null %}
|
||||
{{ button(false, { title : 'Previous'|trans({}, 'TablerBundle'), combined: true, url: path('wizard', {'wizard': previous}) }, 'link') }}
|
||||
{{ button(false, { title : 'Previous'|trans({}, 'TablerBundle'), combined: true, url: path(previous) }, 'link') }}
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
{{ submit_button(false, { title : 'Next'|trans({}, 'TablerBundle'), combined: true }, 'primary') }}
|
||||
{% else %}
|
||||
{% if next is defined and next is not null %}
|
||||
{{ button(false, { title : 'Next'|trans({}, 'TablerBundle'), combined: true, url: path('wizard', {'wizard': next}) }, 'primary') }}
|
||||
{{ button(false, { title : 'Next'|trans({}, 'TablerBundle'), combined: true, url: path(next) }, 'primary') }}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user