diff options
-rw-r--r-- | website/static/css/freelancer.css | 6 | ||||
-rw-r--r-- | website/static/img/fossee.png | bin | 0 -> 79661 bytes | |||
-rw-r--r-- | website/templates/base.html | 294 | ||||
-rw-r--r-- | website/views.py | 12 |
4 files changed, 10 insertions, 302 deletions
diff --git a/website/static/css/freelancer.css b/website/static/css/freelancer.css index 3662195..b130cdc 100644 --- a/website/static/css/freelancer.css +++ b/website/static/css/freelancer.css @@ -491,9 +491,3 @@ footer .footer-below { height: auto; border-radius: 20px; } - -.calendar-icon { - width: 50px; - height: 50px; - float: left; -} diff --git a/website/static/img/fossee.png b/website/static/img/fossee.png Binary files differnew file mode 100644 index 0000000..6feda2d --- /dev/null +++ b/website/static/img/fossee.png diff --git a/website/templates/base.html b/website/templates/base.html index a681887..69d9be5 100644 --- a/website/templates/base.html +++ b/website/templates/base.html @@ -88,7 +88,8 @@ <hr class="star-light"> <p align="center">SciPy India is a conference providing opportunities to spread the use of the Python programming language in the Scientific Computing community in India. </p> - </div> + <a class="twitter-timeline" href="https://twitter.com/SciPyIndia" data-widget-id="611058996728868864">Tweets by @SciPyIndia</a> +<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script> </div> </div> </div> @@ -122,36 +123,6 @@ </a> <center><a href="http://expeyes.in/" target="_blank"><p>Dr. Ajith Kumar</p></a></center> </div> - <!--div class="col-sm-4 speakers-item"> - <a href="#speakersModal4" 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/game.png' %}" class="img-responsive" alt=""> - </a> - </div> - <div class="col-sm-4 speakers-item"> - <a href="#speakersModal5" 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/safe.png' %}" class="img-responsive" alt=""> - </a> - </div> - <div class="col-sm-4 speakers-item"> - <a href="#speakersModal6" 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/submarine.png '%}" class="img-responsive" alt=""> - </a> - </div--> </div> </div> </section> @@ -222,45 +193,12 @@ <!-- Footer --> <footer class="text-center"> - <div class="footer-above"> - <div class="container"> - <div class="row"> - <div class="footer-col col-md-4"> - <h3>Location</h3> - <p>3481 Melrose Place<br>Beverly Hills, CA 90210</p> - </div> - <div class="footer-col col-md-4"> - <h3>Around the Web</h3> - <ul class="list-inline"> - <li> - <a href="#" class="btn-social btn-outline"><i class="fa fa-fw fa-facebook"></i></a> - </li> - <li> - <a href="#" class="btn-social btn-outline"><i class="fa fa-fw fa-google-plus"></i></a> - </li> - <li> - <a href="#" class="btn-social btn-outline"><i class="fa fa-fw fa-twitter"></i></a> - </li> - <li> - <a href="#" class="btn-social btn-outline"><i class="fa fa-fw fa-linkedin"></i></a> - </li> - <li> - <a href="#" class="btn-social btn-outline"><i class="fa fa-fw fa-dribbble"></i></a> - </li> - </ul> - </div> - <div class="footer-col col-md-4"> - <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> - </div> - </div> <div class="footer-below"> <div class="container"> <div class="row"> <div class="col-lg-12"> - Copyright © Your Website 2014 + <center><img src="{% static 'img/fossee.png' %}" width=100 height=40><br><br> + <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-sa/4.0/88x31.png" /></a><br />This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/">Creative Commons Attribution-ShareAlike 4.0 International License</a>.</center> </div> </div> </div> @@ -274,230 +212,6 @@ </a> </div> - <!-- speakers Modals --> - <div class="speakers-modal modal fade" id="speakersModal1" tabindex="-1" role="dialog" aria-hidden="true"> - <div class="modal-content"> - <div class="close-modal" data-dismiss="modal"> - <div class="lr"> - <div class="rl"> - </div> - </div> - </div> - <div class="container"> - <div class="row"> - <div class="col-lg-8 col-lg-offset-2"> - <div class="modal-body"> - <h2>Project Title</h2> - <hr class="star-primary"> - <img src="img/speakers/cabin.png" class="img-responsive img-centered" alt=""> - <p>Use this area of the page to describe your project. The icon above is part of a free icon set by <a href="https://sellfy.com/p/8Q9P/jV3VZ/">Flat Icons</a>. On their website, you can download their free set with 16 icons, or you can purchase the entire set with 146 icons for only $12!</p> - <ul class="list-inline item-details"> - <li>Client: - <strong><a href="http://startbootstrap.com">Start Bootstrap</a> - </strong> - </li> - <li>Date: - <strong><a href="http://startbootstrap.com">April 2014</a> - </strong> - </li> - <li>Service: - <strong><a href="http://startbootstrap.com">Web Development</a> - </strong> - </li> - </ul> - <button type="button" class="btn btn-default" data-dismiss="modal"><i class="fa fa-times"></i> Close</button> - </div> - </div> - </div> - </div> - </div> - </div> - <div class="speakers-modal modal fade" id="speakersModal2" tabindex="-1" role="dialog" aria-hidden="true"> - <div class="modal-content"> - <div class="close-modal" data-dismiss="modal"> - <div class="lr"> - <div class="rl"> - </div> - </div> - </div> - <div class="container"> - <div class="row"> - <div class="col-lg-8 col-lg-offset-2"> - <div class="modal-body"> - <h2>Project Title</h2> - <hr class="star-primary"> - <img src="{% static 'img/speakers/cake.png' %}" class="img-responsive img-centered" alt=""> - <p>Use this area of the page to describe your project. The icon above is part of a free icon set by <a href="https://sellfy.com/p/8Q9P/jV3VZ/">Flat Icons</a>. On their website, you can download their free set with 16 icons, or you can purchase the entire set with 146 icons for only $12!</p> - <ul class="list-inline item-details"> - <li>Client: - <strong><a href="http://startbootstrap.com">Start Bootstrap</a> - </strong> - </li> - <li>Date: - <strong><a href="http://startbootstrap.com">April 2014</a> - </strong> - </li> - <li>Service: - <strong><a href="http://startbootstrap.com">Web Development</a> - </strong> - </li> - </ul> - <button type="button" class="btn btn-default" data-dismiss="modal"><i class="fa fa-times"></i> Close</button> - </div> - </div> - </div> - </div> - </div> - </div> - <div class="speakers-modal modal fade" id="speakersModal3" tabindex="-1" role="dialog" aria-hidden="true"> - <div class="modal-content"> - <div class="close-modal" data-dismiss="modal"> - <div class="lr"> - <div class="rl"> - </div> - </div> - </div> - <div class="container"> - <div class="row"> - <div class="col-lg-8 col-lg-offset-2"> - <div class="modal-body"> - <h2>Project Title</h2> - <hr class="star-primary"> - <img src="{% static 'img/speakers/circus.png' %}" class="img-responsive img-centered" alt=""> - <p>Use this area of the page to describe your project. The icon above is part of a free icon set by <a href="https://sellfy.com/p/8Q9P/jV3VZ/">Flat Icons</a>. On their website, you can download their free set with 16 icons, or you can purchase the entire set with 146 icons for only $12!</p> - <ul class="list-inline item-details"> - <li>Client: - <strong><a href="http://startbootstrap.com">Start Bootstrap</a> - </strong> - </li> - <li>Date: - <strong><a href="http://startbootstrap.com">April 2014</a> - </strong> - </li> - <li>Service: - <strong><a href="http://startbootstrap.com">Web Development</a> - </strong> - </li> - </ul> - <button type="button" class="btn btn-default" data-dismiss="modal"><i class="fa fa-times"></i> Close</button> - </div> - </div> - </div> - </div> - </div> - </div> - <div class="speakers-modal modal fade" id="speakersModal4" tabindex="-1" role="dialog" aria-hidden="true"> - <div class="modal-content"> - <div class="close-modal" data-dismiss="modal"> - <div class="lr"> - <div class="rl"> - </div> - </div> - </div> - <div class="container"> - <div class="row"> - <div class="col-lg-8 col-lg-offset-2"> - <div class="modal-body"> - <h2>Project Title</h2> - <hr class="star-primary"> - <img src="{% static 'img/speakers/game.png ' %}" class="img-responsive img-centered" alt=""> - <p>Use this area of the page to describe your project. The icon above is part of a free icon set by <a href="https://sellfy.com/p/8Q9P/jV3VZ/">Flat Icons</a>. On their website, you can download their free set with 16 icons, or you can purchase the entire set with 146 icons for only $12!</p> - <ul class="list-inline item-details"> - <li>Client: - <strong><a href="http://startbootstrap.com">Start Bootstrap</a> - </strong> - </li> - <li>Date: - <strong><a href="http://startbootstrap.com">April 2014</a> - </strong> - </li> - <li>Service: - <strong><a href="http://startbootstrap.com">Web Development</a> - </strong> - </li> - </ul> - <button type="button" class="btn btn-default" data-dismiss="modal"><i class="fa fa-times"></i> Close</button> - </div> - </div> - </div> - </div> - </div> - </div> - <div class="speakers-modal modal fade" id="speakersModal5" tabindex="-1" role="dialog" aria-hidden="true"> - <div class="modal-content"> - <div class="close-modal" data-dismiss="modal"> - <div class="lr"> - <div class="rl"> - </div> - </div> - </div> - <div class="container"> - <div class="row"> - <div class="col-lg-8 col-lg-offset-2"> - <div class="modal-body"> - <h2>Project Title</h2> - <hr class="star-primary"> - <img src="{% static 'img/speakers/safe.png' %}" class="img-responsive img-centered" alt=""> - <p>Use this area of the page to describe your project. The icon above is part of a free icon set by <a href="https://sellfy.com/p/8Q9P/jV3VZ/">Flat Icons</a>. On their website, you can download their free set with 16 icons, or you can purchase the entire set with 146 icons for only $12!</p> - <ul class="list-inline item-details"> - <li>Client: - <strong><a href="http://startbootstrap.com">Start Bootstrap</a> - </strong> - </li> - <li>Date: - <strong><a href="http://startbootstrap.com">April 2014</a> - </strong> - </li> - <li>Service: - <strong><a href="http://startbootstrap.com">Web Development</a> - </strong> - </li> - </ul> - <button type="button" class="btn btn-default" data-dismiss="modal"><i class="fa fa-times"></i> Close</button> - </div> - </div> - </div> - </div> - </div> - </div> - <div class="speakers-modal modal fade" id="speakersModal6" tabindex="-1" role="dialog" aria-hidden="true"> - <div class="modal-content"> - <div class="close-modal" data-dismiss="modal"> - <div class="lr"> - <div class="rl"> - </div> - </div> - </div> - <div class="container"> - <div class="row"> - <div class="col-lg-8 col-lg-offset-2"> - <div class="modal-body"> - <h2>Project Title</h2> - <hr class="star-primary"> - <img src="{% static 'img/speakers/submarine.png' %}" class="img-responsive img-centered" alt=""> - <p>Use this area of the page to describe your project. The icon above is part of a free icon set by <a href="https://sellfy.com/p/8Q9P/jV3VZ/">Flat Icons</a>. On their website, you can download their free set with 16 icons, or you can purchase the entire set with 146 icons for only $12!</p> - <ul class="list-inline item-details"> - <li>Client: - <strong><a href="http://startbootstrap.com">Start Bootstrap</a> - </strong> - </li> - <li>Date: - <strong><a href="http://startbootstrap.com">April 2014</a> - </strong> - </li> - <li>Service: - <strong><a href="http://startbootstrap.com">Web Development</a> - </strong> - </li> - </ul> - <button type="button" class="btn btn-default" data-dismiss="modal"><i class="fa fa-times"></i> Close</button> - </div> - </div> - </div> - </div> - </div> - </div> - <!-- jQuery --> <script src="{% static 'js/jquery.js' %}"></script> diff --git a/website/views.py b/website/views.py index e347f7b..1d5d17b 100644 --- a/website/views.py +++ b/website/views.py @@ -20,9 +20,9 @@ def contact(request): 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) + 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) |