mirror of
https://github.com/pretix/pretix.git
synced 2026-05-21 17:54:08 +00:00
Reformat code
This commit is contained in:
@@ -12,28 +12,30 @@
|
|||||||
<div class="form-group{% if form.devicetype.errors %} has-error{% endif %}">
|
<div class="form-group{% if form.devicetype.errors %} has-error{% endif %}">
|
||||||
<label class="col-md-3 control-label">{% trans "Device type" %}</label>
|
<label class="col-md-3 control-label">{% trans "Device type" %}</label>
|
||||||
<div class="col-md-9">
|
<div class="col-md-9">
|
||||||
<div><div class="big-radio radio">
|
<div>
|
||||||
<label>
|
<div class="big-radio radio">
|
||||||
<input type="radio" value="totp" name="{{ form.devicetype.html_name }}" {% if form.devicetype.value == "totp" %}checked{% endif %}>
|
<label>
|
||||||
<strong>{% trans "Smartphone with Authenticator app" %}</strong><br>
|
<input type="radio" value="totp" name="{{ form.devicetype.html_name }}" {% if form.devicetype.value == "totp" %}checked{% endif %}>
|
||||||
<div class="help-block">
|
<strong>{% trans "Smartphone with Authenticator app" %}</strong><br>
|
||||||
{% blocktrans trimmed %}
|
<div class="help-block">
|
||||||
Use your smartphone with any Time-based One-Time-Password app like freeOTP, Google Authenticator or Proton Authenticator.
|
{% blocktrans trimmed %}
|
||||||
{% endblocktrans %}
|
Use your smartphone with any Time-based One-Time-Password app like freeOTP, Google Authenticator or Proton Authenticator.
|
||||||
</div>
|
{% endblocktrans %}
|
||||||
</label>
|
</div>
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
<div class="big-radio radio">
|
||||||
|
<label>
|
||||||
|
<input type="radio" value="webauthn" name="{{ form.devicetype.html_name }}" {% if form.devicetype.value == "webauthn" %}checked{% endif %}>
|
||||||
|
<strong>{% trans "WebAuthn-compatible hardware token" %}</strong><br>
|
||||||
|
<div class="help-block">
|
||||||
|
{% blocktrans trimmed %}
|
||||||
|
Use a hardware token like the Yubikey, or other biometric authentication like fingerprint or face recognition.
|
||||||
|
{% endblocktrans %}
|
||||||
|
</div>
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="big-radio radio">
|
|
||||||
<label>
|
|
||||||
<input type="radio" value="webauthn" name="{{ form.devicetype.html_name }}" {% if form.devicetype.value == "webauthn" %}checked{% endif %}>
|
|
||||||
<strong>{% trans "WebAuthn-compatible hardware token" %}</strong><br>
|
|
||||||
<div class="help-block">
|
|
||||||
{% blocktrans trimmed %}
|
|
||||||
Use a hardware token like the Yubikey, or other biometric authentication like fingerprint or face recognition.
|
|
||||||
{% endblocktrans %}
|
|
||||||
</div>
|
|
||||||
</label>
|
|
||||||
</div></div>
|
|
||||||
|
|
||||||
{% if form.devicetype.errors %}
|
{% if form.devicetype.errors %}
|
||||||
<div class="help-block">
|
<div class="help-block">
|
||||||
|
|||||||
Reference in New Issue
Block a user