From 23bdb87085c17c0637c938be76fc7eda6bcc4899 Mon Sep 17 00:00:00 2001 From: Karen Date: Wed, 3 Aug 2011 20:07:26 +0530 Subject: [PATCH] made div for fields... --- itf/static/css/register.css | 26 +++++++++++++++++++ itf/templates/registration/register_base.html | 11 ++++++-- .../registration/registration_form.html | 2 ++ 3 files changed, 37 insertions(+), 2 deletions(-) create mode 100644 itf/static/css/register.css diff --git a/itf/static/css/register.css b/itf/static/css/register.css new file mode 100644 index 0000000..145a719 --- /dev/null +++ b/itf/static/css/register.css @@ -0,0 +1,26 @@ + + +#wooden +{width:100%; +height:680px; +background:url(/static/images/noel/wooden1.jpg) repeat; +display:table; +overflow:hidden; +position:relative;} + + +#regContent +{width:400px; +background-color:#FFF; +position:absolute; +right:0px; +left:0px; +display: table-cell; vertical-align: middle;margin:0 auto; +padding:30px; +-moz-border-radius:20px; +-webkit-border-radius:20px; +border-radius:20px; +-moz-box-shadow:2px 3px 20px #252425; +-webkit-box-shadow:2px 3px 20px #252425; +box-shadow: 2px 3px 20px #252425; +margin-top:100px;} diff --git a/itf/templates/registration/register_base.html b/itf/templates/registration/register_base.html index a47873a..306c9e1 100644 --- a/itf/templates/registration/register_base.html +++ b/itf/templates/registration/register_base.html @@ -1,9 +1,16 @@ {% extends "noel/base.html" %} - +{% block extra_head %} + +{% endblock %} {% block content %} +
+ +
+ {% block reg_content %} {% endblock %} - +
+
{% endblock %} diff --git a/itf/templates/registration/registration_form.html b/itf/templates/registration/registration_form.html index 76aabb7..8cc963c 100644 --- a/itf/templates/registration/registration_form.html +++ b/itf/templates/registration/registration_form.html @@ -1,5 +1,7 @@ {% extends 'registration/register_base.html' %} + + {% block reg_content %}
{{ form.as_p }}