Initial work on re-themeing auth with Bootstrap CSS

This commit is contained in:
2011-10-27 14:25:25 +01:00
parent d5a291b520
commit 9a26bfd235
14 changed files with 427 additions and 247 deletions

View File

@@ -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 %}

View File

@@ -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 %}