summaryrefslogtreecommitdiff
path: root/templates/inventory/login.html
diff options
context:
space:
mode:
authorshivam kohli <kohlishivam5522@gmail.com>2018-05-19 16:25:16 +0530
committershivam kohli <kohlishivam5522@gmail.com>2018-05-19 16:25:16 +0530
commit03c15c038ea802395734b55a965371d06e0117e3 (patch)
treef15ba2fac78846ac70282ac86f42f2f57a7d1315 /templates/inventory/login.html
downloadcodeless-03c15c038ea802395734b55a965371d06e0117e3.tar.gz
codeless-03c15c038ea802395734b55a965371d06e0117e3.tar.bz2
codeless-03c15c038ea802395734b55a965371d06e0117e3.zip
basic login
Diffstat (limited to 'templates/inventory/login.html')
-rw-r--r--templates/inventory/login.html49
1 files changed, 49 insertions, 0 deletions
diff --git a/templates/inventory/login.html b/templates/inventory/login.html
new file mode 100644
index 0000000..d407b3f
--- /dev/null
+++ b/templates/inventory/login.html
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <title>Login</title>
+</head>
+<body>
+<div style="background: linear-gradient(0deg, #F6F0E1 20%, rgba(200,200,200,0) 100%); height: 100%"; >
+ <div>
+ <div>
+ <p>Login</p>
+ </div>
+
+ <form method="post">
+ {% csrf_token %}
+
+ <fieldset>
+ {% for field in form %}
+ <div>
+ <p>
+ {{ field.label_tag }}<br>
+ {{ field }}
+ {% if field.help_text %}
+ <small style="color: grey">{{ field.help_text }}</small>
+ {% endif %}
+ </div>
+
+ {% endfor %}
+
+ </fieldset>
+ <fieldset>
+ {{error_message}}
+ <button type="submit">Log in</button>
+
+ <div>
+ <div>
+ <span>New User?</span>
+ <a href="/signup">Create Account</a>
+ </div>
+ </div>
+
+ </fieldset>
+ </form>
+
+ </div>
+</div>
+</div>
+
+</body>
+</html> \ No newline at end of file