summaryrefslogtreecommitdiff
path: root/static/website/templates/call-for-proposals.html
blob: 7c96c7bcb5507938ace188575170a3e5605ec173 (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
{% extends 'website/templates/base.html' %}

{% load widget_tweaks %}

{% block sidebar %}
{% endblock %}

{% block current %}
Call for Proposals
{% endblock %}

{% block content %}
<div class="row">
    <div class="col-md-{% if user.is_authenticated %}6{% else %}8{% endif %}">
        <p>
            We look forward to submissions for presentations at SciPy India
            2014. Please submit an abstract of 300 to 500 words describing the
            topic, including its relevance to Python. Only submissions with an
            actual implementation will be considered for presentation (i.e.
            proposals to implement the code are not acceptable, partial
            implementations are acceptable so long as they demonstrate the
            features discussed). Please provide links to your code if this is
            an open source implementation. Based on the quality of the
            submissions, the conference organizers will select it either as a
            full fledged talk (20-30 mins) or <a href="http://en.wikipedia.org/wiki/PechaKucha" target="_blank">Pecha Kucha</a> style talk.
        </p>
        <p>
            If you wish to present a talk at the conference, please follow the
            guidelines below.
        </p>
        <h3 class="garmond">Submission Guidelines</h3>
        <ul>
            <li>Register to submit a proposal (this registration is NOT the conference registration).</li>
            <li>Login &amp; Upload your proposal in the form of text file or a pdf file.</li>
            <li>Submissions whose main purpose is to promote a commercial product or service will be refused.</li>
            <li>All accepted proposals must be presented at the conference by at least one author.</li>
        </ul>
        <h3 class="garmond">Important Dates</h3>
        <table class="table table-bordered">
            <tr>
                <td>Call for proposals ends</td>
                <td>7<sup>th</sup> &nbsp;&nbsp; Nov 2014</td>
            </tr>
            <tr>
                <td>List of accepted proposals will be published</td>
                <td><a href="#" class="descp" data-toggle="tooltip" data-placement="top" title="To be announced." >TBA</a></td>
            </tr>
        </table>
    </div> <!-- /.col -->
    <div class="col-md-{% if user.is_authenticated %}6{% else %}4{% endif %}">
        {% if not request.user.is_authenticated %}
            <!-- Nav tabs -->
            <ul class="nav nav-tabs" role="tablist">
                <li class="active"><a href="#login" role="tab" data-toggle="tab">Login</a></li>
                <li><a href="#register" role="tab" data-toggle="tab">Register</a></li>
            </ul> <!-- /.nav-tabs -->
            
            <!-- Tab panes -->
            <div class="tab-content">
                <div class="tab-pane active" id="login">
                    <form id="login-form" action="" method="POST" role="form">{% csrf_token %}
                        <div id="non-field-errors">
                        </div>
                        <div id="wrap_id_username" class="form-group">
                            <label for="id_username">Username</label>
                            {% render_field login_form.username class+="form-control" %}
                        </div>
                        <div id="wrap_id_password" class="form-group">
                            <label for="id_username">Password</label>
                            {% render_field login_form.password class+="form-control" %}
                        </div>
                        <input id="login-submit" class="btn btn-default" type="submit" value="Login">
                    </form>
                </div>
                <div class="tab-pane" id="register">
                    <form id="register-form" action="" method="POST" role="form">{% csrf_token %}
                        <div id="reg_wrap_id_first_name" class="form-group">
                            <label for="id_first_name">First Name</label>
                            {% render_field register_form.first_name class+="form-control" %}
                        </div>
                        <div id="reg_wrap_id_last_name" class="form-group">
                            <label for="id_last_name">Last Name</label>
                            {% render_field register_form.last_name class+="form-control" %}
                        </div>
                        <div id="reg_wrap_id_email" class="form-group">
                            <label for="id_email">Email</label>
                            {% render_field register_form.email class+="form-control" %}
                        </div>
                        <div id="reg_wrap_id_username" class="form-group">
                            <label for="id_username">Username</label>
                            {% render_field register_form.username class+="form-control" %}
                        </div>
                        <div id="reg_wrap_id_password1" class="form-group">
                            <label for="id_password1">Password</label>
                            {% render_field register_form.password1 class+="form-control" %}
                        </div>
                        <div id="reg_wrap_id_password2" class="form-group">
                            <label for="id_password2">Repeat Password</label>
                            {% render_field register_form.password2 class+="form-control" %}
                        </div>
                        <input id="register-submit" class="btn btn-default" type="submit" value="Register">
                    </form>
                </div>
            </div> <!-- /.tab-content -->
        {% else %}
        <div class="well">
            <span class="label label-default" href="#" id="welcome">Hello {{ request.user }}!</span>
            <a class="label label-primary" href="#" id="logout">Logout</a>
            {% if proposal_form %}
                <h3 class="garmond"><u>Proposal Form{% if edit %} &mdash; Edit{% endif %}</u></h3>
                <form id="proposal-form" action="" method="POST" role="form" enctype="multipart/form-data">{% csrf_token %}
                    <div id="wrap_id_title" class="form-group">
                        <label for="id_title">Title<sup class="red-star">*</sup></label> <small class="help">(Please enter your proposal title)</small>
                        {% render_field proposal_form.title class+="form-control" %}
                        {{ proposal_form.title.errors }}
                    </div>
                    <div id="wrap_id_objective" class="form-group">
                        <label for="id_objective">Objective<sup class="red-star">*</sup></label> <small class="help">(Please enter your proposal objective)</small>
                        {% render_field proposal_form.objective class+="form-control" %}
                        {{ proposal_form.objective.errors }}
                    </div>
                    <div id="wrap_id_abstract" class="form-group">
                        <label for="id_abstract">Abstract<sup class="red-star">*</sup></label> <small class="help">(Proposal abstract)</small>
                        {% render_field proposal_form.abstract class+="form-control" %}
                        {{ proposal_form.abstract.errors }}
                    </div>
                    <div id="wrap_id_bio" class="form-group">
                        <label for="id_bio">Bio<sup class="red-star">*</sup></label> <small class="help">(Your professional bio/designation etc.)</small>
                        {% render_field proposal_form.bio class+="form-control" %}
                        {{ proposal_form.bio.errors }}
                    </div>
                    <div id="wrap_id_link" class="form-group">
                        <label for="id_link">Link</label> <small class="help">(proposal related  link, if any)</small>
                        {% render_field proposal_form.link class+="form-control" %}
                        {{ proposal_form.link.errors }}
                    </div>
                    <div id="wrap_id_attachment" class="form-group">
                        <label for="id_attachment">Attachment<sup class="red-star">*</sup></label> <small class="help">(<b>[.pdf]</b> of complete proposal)</small>
                        {% if edit%}<br>{% endif %}
                        {% render_field proposal_form.attachment class+="form-control" %}
                        {{ proposal_form.attachment.errors }}
                    </div>
                    <input id="proposal-submit" class="btn btn-primary" type="submit" value="{% if edit %}Update{% else %}Submit{% endif %} Proposal">
                    {% if edit%}
                        <a class="btn btn-default" href="{% url 'website:call_for_proposals' %}">Cancel</a>
                    {% endif %}
                </form>
            {% endif %}
            {% if proposal %}
                <div class="panel panel-default">
                    <div class="panel-heading garmond">
                        Your Proposal is
                        <span class="label label-info">Under Review</span>
                    </div>
                    <div class="panel-body">
                        <h6 class="garmond"><u>Title</u></h6>
                        <p><small>{{ proposal.title }}</small></p>
                        <h6 class="garmond"><u>Objective</u></h6>
                        <p><small>{{ proposal.objective }}</small></p>
                        <h6 class="garmond"><u>Abstract</u></h6>
                        <p><small>{{ proposal.abstract }}</small></p>
                        <h6 class="garmond"><u>Bio</u></h6>
                        <p><small>{{ proposal.bio }}</small></p>
                        <h6 class="garmond"><u>Attachment</u></h6>
                        <p><small><a href="{{ proposal.attachment.url }}" target="_blank">View Attachment</</small></p>
                    </div>
                    <div class="panel-footer">
                        <a class="btn btn-info" href="{% url 'website:call_for_proposals' 'edit'%}">Edit Proposal</a>
                    </div>
                </div>
            {% endif %}
        </div> <!-- /.well -->
        {% endif %}
    </div> <!-- /.col -->
</div> <!-- /.row -->
{% endblock %}