getting closer
[myslice.git] / templates / view-login.html
index ed78463..6e3013c 100644 (file)
@@ -1,24 +1,17 @@
 {% extends 'layout-myslice.html' %}
 
 {% block content_related %}
-<p class='login-status'> {{ state }} </p>
-<a href="/" alt="Home"><img class="logo" src="{{ STATIC_URL }}img/myslice-logo.png" alt="MySlice" /></a>
-<form action="/login/" method="post">
-  {% csrf_token %}
-  {% if next %}
-  <input type="hidden" name="next" value="{{ next }}" />
-  {% endif %}
-  username:
-  <input type="text" name="username" value="{{ username}}" /><br />
-  password:
-  <input type="password" name="password" value="" /><br />
-  <input type="submit" value="Log In" />
-</form>
+{% include 'widget-login.html' %}
 {% endblock content_related %}
 
 {% block content_main %}
 <code>
 This page is currently not connected to any useful authentication system, but instead, as a proof of concept, it uses a set of hardwired user accounts, see auth/backend.py for more details.
 </code>
-
+<p>Currently hard wired users:</p>
+<ul>
+  {% for k,v in hard_wired_users.iteritems %}
+  <li class='well'> Name= <code>{{ k }}</code>, Password= <code>{{ v }}</code> </li>
+  {% endfor %}
+</ul>
 {% endblock content_main %}