This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
u-auth/uauth/templates/uauth/organization.html

43 lines
1.0 KiB
HTML

{% extends theme_base %}
{% load i18n %}
{% block more-user-links %}
<h3>{{ organization.name }}</h3>
{% endblock %}
{% block content %}
<div id='idps'>
<h3>{% trans "Identity providers" %}</h3>
<ul>
{% for idp in idps %}
<li><a href="{% url "mellon_login" %}?entity_id={{idp.ENTITY_ID }}&next={{ relay }}">{{ idp.NAME }}</a></li>
{% empty %}
<li>{% trans "no idp defined" %}</li>
{% endfor %}
</ul>
</div>
<div id='login'>
<h3>{% trans "Guest login" %}</h3>
<div id='guest-login'>
<h5>{% trans "by login/password" %}</h5>
<form method="post">
{% csrf_token %}
<ul>
{{ guest_login_form.as_ul }}
<li><button>{% trans "Login" %}</button></li>
</ul>
</form>
</div>
<div id="voucher-login">
<h5>{% trans "by voucher" %}</h5>
<form method="post">
{% csrf_token %}
<ul>
{{ voucher_login_form.as_ul }}
<li><button>{% trans "Login" %}</button></li>
</ul>
</form>
</div>
</div>
{% endblock %}