Using the Noir session doesn't seem to be the right thing to do. I should be using the Ring session, but I'm having a hard time getting my head round it. @yogthos is too bloody clever!
This commit is contained in:
parent
88468461fd
commit
4e296537c4
52 changed files with 465 additions and 114 deletions
|
|
@ -1,12 +1,26 @@
|
|||
{% extends "base-unauthenticated.html" %}
|
||||
{% block content %}
|
||||
<p>
|
||||
We're not going to do login in the long term; we're going to use
|
||||
<a href="https://oauth.net/2/">oauth</a>.
|
||||
This is a temporary login form.
|
||||
</p>
|
||||
<div id="back-link-container">
|
||||
<a href="javascript:history.back()" id="back-link">Back</a>
|
||||
</div>
|
||||
{% for authority in authorities %}
|
||||
<div class="big-link-container">
|
||||
<a href="auth?authority={{authority.id}}" class="big-link" id="{{authority.id}}-link">
|
||||
<img src="img/authorities/{{authority.id}}.png" width="32" height="32" alt="{{authority.id}}"/>
|
||||
{{authority.id}}
|
||||
</a>
|
||||
</div>
|
||||
{% endfor %}
|
||||
<form action="auth" method="post">
|
||||
{% csrf-field %}
|
||||
<h2>
|
||||
Or use a test username and password
|
||||
</h2>
|
||||
<p>
|
||||
We're not going to do login in the long term; we're going to use
|
||||
<a href="https://oauth.net/2/">oauth</a>.
|
||||
This is a temporary login form.
|
||||
</p>
|
||||
<p class="widget">
|
||||
<label for="username">Username</label>
|
||||
<input type="text" id="username" name="username"/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue