mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 06:42:16 +00:00
26 lines
893 B
HTML
26 lines
893 B
HTML
{% extends "base.html" %}
|
|
|
|
{% block title %}External Service Account{% endblock %}
|
|
|
|
{% block content %}
|
|
{% if error %}
|
|
<div style="border: 1px solid #FF0000; background: #FF7D7D; width: 100%; text-align: center;">
|
|
<b>Error:</b> Your account has not been created. Either you already have a user on this service or a error has occured. If you think
|
|
this is incorrect please raise a bug on the tracker.
|
|
</div>
|
|
{% else %}
|
|
<p>Your account on {{ acc.service }} has been created. Your login details are as follows:</p>
|
|
|
|
<table>
|
|
<tr><td>Service:</td><td>{{ acc.service.name }}</td></tr>
|
|
<tr><td>Service URL:</td><td><a href="{{ acc.service.url }}">{{ acc.service.url }}</a></td></tr>
|
|
{% for key,value in ret.items %}
|
|
<tr><td>{{ key|title }}:</td><td>{{ value }}</td></tr>
|
|
{% endfor %}
|
|
</table>
|
|
|
|
<p><a href="{% url sso.views.profile %}">Return to your profile page</a></p>
|
|
{% endif %}
|
|
|
|
{% endblock %}
|