diff options
author | hardythe1 | 2014-09-10 17:41:41 +0530 |
---|---|---|
committer | hardythe1 | 2014-09-10 17:41:41 +0530 |
commit | c9832807cbefb28efffd647f5cc13cff4ce89dbc (patch) | |
tree | 3d990b3b29ca69e2f85ad01c38e8014342b4e87c | |
parent | 582d4f5e9b0de2f4f3467dca9d7b9e8bbf4f5ba1 (diff) | |
download | scipy2014-c9832807cbefb28efffd647f5cc13cff4ce89dbc.tar.gz scipy2014-c9832807cbefb28efffd647f5cc13cff4ce89dbc.tar.bz2 scipy2014-c9832807cbefb28efffd647f5cc13cff4ce89dbc.zip |
added venue and contact pages
-rwxr-xr-x | static/website/templates/base.html | 12 | ||||
-rw-r--r-- | static/website/templates/contact.html | 43 | ||||
-rwxr-xr-x | static/website/templates/home.html | 15 | ||||
-rw-r--r-- | static/website/templates/venue.html | 11 | ||||
-rw-r--r-- | website/urls.py | 2 | ||||
-rw-r--r-- | website/views.py | 6 |
6 files changed, 76 insertions, 13 deletions
diff --git a/static/website/templates/base.html b/static/website/templates/base.html index 47036bd..2a7e5c3 100755 --- a/static/website/templates/base.html +++ b/static/website/templates/base.html @@ -3,7 +3,7 @@ <html lang="en"> <head> <meta charset="UTF-8"> - <title>Scipy Conf</title> + <title>SciPy India 2014</title> <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css"> <link rel="stylesheet" href="{% static 'website/css/main.css'%}"> </head> @@ -27,13 +27,13 @@ <!-- Collect the nav links, forms, and other content for toggling --> <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"> <ul class="nav navbar-nav"> - <li><a href="#">Home</a></li> - <li><a href="#">Call for papers</a></li> + <li><a href="{% url 'website:home' %}">Home</a></li> + <!--li><a href="#">Call for papers</a></li> <li class="active"><a href="#">Schedule</a></li> <li><a href="#">Invited Speakers</a></li> - <li><a href="#">Sponsors</a></li> - <li><a href="#">Venue</a></li> - <li><a href="#">Contact Us</a></li> + <li><a href="#">Sponsors</a></li--> + <li><a href="{% url 'website:venue' %}">Venue</a></li> + <li><a href="{% url 'website:contact' %}">Contact Us</a></li> </ul> <ul class="nav navbar-nav navbar-right"> <li><a href="#">Register</a></li> diff --git a/static/website/templates/contact.html b/static/website/templates/contact.html new file mode 100644 index 0000000..07450d4 --- /dev/null +++ b/static/website/templates/contact.html @@ -0,0 +1,43 @@ +{% extends 'website/templates/base.html' %} + +{% block sidebar %} +{% endblock %} + +{% block content %} +<h3>Contact Us</h3> +<p>For any queries regarding registration, accomodation or any other issues, please feel free to contact us.</p> +<table> + <tr> + <td> + FOSSEE (cfd-lab) + </td> + <td> + +91-22-25764133 + </td> + <td> + <a href="mailto:scipy@fossee.in">scipy[at]fossee[dot]in</a> + </td> + </tr> + <tr> + <td> + Hardik Ghaghada + </td> + <td> + +91-8879261812 + </td> + <td> + <a href="mailto:hardik@fossee.in">hardik[at]fossee[dot]in</a> + </td> + </tr> +</table> +<table> + <tr> + <td> + Alternatively you may write us on + </td> + <td> + <a href="mailto:info@fossee.in">info[at]fossee[dot]in</a> + </td> + </tr> +</table> +{% endblock %} diff --git a/static/website/templates/home.html b/static/website/templates/home.html index e38cac0..e2136c8 100755 --- a/static/website/templates/home.html +++ b/static/website/templates/home.html @@ -28,12 +28,12 @@ <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"> <ul class="nav navbar-nav"> <li class="active"><a href="#">Home</a></li> - <li><a href="#">Call for papers</a></li> + <!--<li><a href="#">Call for papers</a></li> <li><a href="#">Schedule</a></li> <li><a href="#">Invited Speakers</a></li> - <li><a href="#">Sponsors</a></li> - <li><a href="#">Venue</a></li> - <li><a href="#">Contact Us</a></li> + <li><a href="#">Sponsors</a></li--> + <li><a href="{% url 'website:venue' %}">Venue</a></li> + <li><a href="{% url 'website:contact' %}">Contact Us</a></li--> </ul> <ul class="nav navbar-nav navbar-right"> <li><a href="#">Register</a></li> @@ -48,8 +48,8 @@ <h1 id="shout">Scipy India 2014</h1> <h4 id="subtle">Dec 5<sup>th</sup> and 6<sup>th</sup> IIT Bombay</h4> <hr style="width:250px;"> - <a class="btn btn-default" href="#">Register Now</a> or - <a class="btn btn-default" href="#">Submit Paper</a> + <a class="btn btn-default" href="#">Register Now</a> + <!--a class="btn btn-default" href="#">Submit Paper</a--> </div> </div> <!-- /#header --> </div> <!-- /#header-wrapper --> @@ -97,7 +97,8 @@ <div class="col-md-6"> <h4 class="garmond"><u>Scope of the conference</u></h4> <p class="text-justify"> - Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. + SciPy India is a conference providing opportunities to spread the use of the Python programming language in the Scientific Computing community in India. It provides a unique opportunity to interact with the "Who's who" of the Python for Scientific Computing fraternity and learn, understand, participate, and contribute to Scientific Computing using Python. Attendees of the conference and participants of the sprints planned will be able to access and review the tools available. They will also be able to learn domain-specific applications and how the tools apply to a plethora of application problems. One of the goals of the conference is to combine education, engineering, and science with computing through the medium of Python. This conference also aims to spread the use of Python for Scientific Computing in various fields and among different communities. +SciPy India 2014 Organiser: FOSSEE For more details visit: python.fossee.in, python.org </p> <hr> </div> diff --git a/static/website/templates/venue.html b/static/website/templates/venue.html new file mode 100644 index 0000000..b7e64a1 --- /dev/null +++ b/static/website/templates/venue.html @@ -0,0 +1,11 @@ +{% extends 'website/templates/base.html' %} + +{% block sidebar %} +{% endblock %} + +{% block content %} +<div> + +<iframe src="https://www.google.com/maps/embed?pb=!1m14!1m8!1m3!1d942.3681463328357!2d72.916895!3d19.130779999999998!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x3be7c7f4215f57bf%3A0xcf0c03ea45a113e1!2sLecture+Hall+Complex+(LHC)!5e0!3m2!1sen!2sin!4v1410350543516" width="600" height="450" frameborder="0" style="border:0"></iframe> +</div> +{% endblock %} diff --git a/website/urls.py b/website/urls.py index 8fe5b6c..4b212e6 100644 --- a/website/urls.py +++ b/website/urls.py @@ -3,4 +3,6 @@ from django.conf.urls import patterns, include, url urlpatterns = patterns('', url(r'^$', 'website.views.home', name='home'), url(r'^page/$', 'website.views.page', name='page'), + url(r'^venue/$', 'website.views.venue', name='venue'), + url(r'^contact/$', 'website.views.contact', name='contact'), ) diff --git a/website/views.py b/website/views.py index 5bd18c0..24ca6ad 100644 --- a/website/views.py +++ b/website/views.py @@ -8,3 +8,9 @@ def home(request): def page(request): return render(request, 'website/templates/page.html') + +def venue(request): + return render(request, 'website/templates/venue.html') + +def contact(request): + return render(request, 'website/templates/contact.html') |