summaryrefslogtreecommitdiff
path: root/website/templates/cfp.html
blob: 80bfbaa9435513f418b7464e4b6e43ce786713cd (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
{% 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" />
    <link rel="stylesheet" href="assets/css/main.css" />
  </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 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 %}
      {% 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:&nbsp;
                    <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;
                    <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: To be announced
                <li>CFP Close: To be announced
                <li>Announcement of selected proposals: To be announced
            </ul>
</li>
          <!-- </div> -->
      {% endif %}   
     
        </section>
        </div>
      <!-- </div> -->

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