29 lines
923 B
HTML
29 lines
923 B
HTML
{% load i18n static %}<form method="post" id="csam-login">
|
|
<div>
|
|
{% if has_itsme %}
|
|
<img src="{% static "authentic2_auth_fedict/img/beid-itsme.png" %}" alt="">
|
|
{% else %}
|
|
<img src="{% static "authentic2_auth_fedict/img/beid_image_mini.png" %}" alt="">
|
|
{% endif %}
|
|
<p>
|
|
{% spaceless %}
|
|
{% trans "In order to log in, you will need your eID card and a card reader" %}{% if has_tokens %}
|
|
{% trans "or your list of personal tokens" %}{% endif %}{% if has_itsme %}
|
|
{% trans "or an itsme account" %}{% endif %}.
|
|
{% endspaceless %}
|
|
</p>
|
|
<p>
|
|
<button name="{{ submit_name }}">{% trans "Login" %}</button>
|
|
{% if cancel %}
|
|
<button name="cancel">{% trans 'Cancel' %}</button>
|
|
{% endif %}
|
|
</div>
|
|
</form>
|
|
<script>
|
|
$(function() {
|
|
$('#csam-login img').on('click', function() {
|
|
$('#csam-login button[name={{submit_name}}]').click();
|
|
});
|
|
});
|
|
</script>
|