2018-12-26 16:21:20 +00:00
|
|
|
{% extends "login/base.html" %}
|
2018-11-16 08:10:35 +00:00
|
|
|
|
2018-11-16 09:08:15 +00:00
|
|
|
{% load utils %}
|
2018-11-16 08:10:35 +00:00
|
|
|
{% load i18n %}
|
|
|
|
|
|
|
|
{% block title %}
|
2018-12-26 16:21:20 +00:00
|
|
|
{% title 'Authorize Application' %}
|
2018-11-16 08:10:35 +00:00
|
|
|
{% endblock %}
|
|
|
|
|
2018-12-26 16:21:20 +00:00
|
|
|
{% block card %}
|
|
|
|
<header class="login-pf-header">
|
2019-03-08 11:47:50 +00:00
|
|
|
<h1>{% trans 'Authorize Application' %}</h1>
|
2018-12-26 16:21:20 +00:00
|
|
|
</header>
|
2019-03-08 11:47:50 +00:00
|
|
|
<form method="POST" action="{{ acs_url }}">
|
|
|
|
{% csrf_token %}
|
|
|
|
<input type="hidden" name="ACSUrl" value="{{ acs_url }}">
|
|
|
|
<input type="hidden" name="RelayState" value="{{ relay_state }}" />
|
|
|
|
<input type="hidden" name="SAMLResponse" value="{{ saml_response }}" />
|
|
|
|
<div class="login-group">
|
|
|
|
<h3>
|
2019-03-08 20:30:16 +00:00
|
|
|
{% blocktrans with remote=remote.application.name %}
|
2019-03-08 11:47:50 +00:00
|
|
|
You're about to sign into {{ remote }}
|
|
|
|
{% endblocktrans %}
|
|
|
|
</h3>
|
|
|
|
<p>
|
|
|
|
{% blocktrans with user=user %}
|
|
|
|
You are logged in as {{ user }}.
|
|
|
|
{% endblocktrans %}
|
|
|
|
<a href="{% url 'passbook_core:auth-logout' %}">{% trans 'Not you?' %}</a>
|
|
|
|
</p>
|
|
|
|
<input class="btn btn-primary btn-block btn-lg" type="submit" value="{% trans 'Continue' %}" />
|
2018-11-16 08:10:35 +00:00
|
|
|
</div>
|
2018-12-26 16:21:20 +00:00
|
|
|
</form>
|
2018-11-16 08:10:35 +00:00
|
|
|
{% endblock %}
|