35 lines
1.1 KiB
HTML
35 lines
1.1 KiB
HTML
{% extends "login/base.html" %}
|
|
|
|
{% load utils %}
|
|
{% load i18n %}
|
|
|
|
{% block title %}
|
|
{% title 'Authorize Application' %}
|
|
{% endblock %}
|
|
|
|
{% block card %}
|
|
<header class="login-pf-header">
|
|
<h1>{% trans 'Authorize Application' %}</h1>
|
|
</header>
|
|
<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>
|
|
{% blocktrans with remote=remote.application.name %}
|
|
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' %}" />
|
|
</div>
|
|
</form>
|
|
{% endblock %}
|