You've already forked twofactorauth
mirror of
https://github.com/token2/twofactorauth.git
synced 2026-03-13 11:16:05 -07:00
35 lines
1.0 KiB
HTML
35 lines
1.0 KiB
HTML
{% if include.website.exceptions %}
|
|
|
|
{% capture html %}
|
|
<div class='header'>
|
|
Exceptions & Restrictions
|
|
</div>
|
|
<div class='content'>
|
|
{% if include.website.exceptions.text %}
|
|
{{ include.website.exceptions.text }}
|
|
{% else %}
|
|
{% if include.website.exceptions.link %}
|
|
Click to see more info on the restrictions.
|
|
{% else %}
|
|
Some restrictions on 2FA for this site exist.
|
|
{% endif %}
|
|
{% endif %}
|
|
</div>
|
|
{% endcapture %}
|
|
|
|
{% if include.website.exceptions.link %}
|
|
<a class="popup exception"
|
|
href="/restrictions#{{ include.website.name | downcase | handle }}"
|
|
data-position="bottom center"
|
|
data-html="{{ html | strip_newlines }}">
|
|
<i class="warning red link icon"></i>
|
|
</a>
|
|
{% else %}
|
|
<span class="popup exception"
|
|
data-position="bottom center"
|
|
data-html="{{ html | strip_newlines }}">
|
|
<i class="warning red link icon"></i>
|
|
</span>
|
|
{% endif %}
|
|
{% endif %}
|