0
0
mirror of https://github.com/kevinpapst/kimai2.git synced 2024-12-22 12:18:29 +00:00
kevinpapst_kimai2/templates/wizard/layout.html.twig
Kevin Papst 38e37f1c2e
Release 2.1.0 (#4321)
* fix deprecations
* remove unused config
* replace invalid annotation type with attribute
* use AsDoctrineListener to fix deprecation
* new ModifiedSubscriber to support custom logic and fix deprecation
* removed inheritdoc comment
* new ModifiedSubscriber to support custom logic and fix deprecation
* cleanup event dispatcher interface
* re-order annotation params
* one more doctrine based deprecation
* fix query to count active timesheets
* link to "all times" to identify active timesheets
* link icon instead of text
* fix "skin" translation in wizard
* use duration filter to show duration
* added login link command and controller
* bump tabler theme to 1.0
* added wizard to force password reset by user
* allow to configure that new accounts need to reset their password
* prevent uploading twig templates by default
* bump composer packages
* enable sandbox and basic security measures for custom twig templates for invoice and export
* bump to symfony 6.3.5
* allow to export single user reports to excel
* removed broken method to reload twig cache
* added api parameter to fetch user collection fully serialized
* allow to replace or append description via timesheet batch update
* show api username above form
2023-10-19 11:21:50 +02:00

43 lines
1.5 KiB
Twig

{% extends '@Tabler/wizard.html.twig' %}
{% from '@Tabler/components/button.html.twig' import button %}
{% from '@Tabler/components/buttons.html.twig' import submit_button %}
{% from '@Tabler/components/progress_bar.html.twig' import progress_bar %}
{% block title %}{{- get_title() -}}{% endblock %}
{% block container_size %}container-tight{% endblock %}
{% block wizard_logo %}{% endblock %}
{% block wizard_before %}
{% if form is defined %}
{{ form_start(form) }}
{% endif %}
{% endblock %}
{% block wizard_after %}
{% if form is defined %}
{{ form_end(form) }}
{% endif %}
{% endblock %}
{% block wizard_progress_bar %}
{% if percent is defined and percent is not null %}
{{ progress_bar({current: percent, max: 100, min: 0}) }}
{% endif %}
{% endblock %}
{% 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') }}
{% endif %}
{% endblock %}
{% block wizard_next_button %}
{% if form is defined %}
{{ 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') }}
{% endif %}
{% endif %}
{% endblock %}