mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-24 23:29:29 +00:00
Reorganise the file structure into a project tree
This commit is contained in:
25
app/templates/sso/serviceaccount/created.html
Normal file
25
app/templates/sso/serviceaccount/created.html
Normal file
@@ -0,0 +1,25 @@
|
||||
{% 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|safe }}</td></tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
|
||||
<p><a href="{% url sso.views.profile %}">Return to your profile page</a></p>
|
||||
{% endif %}
|
||||
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user