summaryrefslogtreecommitdiff
path: root/website/templates/cfp.html
blob: d76fbdf101794f0d709acf7dcce59264ea8dbb44 (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
<!DOCTYPE HTML>
{% extends 'base.html' %}
{% load static %}

<html>
  <head>
    <title>Submit Proposal</title>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <link rel="stylesheet" href="assets/css/main.css" />
  </head>
  <body>


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

<div id="wrapper">

{% block nav %}

<div id="navbar-main"> 
  <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><a href="{% url 'website:cfp' %}">{{ user.get_full_name|default:user.username }}</a>
                <li><a href="{% url 'auth:logout' %}?next=/2016/cfp">Logout</a></li>
               {% else %}       
                <li><a href="{% url 'website:cfp' %}" >Login</a></li>
           {% endif %}
        </ul>
      </div>
  </div>
</div>
{% endblock %}


{% block content %} 
      <!-- <div id="wrapper"> -->
        <div id="main">
          <section id="content" class="main">
     {% if proposal_submit %}
          <center>
            <table>
              <tr>
                <td>
                <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>
                </td>
                </tr>
                </table>
          </center>
      {% endif %}



  {% if registration_complete %}

  <center>
                <p>Thank You for your registration. You can now log in by clicking  <a href="{% url 'website:cfp' %}">here </a>!</p>
                <br/><br/>
          </center>
  {% endif %}



 {% if user and not user.is_anonymous and not login_required %}
      <p>We invite you to submit proposals for talks/ workshops to be presented at SciPy 2016. The time duration for talks is 15 or 30 minutes and for workshops is 2 to 4 hours. The workshops are to be conducted in two parallel tracks for basic and advanced users.
      </p>
                  <span><h2><u>Important Dates</u></h2></span>
             <ul>
                <li>Call for proposals opens: <b>October 4, 2016</b></li>
                <li>Last date for submission of proposals: <b>November 28, 2016</b></li>
                <li>Announcement of selected proposals: <b>December 1, 2016</b></li>
            </ul>

            <br/>
        {% 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:view_abstracts' %}" style="background:#D44727" class="button special">View Proposals</a>
                </center>
        {% endif %}
               
  {% else %}
          <p align = "justify">We invite you to submit proposals for talks/ workshops to be presented at SciPy 2016. The time duration for talks is 15 or 30 minutes and for workshops is 2 to 4 hours. The workshops are to be conducted in two parallel tracks for basic and advanced users.
        </p><hr>
          <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="/2016/forgotpassword/">Forgot Password?</a>
                        {% csrf_token %}
                    </form>
                    <!-- </div> -->
                    <p>Or Sign in with:&nbsp;
                    <a href="{% url 'social:begin' 'google-oauth2' %}" class="btn btn-social-icon "  style="color:#dd4b39;"><i class="icon-google-plus"></i></a>&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>Call for proposal opens: <b>October 4, 2016</b></li>
                <li>Last date for submission of proposals: <b>November 28, 2016</b></li>
                <li>Announcement of selected proposals: <b>December 1, 2016</b></li>
            </ul>
        </li>
        </ul>
          <!-- </div> -->
  {% endif %}   
     
        </section>
        </div>
      <!-- </div> -->

{% endblock %}
          
  </body>
</html>