summaryrefslogtreecommitdiff
path: root/testapp/templates/exam/login.html
diff options
context:
space:
mode:
authorPrabhu Ramachandran2013-04-27 15:28:28 +0530
committerPrabhu Ramachandran2013-04-27 15:28:28 +0530
commit8b6ac259503323bc3d8333382d3769e5d10f162a (patch)
tree5d260a3db043492ef731b4241cf0f07563591743 /testapp/templates/exam/login.html
parentfd044e4a9f08366c9425cb241b7452da2ba904e1 (diff)
parent5c7f66806e4be50985655b7c12bf3190ee91ae46 (diff)
downloadonline_test-8b6ac259503323bc3d8333382d3769e5d10f162a.tar.gz
online_test-8b6ac259503323bc3d8333382d3769e5d10f162a.tar.bz2
online_test-8b6ac259503323bc3d8333382d3769e5d10f162a.zip
Merge branch 'model_changes' of ...
https://github.com/hardythe1/online_test into master. Conflicts: production.cfg testapp/production.py
Diffstat (limited to 'testapp/templates/exam/login.html')
-rw-r--r--testapp/templates/exam/login.html32
1 files changed, 17 insertions, 15 deletions
diff --git a/testapp/templates/exam/login.html b/testapp/templates/exam/login.html
index 8e6352e..078e7a7 100644
--- a/testapp/templates/exam/login.html
+++ b/testapp/templates/exam/login.html
@@ -1,20 +1,22 @@
{% extends "base.html" %}
{% block title %}Login{% endblock title %}
-
+{% block pagetitle %} Online Test {% endblock %}
+{% block formtitle %}Login{% endblock %}
+{% block css %}
+<link rel="stylesheet" href="{{ URL_ROOT }}/static/exam/css/login.css" type="text/css" />
+{% endblock %}
{% block content %}
-<p> Welcome to the Examination.
-Please login to proceed.</p>
-
-<form action="" method="post">
-{% csrf_token %}
-
-<table>
-{{ form.as_table }}
-</table>
-<input type="submit" value="Login" />
-</form>
-<!-- <a href="{{URL_ROOT}}/exam/forgotpassword/">Forgot Password</a> <br /> -->
-<a href="{{URL_ROOT}}/exam/register/">New User Registration</a>
-{% endblock content %} \ No newline at end of file
+ <form action="" method="post">
+ {% csrf_token %}
+
+ <center><table class=span1>
+ {{ form.as_table }}
+ </table></center>
+ <center><button class="btn" type="submit">Login</button>&nbsp;&nbsp;&nbsp;&nbsp;<button class="btn" type="reset">Cancel</button></center>
+ <br><center><a href="{{URL_ROOT}}/exam/forgotpassword/">Forgot Password?</a></center><br>
+ <center><a href="{{URL_ROOT}}/exam/register/">New User? Sign-Up </a></center>
+ </form>
+
+{% endblock content %}