summaryrefslogtreecommitdiff
path: root/website
diff options
context:
space:
mode:
Diffstat (limited to 'website')
-rwxr-xr-xwebsite/forms.py21
-rwxr-xr-xwebsite/templates/base.html17
-rwxr-xr-xwebsite/templates/cfp.html6
-rwxr-xr-xwebsite/templates/submit-cfp.html4
4 files changed, 26 insertions, 22 deletions
diff --git a/website/forms.py b/website/forms.py
index 9972913..4ea983e 100755
--- a/website/forms.py
+++ b/website/forms.py
@@ -24,6 +24,12 @@ ws_duration = (
('3', '3'),
('4', '4'),
)
+abs_duration = (
+ ('15', '15'),
+ ('30', '30'),
+)
+
+
MY_CHOICES = (
('Beginner', 'Beginner'),
('Advanced', 'Advanced'),
@@ -66,20 +72,22 @@ class ProposalForm(forms.ModelForm):
attachment = forms.FileField(widget=forms.ClearableFileInput(attrs={'multiple': True}),
required = True,
error_messages = {'required':'Attachment field required.'},)
- phone = forms.CharField(max_length = 12, widget=forms.TextInput(attrs={'class': 'form-control', 'placeholder': 'Phone'}),required=False, validators = [RegexValidator(regex = '^[0-9-_+.]*$', message='Enter a Valid Phone Number',)],
+ phone = forms.CharField(min_length = 10, max_length = 12, widget=forms.TextInput(attrs={'class': 'form-control', 'placeholder': 'Phone'}),required=False, validators = [RegexValidator(regex = '^[0-9-_+.]*$', message='Enter a Valid Phone Number',)],
# error_messages = {'required':'Title field required.'},
)
title = forms.CharField(widget=forms.TextInput(attrs={'class': 'form-control', 'placeholder': 'Title'}),
required = True,
error_messages = {'required':'Title field required.'},
)
- abstract = forms.CharField(widget=forms.Textarea(attrs={'class': 'form-control', 'placeholder': 'Abstract'}),
+ abstract = forms.CharField(min_length = 300, max_length = 700, widget=forms.Textarea(attrs={'class': 'form-control', 'placeholder': 'Abstract'}),
required = True,
label = 'Abstract (Min. 300 char.)',
error_messages = {'required':'Abstract field required.'},
)
proposal_type = forms.CharField(widget = forms.HiddenInput(), label = '', initial = 'ABSTRACT', required=False)
+ duration = forms.ChoiceField(choices=abs_duration, label = 'Duration (Mins.)')
+
tags = forms.CharField(widget=forms.TextInput(attrs={'class': 'form-control', 'placeholder': 'Tags'}),
required = False,
)
@@ -122,13 +130,13 @@ class WorkshopForm(forms.ModelForm):
attachment = forms.FileField(widget=forms.ClearableFileInput(attrs={'multiple': True}),
required = True,
error_messages = {'required':'Attachment field required.'},)
- phone = forms.CharField(max_length = 12, widget=forms.TextInput(attrs={'class': 'form-control', 'placeholder': 'Phone'}),required=False, validators = [RegexValidator(regex = '^[0-9-_+.]*$', message='Enter a Valid Phone Number',)],
+ phone = forms.CharField(min_length = 10, max_length = 12, widget=forms.TextInput(attrs={'class': 'form-control', 'placeholder': 'Phone'}),required=False, validators = [RegexValidator(regex = '^[0-9-_+.]*$', message='Enter a Valid Phone Number',)],
)
title = forms.CharField(widget=forms.TextInput(attrs={'class': 'form-control', 'placeholder': 'Title'}),
required = True,
error_messages = {'required':'Title field required.'},
)
- abstract = forms.CharField(widget=forms.Textarea(attrs={'class': 'form-control', 'placeholder': 'Desciption'}),
+ abstract = forms.CharField(min_length = 300 ,max_length = 700,widget=forms.Textarea(attrs={'class': 'form-control', 'placeholder': 'Desciption'}),
required = True,
label = 'Description (Min. 300 char.)',
error_messages = {'required':'Abstract field required.'},
@@ -166,11 +174,6 @@ class WorkshopForm(forms.ModelForm):
raise forms.ValidationError('File size exceeds 5MB')
return attachment
- def clean_abstract(self):
- about_me = self.cleaned_data['abstract']
- if len(about_me) < 300:
- raise forms.ValidationError("Abstract me should contain min. 300 characteres")
-
class UserRegisterForm(UserCreationForm):
class Meta:
model = User
diff --git a/website/templates/base.html b/website/templates/base.html
index 2787a96..8bc660c 100755
--- a/website/templates/base.html
+++ b/website/templates/base.html
@@ -150,7 +150,8 @@
<h9 style="color:white;">(Till 30 Nov 2016)</h9>
</td>
<td>
- This Ticket allows you to ONLY attend the conference for 2 Days (snacks shall be served). Does not include any conference amenities (Accommodation, Kit, Lunch, Dinner & T-shirt). This is a non-refundable ticket.
+ This Ticket allows you to ONLY attend the conference for 2 Days (snacks and dinner for the first day will be served). Does not include any conference amenities (Accommodation, Kit, Lunch, Dinner & T-shirt). This is a non-refundable ticket.
+
</td>
</tr>
@@ -218,11 +219,11 @@
<p>All communication should be appropriate for a professional audience, including people from many different backgrounds.</p>
-<p><li><b>Code for Speakers:</b></li></p>
+<p><b>Code for Speakers:</b></p>
<p>Sexual language or imagery is inappropriate for your talks or slides. Refrain from using sexist, racist or exclusionary language anywhere in your content.</p>
-<p><li><b>Code for Participants:</b></li></p>
+<p><b>Code for Participants:</b></p>
<p>Be kind and sensitive to the people around you and avoid any kind of offensive behavior. Sexist, racist or any other form of exclusionary or offensive jokes or excessive public swearing are not appropriate at any venue of SciPy India. Attendees violating these rules may be asked to leave the conference without a refund at the sole discretion of the conference organizers. Thank you for your consideration and help in making SciPy India a welcoming, friendly event for all of us.</p>
</td>
@@ -247,15 +248,15 @@
<p>If a participant engages in behavior that violates this code of conduct, the conference organizers may take any action they deem appropriate, including warning the offender or expulsion from the conference with no refund.</p>
-<p>Thank you for helping to make SciPy 2016 a welcoming, friendly event for all.</p>
+<p>Thank you for helping to make SciPy India 2016 a welcoming, friendly event for all.</p>
-<p><b><li>Contact Information:</li></b></p>
+<p><b>Contact Information:</b></p>
<p>If you are being harassed, notice that someone else is being harassed, or have any other concerns, please contact a member of conference staff. Conference staff will be wearing "SciPy India: Organiser" badges.</p>
<p>Conference staff will be happy to help participants contact venue security or local law enforcement, provide escorts, or otherwise assist those experiencing harassment to feel safe for the duration of the conference. We value your attendance.</p>
-<p><b><li>License:</li></b></p>
+<p><b>License:</b></p>
<p>This Code of Conduct was forked from PSF Code of Conduct by Python Software Foundation which is under a Creative Commons Attribution 3.0 Unported License.</p>
@@ -350,7 +351,7 @@
<div class="content">
<header class="major">
<h2>POSTER</h2></header>
- <a href="http://fossee.in/data/emails/images/scipy_poster_2015.pdf" target="_blank"> <img height = 20%, width=20% src="{% static 'img/sd.png'%}" /></a>
+ <a href="http://fossee.in/data/emails/images/Poster_thumbnail_2016.png" target="_blank"> <img height = 20%, width=20% src="{% static 'img/sd.png'%}" /></a>
<p align="justify">We request you to share the event details through this poster with faculty members, students and others who might be interested. You may print the poster (native size - A4) and display on the notice boards.</p>
</div>
@@ -440,7 +441,7 @@
<a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/"></a>
<img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-sa/4.0/88x31.png" /></center>
<center>This work is licensed under a <a href="http://creativecommons.org/licenses/by-sa/4.0/">Creative Commons Attribution-ShareAlike 4.0 International License</a>.<center>
-
+ <br>
</div>
</div>
diff --git a/website/templates/cfp.html b/website/templates/cfp.html
index 616e520..f028086 100755
--- a/website/templates/cfp.html
+++ b/website/templates/cfp.html
@@ -58,11 +58,11 @@
</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 30 minutes and for workshops is 2 to 4 (max) hours. The workshops are to be conducted in two parallel tracks for basic and advanced users.
+ <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 (max) 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: 4 October 2016</li>
+ <li>Call for proposals opens: <b>October 4, 2016</b></li>
<li>Last date for submission of proposals: To be announced
<li>Announcement of selected proposals: To be announced
</ul>
@@ -110,7 +110,7 @@
<li>
<span><h2><u>Important Dates</u></h2></span>
<ul>
- <li>Call for proposal opens: 4 October 2016</li>
+ <li>Call for proposal opens: <b>October 4, 2016</b></li>
<li>Last date for submission of proposals: To be announced
<li>Announcement of selected proposals: To be announced
</ul>
diff --git a/website/templates/submit-cfp.html b/website/templates/submit-cfp.html
index b856a07..d44c408 100755
--- a/website/templates/submit-cfp.html
+++ b/website/templates/submit-cfp.html
@@ -74,8 +74,8 @@
<li>All selected proposals must be presented at the conference by at least one author.
</ul>
<form action="" method=POST enctype="multipart/form-data">
-
- <div class="row1">
+<!-- <a style="color:red; ">{{ proposal_form.errors }}</a>
+ --> <div class="row1">
{% for field in proposal_form %}
<p>{{ field.label}}