summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--website/static/css/bootstrap.css1
-rw-r--r--website/static/css/freelancer.css18
-rw-r--r--website/static/img/ajith-scaled.jpgbin0 -> 54623 bytes
-rw-r--r--website/static/img/ajith.jpgbin0 -> 10995 bytes
-rw-r--r--website/static/img/ajith.pngbin0 -> 51505 bytes
-rw-r--r--website/static/img/andreas-scaled.pngbin0 -> 156296 bytes
-rw-r--r--website/static/img/andreas.pngbin209420 -> 101333 bytes
-rw-r--r--website/static/img/calendar.pngbin5224 -> 5609 bytes
-rw-r--r--website/static/img/jarrod-scaled.pngbin0 -> 139881 bytes
-rw-r--r--website/static/img/jarrod.pngbin235437 -> 95520 bytes
-rw-r--r--website/static/img/map.pngbin0 -> 191942 bytes
-rw-r--r--website/templates/base.html70
-rw-r--r--website/views.py14
13 files changed, 54 insertions, 49 deletions
diff --git a/website/static/css/bootstrap.css b/website/static/css/bootstrap.css
index b525752..06d8c86 100644
--- a/website/static/css/bootstrap.css
+++ b/website/static/css/bootstrap.css
@@ -1290,6 +1290,7 @@ h6,
}
p {
margin: 0 0 10.5px;
+ color: #3676ab;
}
.lead {
margin-bottom: 21px;
diff --git a/website/static/css/freelancer.css b/website/static/css/freelancer.css
index 4750a6e..3662195 100644
--- a/website/static/css/freelancer.css
+++ b/website/static/css/freelancer.css
@@ -479,3 +479,21 @@ footer .footer-below {
display: none;
opacity: 0;
}
+
+.map-iframe {
+ width: 90%;
+ height: 400px;
+}
+
+.img-responsive-speakers, .thumbnail > img, .thumbnail a > img, .carousel-inner > .item > img, .carousel-inner > .item > a > img {
+ display: block;
+ max-width: 100%;
+ height: auto;
+ border-radius: 20px;
+}
+
+.calendar-icon {
+ width: 50px;
+ height: 50px;
+ float: left;
+}
diff --git a/website/static/img/ajith-scaled.jpg b/website/static/img/ajith-scaled.jpg
new file mode 100644
index 0000000..aa0c45f
--- /dev/null
+++ b/website/static/img/ajith-scaled.jpg
Binary files differ
diff --git a/website/static/img/ajith.jpg b/website/static/img/ajith.jpg
new file mode 100644
index 0000000..201e951
--- /dev/null
+++ b/website/static/img/ajith.jpg
Binary files differ
diff --git a/website/static/img/ajith.png b/website/static/img/ajith.png
new file mode 100644
index 0000000..9c7e216
--- /dev/null
+++ b/website/static/img/ajith.png
Binary files differ
diff --git a/website/static/img/andreas-scaled.png b/website/static/img/andreas-scaled.png
new file mode 100644
index 0000000..aadce65
--- /dev/null
+++ b/website/static/img/andreas-scaled.png
Binary files differ
diff --git a/website/static/img/andreas.png b/website/static/img/andreas.png
index 5023082..a412cf3 100644
--- a/website/static/img/andreas.png
+++ b/website/static/img/andreas.png
Binary files differ
diff --git a/website/static/img/calendar.png b/website/static/img/calendar.png
index b132c97..6125853 100644
--- a/website/static/img/calendar.png
+++ b/website/static/img/calendar.png
Binary files differ
diff --git a/website/static/img/jarrod-scaled.png b/website/static/img/jarrod-scaled.png
new file mode 100644
index 0000000..2faa75e
--- /dev/null
+++ b/website/static/img/jarrod-scaled.png
Binary files differ
diff --git a/website/static/img/jarrod.png b/website/static/img/jarrod.png
index 46e1703..f9b93c4 100644
--- a/website/static/img/jarrod.png
+++ b/website/static/img/jarrod.png
Binary files differ
diff --git a/website/static/img/map.png b/website/static/img/map.png
new file mode 100644
index 0000000..3d29b6d
--- /dev/null
+++ b/website/static/img/map.png
Binary files differ
diff --git a/website/templates/base.html b/website/templates/base.html
index f8b2c00..a681887 100644
--- a/website/templates/base.html
+++ b/website/templates/base.html
@@ -59,7 +59,7 @@
<a href="#speakers">Speakers</a>
</li>
<li class="page-scroll">
- <a href="#about">About</a>
+ <a href="#Venue">Venue</a>
</li>
<li class="page-scroll">
<a href="#contact">Contact</a>
@@ -105,36 +105,24 @@
</div>
<div class="row">
<div class="col-sm-4 speakers-item">
- <a href="#speakersModal1" class="speakers-link" data-toggle="modal">
- <div class="caption">
- <div class="caption-content">
- <i class="fa fa-search-plus fa-3x"></i>
- </div>
- </div>
- <img src="{% static 'img/speakers/cabin.png' %}" class="img-responsive" alt="">
+ <a href="http://www.jarrodmillman.com/" target="_blank">
+ <img src="{% static 'img/jarrod-scaled.png' %}" class="img-responsive-speakers" alt="">
</a>
+ <center><a href="http://www.jarrodmillman.com/" target="_blank"><p>Jarrod Millman</p></a></center>
</div>
<div class="col-sm-4 speakers-item">
- <a href="#speakersModal2" class="speakers-link" data-toggle="modal">
- <div class="caption">
- <div class="caption-content">
- <i class="fa fa-search-plus fa-3x"></i>
- </div>
- </div>
- <img src="{% static 'img/speakers/cake.png' %}" class="img-responsive" alt="">
+ <a href="http://mathema.tician.de/" target="_blank">
+ <img src="{% static 'img/andreas-scaled.png' %}" class="img-responsive-speakers" alt="">
</a>
+ <center><a href="http://mathema.tician.de/" target="_blank"><p>Andreas Klöckner</p></a></center>
</div>
<div class="col-sm-4 speakers-item">
- <a href="#speakersModal3" class="speakers-link" data-toggle="modal">
- <div class="caption">
- <div class="caption-content">
- <i class="fa fa-search-plus fa-3x"></i>
- </div>
- </div>
- <img src="{% static 'img/speakers/circus.png' %}" class="img-responsive" alt="">
+ <a href="http://expeyes.in/" target="_blank">
+ <img src="{% static 'img/ajith-scaled.jpg' %}" class="img-responsive-speakers" alt="">
</a>
+ <center><a href="http://expeyes.in/" target="_blank"><p>Dr. Ajith Kumar</p></a></center>
</div>
- <div class="col-sm-4 speakers-item">
+ <!--div class="col-sm-4 speakers-item">
<a href="#speakersModal4" class="speakers-link" data-toggle="modal">
<div class="caption">
<div class="caption-content">
@@ -163,32 +151,23 @@
</div>
<img src="{% static 'img/speakers/submarine.png '%}" class="img-responsive" alt="">
</a>
- </div>
+ </div-->
</div>
</div>
</section>
- <!-- About Section -->
- <section class="success" id="about">
+ <!-- Venue Section -->
+ <section class="success" id="Venue">
<div class="container">
<div class="row">
<div class="col-lg-12 text-center">
- <h2>About</h2>
+ <h2>Venue</h2>
<hr class="star-light">
+ <center><p>Lecture Hall Complex, IIT Bombay</p></center>
+ <iframe class="map-iframe" src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3769.472585331343!2d72.91689500000001!3d19.130779999999998!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x3be7c7f4215f57bf%3A0xcf0c03ea45a113e1!2sLecture+Hall+Complex+(LHC)!5e0!3m2!1sen!2sin!4v1434093574862" frameborder="0"></iframe>
</div>
</div>
<div class="row">
- <div class="col-lg-4 col-lg-offset-2">
- <p>Freelancer is a free bootstrap theme created by Start Bootstrap. The download includes the complete source files including HTML, CSS, and JavaScript as well as optional LESS stylesheets for easy customization.</p>
- </div>
- <div class="col-lg-4">
- <p>Whether you're a student looking to showcase your work, a professional looking to attract clients, or a graphic artist looking to share your projects, this template is the perfect starting point!</p>
- </div>
- <div class="col-lg-8 col-lg-offset-2 text-center">
- <a href="#" class="btn btn-lg btn-outline">
- <i class="fa fa-download"></i> Download Theme
- </a>
- </div>
</div>
</div>
</section>
@@ -210,28 +189,21 @@
<div class="row control-group">
<div class="form-group col-xs-12 floating-label-form-group controls">
<label>Name</label>
- <input type="text" class="form-control" placeholder="Name" id="name" required data-validation-required-message="Please enter your name.">
+ <input type="text" class="form-control" placeholder="Name" id="name" name="name" required data-validation-required-message="Please enter your name.">
<p class="help-block text-danger"></p>
</div>
</div>
<div class="row control-group">
<div class="form-group col-xs-12 floating-label-form-group controls">
<label>Email Address</label>
- <input type="email" class="form-control" placeholder="Email Address" id="email" required data-validation-required-message="Please enter your email address.">
- <p class="help-block text-danger"></p>
- </div>
- </div>
- <div class="row control-group">
- <div class="form-group col-xs-12 floating-label-form-group controls">
- <label>Phone Number</label>
- <input type="tel" class="form-control" placeholder="Phone Number" id="phone" required data-validation-required-message="Please enter your phone number.">
+ <input type="email" class="form-control" placeholder="Email Address" id="email" name="email" required data-validation-required-message="Please enter your email address.">
<p class="help-block text-danger"></p>
</div>
</div>
<div class="row control-group">
<div class="form-group col-xs-12 floating-label-form-group controls">
<label>Message</label>
- <textarea rows="5" class="form-control" placeholder="Message" id="message" required data-validation-required-message="Please enter a message."></textarea>
+ <textarea rows="5" class="form-control" placeholder="Message" id="message" name="message" required data-validation-required-message="Please enter a message."></textarea>
<p class="help-block text-danger"></p>
</div>
</div>
@@ -278,7 +250,7 @@
</ul>
</div>
<div class="footer-col col-md-4">
- <h3>About Freelancer</h3>
+ <h3>Venue Freelancer</h3>
<p>Freelance is a free to use, open source Bootstrap theme created by <a href="http://startbootstrap.com">Start Bootstrap</a>.</p>
</div>
</div>
diff --git a/website/views.py b/website/views.py
index f7daae8..e347f7b 100644
--- a/website/views.py
+++ b/website/views.py
@@ -12,3 +12,17 @@ from django.contrib.auth.decorators import login_required
def home(request):
return render_to_response('base.html')
+
+
+def contact(request):
+ context = {}
+ if request.method == "POST":
+ sender_name = request.POST['name']
+ sender_email = request.POST['email']
+ query = request.POST['message']
+ to = ('scipy@fossee.in',)
+ subject = "Query from - "+sender_name
+ message = form['message']
+ send_mail(subject, message, sender_email, to, fail_silently=True)
+ context['mailsent'] = True
+ return render(request, 'base.html', context)