grouped all templates in toplevel templates for convenience for now
[myslice.git] / templates / login-view.html
diff --git a/templates/login-view.html b/templates/login-view.html
new file mode 100644 (file)
index 0000000..5376577
--- /dev/null
@@ -0,0 +1,29 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>Log in</title>
+<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
+<style>
+body{
+       font-family:Arial,Helvetica,sans-serif;
+       font-size: 12px;
+}
+</style>
+</head>
+<body>
+       {{ state }}
+          <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>
+</body>
+</html>