mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-05-14 23:41:30 +00:00
Rename Twig globals: col_label, col_input, offset_label
Co-authored-by: jbtronics <5410681+jbtronics@users.noreply.github.com>
This commit is contained in:
parent
815b2b6c7d
commit
17e83a9da5
34 changed files with 80 additions and 80 deletions
|
|
@ -33,7 +33,7 @@
|
|||
|
||||
{% if displayTrustedOption %}
|
||||
<div class="form-group row mt-3">
|
||||
<div class="{{ offset_col }} {{ input_col }}">
|
||||
<div class="{{ offset_label }} {{ col_input }}">
|
||||
<div class="custom-checkbox custom-control ms-2">
|
||||
<input id="_trusted" class="form-check-input" type="checkbox" name="{{ trustedParameterName }}" />
|
||||
<label class="form-check-label" for="_trusted">{% trans %}tfa.code.trusted_pc{% endtrans %}</label>
|
||||
|
|
@ -48,7 +48,7 @@
|
|||
|
||||
{% block submit_btn %}
|
||||
<div class="form-group-row">
|
||||
<div class="{{ offset_col }} {{ input_col }}">
|
||||
<div class="{{ offset_label }} {{ col_input }}">
|
||||
<button type="submit" class="btn btn-primary" value="{{ "login"|trans({}, 'SchebTwoFactorBundle') }}">{% trans %}login.btn{% endtrans %}</button>
|
||||
<a class="ms-2" href="{{ logoutPath }}">{% trans %}user.logout{% endtrans %}</a>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@
|
|||
{% block card_content %}
|
||||
|
||||
{% if saml_enabled %}
|
||||
<div class="{{ offset_col }} {{ input_col }}">
|
||||
<div class="{{ offset_label }} {{ col_input }}">
|
||||
<a class="btn btn-secondary" href="{{ path('saml_login') }}"><i class="fa-solid fa-house-user"></i> {% trans %}login.sso_saml_login{% endtrans %}</a>
|
||||
|
||||
<p class="text-muted">{% trans %}login.local_login_hint{% endtrans %}</p>
|
||||
|
|
@ -39,6 +39,6 @@
|
|||
{{ form_end(form) }}
|
||||
|
||||
{% if allow_email_pw_reset %}
|
||||
<a class="{{ offset_col }}" href="{{ path('pw_reset_request') }}">{% trans %}pw_reset.password_forget{% endtrans %}</a>
|
||||
<a class="{{ offset_label }}" href="{{ path('pw_reset_request') }}">{% trans %}pw_reset.password_forget{% endtrans %}</a>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue