move widget-log{in,out}.html under auth/ where they belong
[unfold.git] / auth / templates / widget-login.html
diff --git a/auth/templates/widget-login.html b/auth/templates/widget-login.html
new file mode 100644 (file)
index 0000000..ac90bcc
--- /dev/null
@@ -0,0 +1,14 @@
+{% insert_str prelude 'css/login.css' %}
+<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 %}
+  <p class='login'>username</p>
+  <input class='login' type="text" name="username" value="{{ username}}" /><br />
+  <p class='login'>password</p>
+  <input class='login' type="password" name="password" value="" /><br />
+  <input type="submit" value="Log In" />
+</form>