summaryrefslogtreecommitdiff
path: root/website/templates/user-register.html
blob: ff66ae21cef6e4b2fb42fde6e3e83308f584da8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
{% extends 'base.html' %}
{% load static %}

<!DOCTYPE HTML>

<html>
  <head>
    <title>Register</title>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <!--[if lte IE 8]><script src="assets/js/ie/html5shiv.js"></script><![endif]-->
    <link rel="stylesheet" href="assets/css/main.css" />
    <!--[if lte IE 9]><link rel="stylesheet" href="assets/css/ie9.css" /><![endif]-->
    <!--[if lte IE 8]><link rel="stylesheet" href="assets/css/ie8.css" /><![endif]-->
  </head>
  <body>


    
      {% block header %}
       <header id="header1">
            <h1>SciPy India 2016</h1>
            <h2>Register</h2>
</header> 
{% endblock %}


<div id="wrapper">
{% block nav %}
<div id="navbar-main"> 
  <!-- Fixed navbar -->
  <div class="navbar navbar-inverse navbar-fixed-top">
      <div class="navbar-collapse collapse">
        <ul class="nav navbar-nav">            
           <li><a href="{% url 'website:home' %}" class="active">Home</a></li>
            </ul>
         </div>
      <!--/.nav-collapse --> 
  </div>
</div>
{% endblock %}


{% block content %}
      <div id="wrapper">
<div id="main">
<section id="content" class="main">

{% if email_registered %}
          <center>
            <div class="alert" style="width:300px;height:50px;">
                <a class="close" data-dismiss="alert" href="#">&times;</a>
                <p>Email ID is already registered !</p>
            </div>
            <p style="line-height:5px;">Have you already logged in using social logins ?</p>
            <p style="line-height:5px;">or</p>
            <p style="line-height:5px;"><a href="{% url 'website:forgotpassword' %}">Click Here</a> if you forgot your username or password</p>
          </center>
          {% endif %}
         {% if registration_complete %}
          <p> Your Account is Created Successfully !</p>
           {% endif %}
          <!-- <div class = "col-md-7">                   -->
            <!-- <div id = "my_form"> -->
            <form action="" method="POST">  {% csrf_token %}
                  {% for field in form %} 
                  
                  <p>{{ field.label}}
                   {% if field.field.required %} <span style="color:red;">*</span> {% endif %}
                    {{ field }}</p>
                     <a style="color:red; ">{{ field.errors }}</a>
                  {% endfor %}
                <br>
                    <button class="button special" style="background:#D44727" type="submit" >SignUp</button>
                    <a class="btn btn-primary" href="{% url 'website:cfp' %}"><u>I have an account</u></a>
                <!-- </div> -->
               
            </form>
          <!-- </div> -->
        <!-- </div> -->
        
              </section>

          </div>
        

{% endblock   %}
          
    <!-- Scripts -->
      <script src="assets/js/jquery.min.js"></script>
      <script src="assets/js/jquery.scrollex.min.js"></script>
      <script src="assets/js/jquery.scrolly.min.js"></script>
      <script src="assets/js/skel.min.js"></script>
      <script src="assets/js/util.js"></script>
      <!--[if lte IE 8]><script src="assets/js/ie/respond.min.js"></script><![endif]-->
      <script src="assets/js/main.js"></script>
<script>
$(document).ready(function() {
    var n1 = Math.round(Math.random() * 10 + 1);
    var n2 = Math.round(Math.random() * 10 + 1);
    $("#a").val(n1 + " + " + n2 + " = ");
    $("#c").click(function() {
        if (eval($("#a").val()) == $("#b").val()) {
        } else {
            alert("Write the correct value ");
        }
    });
});
</script>


  </body>
</html>