add query.js and plugin.js to the dashboard mix
[unfold.git] / templates / view-login.html
index ed78463..5a5aeb4 100644 (file)
@@ -1,24 +1,20 @@
 {% 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>
-
+<code> This page is currently connected to two authentication systems:</code>
+<ul>
+<li> A manifold server, located at <code>{{ manifold_url }}</code>, (configured in <code>myslice/config.py</code>), and</li>
+<li>
+as a proof of concept, a set of hardwired user accounts, see <code>auth/backend.py</code> for more details. 
+Currently hard wired users are:
+<ul>
+  {% for k,v in hard_wired_users.iteritems %}
+  <li class='well'> Name= <code>{{ k }}</code>, Password= <code>{{ v }}</code> </li>
+  {% endfor %}
+</ul>
+</li></ul>
 {% endblock content_main %}