summaryrefslogtreecommitdiff
path: root/website/templates/cfp.html
blob: e587d479558a0e43485de37c8cc779c69dc88240 (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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
{% extends 'base.html' %}
{% load static %}

<!DOCTYPE HTML>
<html>
  <head>
    <title>Call for Proposal</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>Call For Proposal</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>        
               {% if user and not user.is_anonymous %}
               <li class="dropdown">
               <a href="#" class="dropdown-toggle" data-toggle="dropdown">{{ user.get_full_name|default:user.username }}</a>
               <ul class="dropdown-menu">
                   <li><a href="{% url 'auth:logout' %}?next=/2016/cfp">Logout</a></li>
                   <li><a href="{% url 'website:cfp' %}">Main Menu</a></li>
               </ul>   
               {% else %}       
                <li><a href="{% url 'website:cfp' %}" >Login</a></li>
           {% endif %}
        </ul>
      </div>
      <!--/.nav-collapse --> 
  </div>
</div>
{% endblock %}


{% block content %} 
      <!-- <div id="wrapper"> -->
        <div id="main">
          <section id="content" class="main">
 {% if proposal_submit %}
          <center>
                <p>Thank You for your submission. Your proposal has been saved successfully and is under review. You can check the status of submission <a href="{% url 'website:view_abstracts' %}">here </a>!</p>
          </center>
  {% endif %}
 {% if user and not user.is_anonymous and not login_required %}
      {% if user.is_superuser %}
        <center><a href="{% url 'website:view_abstracts' %}" style="background:#D44727" class="button special">View Proposals</a> </center>
        {% else %}
                <center>
                <a href="{% url 'website:submitcfp' %}" style="background:#D44727" class="button special">Submit an Abstract</a> 
                <a href="{% url 'website:submitcfw' %}" style="background:#D44727" class="button special">Submit a Workshop</a>  
                <a href="{% url 'website:view_abstracts' %}" style="background:#D44727" class="button special">View Proposals</a>
                </center>
        {% endif %}
               
      {% else %}
      <ul class="features">
<li>
                 <span><h2><u>Login</u></h2></span>

                <p>Login/Register to Submit a Proposal</p>
                {% if invalid %}
                        <p style="color:red; font-size:15px;">* Invalid Username/Password</p>
               {% endif %}
                
                  <!-- <div id = "my_form"> -->
                    <form action="" method="POST">
                        {{ form.as_p }}
                        <button class="button special" style="background:#D44727" name ="login"type="submit">Login</button><br><br>
                        <a style="padding-right : 20px;" href="{% url 'website:userregister' %}" class="btn btn btn-primary">Create an Account</a>
                        <a  href="/forgotpassword/">Forgot Password?</a>
                        {% csrf_token %}
                    </form>
                    <!-- </div> -->
                    <p>Or Sign in with:
                    <a href="{% url 'social:begin' 'google-oauth2' %}?next={{ request.path }}" class="btn btn-social-icon "  style="color:#dd4b39;"><i class="icon-google-plus"></i></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    <a href="{% url 'social:begin' 'facebook' %}?next={{ request.path }}" class=" btn btn-social-icon" style="color:#3b5998"><i class="icon-facebook"></i></a></p>
                  </li>
                <!-- </div> -->

            <!-- <div class="col-md-6" > -->
<li>
                  <span><h2><u>Important Dates</u></h2></span>
             <ul>
                <li>CFP Open: July 5, 2015
                <li>CFP Close: November 24, 2015
                <li>Announcement of selected proposals: December 1, 2015
            </ul>
</li>
          <!-- </div> -->
      {% endif %}   
     
        </section>
        </div>
      <!-- </div> -->


<!-- 
     <footer id="footer">
            <section id="contact">
              <h2>Write to Us</h2>
              <p>Feel free to send us an email if you have any questions.</p>
              <form id="contact" action="" class="form" role="form" method=POST enctype="multipart/form-data">{% csrf_token %}
                    <div class="col-md-6 form-group">
                      <input class="form-control" id="name" name="name" placeholder="Name" type="text" required />
                    </div>
                    <div class="col-md-6 form-group">
                      <input class="form-control" id="email" name="email" placeholder="Email" type="email" required />
                    </div>
                    <br><br>
                    <textarea class="form-control" id="message" name="message" placeholder="Message" rows="5"></textarea>
                  <br>
                  <div class = "col-md-3">
                  <input class="form-control" style="color:black;" readonly type="text" id="a" />
                  </div>
                  <div class = "col-md-3">
              <input placeholder = "Answer" class="form-control" type="text" id="b"/>
              </div>
              <div class = "col-md-3">
              <button class="button" id = "c" name="send" type="submit">Send Message</button>
              </div>
            </section>
            <section>
              <h2>Contact Us</h2>
              <dl class="alt">
                <dt>Address</dt>
                <dd>1234 Somewhere Road &bull; Nashville, TN 00000 &bull; USA</dd>
                <dt>Phone</dt>
                <dd>(000) 000-0000 x 0000</dd>
                <dt>Email</dt>
                <dd><a style="color:white;" href="#">information@untitled.tld</a></dd>
              </dl>
              <ul class="icons">
                <li><a style="color:white;" href="#" class="icon-twitter alt"><span class="label"></span></a></li>
                <li><a style="color:white;" href="#" class="icon-facebook alt"><span class="label"></span></a></li>
                <li><a style="color:white;" href="#" class="icon-instagram alt"><span class="label"></span></a></li>
                <li><a style="color:white;" href="#" class="icon-github alt"><span class="label"></span></a></li>
                <li><a style="color:white;" href="#" class="icon-dribbble alt"><span class="label"></span></a></li>
              </ul>
              Visit SciPy.in/ <a style="color:white;" href="">2009</a>/
              <a style="color:white;" href="">2010</a>/
              <a style="color:white;" href="">2011</a>/
              <a style="color:white;" href="">2012</a>/
              <a style="color:white;" href="">2013</a>/
              <a style="color:white;" href="">2014</a>/
              <a style="color:white;" href="">2015</a>
            </section>
          </footer> -->


{% 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>