authentic2-auth-fedict/src/authentic2_auth_fedict/templates/authentic2_auth_fedict/login.html

24 lines
668 B
HTML

{% load i18n static %}<form method="post" id="csam-login">
<div>
<img src="{% static "authentic2_auth_fedict/img/beid_image_mini.png" %}" alt="">
<p>
{% blocktrans %}
In order to log in, you will either need your eID card and its card reader
or your list of personal tokens.
{% endblocktrans %}
</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>