project/templates/registration/activate.html
author Parth buch <parth.buch.115@gmail.com>
Sat, 01 Oct 2011 03:59:03 +0530
branch2011
changeset 429 cde70fd3073c
parent 27 1d772726c9d7
permissions -rwxr-xr-x
changed the handler404 and handler500 to a custom view, passing scope to get proper formed urls when displaying 404 and 500 pages
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
24
bb1f31e9c3ab Fixed Activation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     1
{% extends "base.html" %}
bb1f31e9c3ab Fixed Activation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     2
25
ad091ba95653 Added i18 loader in one of the registration templates.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 24
diff changeset
     3
{% load i18n %}
ad091ba95653 Added i18 loader in one of the registration templates.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 24
diff changeset
     4
24
bb1f31e9c3ab Fixed Activation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     5
{% block content %}
bb1f31e9c3ab Fixed Activation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     6
  <div class="post">
bb1f31e9c3ab Fixed Activation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     7
    <div class="title"><h2>{% trans "Register" %}</h2></div>
bb1f31e9c3ab Fixed Activation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     8
    <div id="search">
bb1f31e9c3ab Fixed Activation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     9
    <style type="text/css">
bb1f31e9c3ab Fixed Activation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    10
    ul.errorlist {
bb1f31e9c3ab Fixed Activation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    11
        margin: 0;
bb1f31e9c3ab Fixed Activation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    12
        padding: 0;
bb1f31e9c3ab Fixed Activation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    13
    }
bb1f31e9c3ab Fixed Activation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    14
    .errorlist li {        
bb1f31e9c3ab Fixed Activation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    15
        color: red;
bb1f31e9c3ab Fixed Activation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    16
        display: block;
bb1f31e9c3ab Fixed Activation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    17
        font-size: 10px;
bb1f31e9c3ab Fixed Activation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    18
        margin: 0 1 3px;
bb1f31e9c3ab Fixed Activation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    19
        padding: 0px 45px;
bb1f31e9c3ab Fixed Activation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    20
    }
bb1f31e9c3ab Fixed Activation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    21
</style>
bb1f31e9c3ab Fixed Activation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    22
        <table>
27
1d772726c9d7 Made a small textual change in the registrations template for activation page.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 26
diff changeset
    23
          Your account has been activated. You have also been automatically
1d772726c9d7 Made a small textual change in the registrations template for activation page.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 26
diff changeset
    24
          logged into your account. Click on the item "Registration" in the
1d772726c9d7 Made a small textual change in the registrations template for activation page.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 26
diff changeset
    25
          left panel to fill in further details.
24
bb1f31e9c3ab Fixed Activation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    26
        </table>
bb1f31e9c3ab Fixed Activation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    27
      <script type="text/javascript">
bb1f31e9c3ab Fixed Activation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    28
	document.getElementById('id_username').focus();
bb1f31e9c3ab Fixed Activation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    29
      </script>
bb1f31e9c3ab Fixed Activation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    30
   </div>
bb1f31e9c3ab Fixed Activation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    31
{% endblock %}