mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-23 06:39:25 +00:00
Initial work on re-themeing auth with Bootstrap CSS
This commit is contained in:
@@ -3,20 +3,23 @@
|
||||
{% block title %}OAuth Access Authorization{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="page-header">
|
||||
<h1>Access Authorization</h1>
|
||||
</div>
|
||||
|
||||
<h1>Access Authorization</h1>
|
||||
<p>You have come here because you are in the process of allowing a external application to access your private Auth data. If you are not, then please close this window. Otherwise, please confirm below if you wish to give access to your private Auth data. This can be revoked at any time from the main Auth panel.</p>
|
||||
|
||||
<p>You have come here because you are in the process of allowing a external application to access your private Auth data. If you are not, then please close this window. Otherwise, please confirm below if you wish to give access to your private Auth data. This can be revoked at any time from the main Auth panel.</p>
|
||||
<p><b>{{ consumer.name }}</b></p>
|
||||
<p>{{ consumer.description }}</p>
|
||||
|
||||
<p><b>{{ consumer.name }}</b></p>
|
||||
<p>{{ consumer.description }}</p>
|
||||
|
||||
<form action="{% url piston.authentication.oauth_user_auth %}" method="POST">
|
||||
<table>
|
||||
<form action="{% url piston.authentication.oauth_user_auth %}" method="POST">
|
||||
<fieldset>
|
||||
<table>
|
||||
{{ form.as_table }}
|
||||
</table>
|
||||
{% csrf_token %}
|
||||
<button type="submit">Confirm</button>
|
||||
</form>
|
||||
</table>
|
||||
{% csrf_token %}
|
||||
<button type="submit">Confirm</button>
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
@@ -4,10 +4,12 @@
|
||||
|
||||
{% block content %}
|
||||
|
||||
<h1>Access Authorization</h1>
|
||||
<div class="page-header">
|
||||
<h1>Access Authorization</h1>
|
||||
</div>
|
||||
|
||||
<p>Access is now enabled for the requesting application. It seems the application did not provide a way to give it the required information so you need to provide this to it. This has happened either due to it being a desktop application or not being configured properly.</p>
|
||||
<p>Access is now enabled for the requesting application. It seems the application did not provide a way to give it the required information so you need to provide this to it. This has happened either due to it being a desktop application or not being configured properly.</p>
|
||||
|
||||
<p>Token/PIN: <b>{{ token.verifier }}</td></p>
|
||||
<p>Token/PIN: <b>{{ token.verifier }}</td></p>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user