diff options
author | hardythe1 | 2014-11-10 11:48:53 +0530 |
---|---|---|
committer | hardythe1 | 2014-11-10 11:48:53 +0530 |
commit | 22eaaa85a00283c9018313efcb047b266e45dbcf (patch) | |
tree | f1c20eec2515d311c38a0a6e0624fbbdf9f91b9a /static | |
parent | 9b54f974818ff115207576ad6ae91e367998a55c (diff) | |
download | scipy2014-22eaaa85a00283c9018313efcb047b266e45dbcf.tar.gz scipy2014-22eaaa85a00283c9018313efcb047b266e45dbcf.tar.bz2 scipy2014-22eaaa85a00283c9018313efcb047b266e45dbcf.zip |
updated venue details, added main venue map
Diffstat (limited to 'static')
-rw-r--r-- | static/website/css/main.css | 16 | ||||
-rw-r--r-- | static/website/js/venue.js | 18 | ||||
-rw-r--r-- | static/website/templates/venue.html | 36 |
3 files changed, 38 insertions, 32 deletions
diff --git a/static/website/css/main.css b/static/website/css/main.css index 4871854..903ec13 100644 --- a/static/website/css/main.css +++ b/static/website/css/main.css @@ -266,8 +266,8 @@ body { height: 400px; margin-bottom: 25px; } -#reach-iitb .side-nav{ - height: 455px; +#reach-iitb .side-nav { + height: 475px; overflow: hidden; background: #ffffff; } @@ -277,7 +277,7 @@ body { -o-border-radius: 0; border-radius: 0; } -#reach-iitb #fare{ +#reach-iitb #fare { overflow-x: hidden; overflow-y: scroll; padding:5px; @@ -291,23 +291,27 @@ body { -o-border-radius: 5px; border-radius: 5px; } -#reach-iitb #map{ +#reach-iitb #map { height: 455px; padding: 0; background: #ffffff; border: 1px solid #f5f5f5; } -#map-loader{ +#map-loader { display: block; margin: 220px auto 0; } #map { position: relative; } -#mappy{ +#mappy { position: absolute; top: 0; right: 0; left: 0; bottom: 0; } +.num { + font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; + font-weight: 300; +} diff --git a/static/website/js/venue.js b/static/website/js/venue.js index 742727c..79768e5 100644 --- a/static/website/js/venue.js +++ b/static/website/js/venue.js @@ -1,25 +1,28 @@ $(document).ready(function(){ +var venue = '<iframe src="https://www.google.com/maps/embed?pb=!1m14!1m8!1m3!1d1884.7370444677179!2d72.91703983929293!3d19.130714113944165!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x3be7c7f4215f57bf%3A0xcf0c03ea45a113e1!2sLecture+Hall+Complex+(LHC)!5e0!3m2!1sen!2s!4v1415598677678" width="600" height="450" frameborder="0" style="border:0"></iframe>'; +var venue_description = 'IIT Bombay campus is in Powai, which is an eastern suburb in North-Eastern part of Mumbai. This guide will help you to reach IIT-B campus from various important destinations of Mumbai. Click on any of the destinations listed above to know the transit details.'; + var airport = '<iframe width="100%" height="100%" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://www.google.co.in/maps?f=d&source=s_d&saddr=Chhatrapati+Shivaji+International+Airport,+Andheri+East,+Mumbai,+Maharashtra&daddr=IIT+Main+Gate&hl=en&geocode=FQFLIwEdg-NXBCGuqHTEYBrMHilHKb2ZUMjnOzGuqHTEYBrMHg%3BFRrUIwEdep5YBCldyp4n8sfnOzFZy8ueURQugA&aq=4&oq=IIT&sll=19.099667,72.883154&sspn=0.094407,0.154324&mra=pd&ie=UTF8&t=m&ll=19.110379,72.895527&spn=0.029763,0.042183&output=embed"></iframe>'; var airport_description = 'Convenient way to reach IITB from airport is to BEST buses running on route no. 382 or 409. Alternatively you may take an auto directly to IIT which would cost you around 90 rs.(depending on traffic) or a taxi which would cost around 100 Rs.'; var dadar = '<iframe width="100%" height="100%" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://www.google.co.in/maps?f=d&source=s_d&saddr=dadar+station&daddr=IIT+Main+Gate&hl=en&geocode=FZMqIgEdYXRXBCkdh7S_3M7nOzHZNplA5uMmIw%3BFRrUIwEdep5YBCldyp4n8sfnOzFZy8ueURQugA&aq=&sll=19.037454,72.908363&sspn=0.188885,0.308647&mra=ls&ie=UTF8&ll=19.037454,72.908363&spn=0.112729,0.100371&t=m&output=embed"></iframe>'; -var dadar_description = 'Go to Dadar central line (typically on platform 6 of central line). Buy a ticket to Kanjurmarg at the ticket counter located on a level above the platform. Board a ‘slow’ local train (typically from platforms 3-5) which goes atleast upto Thane. Get down at Kanjurmarg Station (exit from platform No.1 to Kanjurmarg west). Take an auto rickshaw to IITB (Fare ~ Rs. 30).'; +var dadar_description = 'Go to Dadar central line (typically on platform 6 of central line). Buy a ticket to Kanjurmarg at the ticket counter located on a level above the platform. Board a slow local train (typically from platforms 3-5) which goes atleast upto Thane. Get down at Kanjurmarg Station (exit from platform No.1 to Kanjurmarg west). Take an auto rickshaw to IITB (Fare ~ Rs. 30).'; var thane = '<iframe width="100%" height="100%" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://www.google.co.in/maps?f=d&source=s_d&saddr=Thane+Railway+Station,+Station+Road+Kopri,+Thane,+Maharashtra&daddr=IIT+Main+Gate&hl=en&geocode=FY7CJAEd_4BZBCkjQ1Rf37jnOzF9iI2abfvySQ%3BFRrUIwEdep5YBCldyp4n8sfnOzFZy8ueURQugA&aq=4&oq=IIT&sll=19.155222,72.944412&sspn=0.094375,0.154324&mra=pd&ie=UTF8&ll=19.155222,72.944412&spn=0.06341,0.058068&t=m&output=embed"></iframe>'; -var thane_description = 'Buy a ticket to Kanjurmarg (central line) at the local train ticket counter. Come to platform 1, 3 or 4. Board a ‘slow’ local train which goes atleast upto Dadar/CST. Get down at Kanjurmarg Station (exit from platform No.1 to Kanjurmarg west). Take an auto rickshaw to IITB (Fare ~ Rs. 30).'; +var thane_description = 'Buy a ticket to Kanjurmarg (central line) at the local train ticket counter. Come to platform 1, 3 or 4. Board a slow local train which goes atleast upto Dadar/CST. Get down at Kanjurmarg Station (exit from platform No.1 to Kanjurmarg west). Take an auto rickshaw to IITB (Fare ~ Rs. 30).'; var bandra = '<iframe width="100%" height="100%" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://www.google.co.in/maps?f=d&source=s_d&saddr=Bandra+Terminus,+Naupada,+Bandra+East,+Mumbai,+Maharashtra&daddr=IIT+Main+Gate&hl=en&geocode=FWLeIgEdQHdXBCm3sivHGcnnOzF9Gr08r3UTdQ%3BFRrUIwEdep5YBCldyp4n8sfnOzFZy8ueURQugA&aq=0&oq=Bandra+ter&sll=19.155709,72.945614&sspn=0.094375,0.154324&mra=ls&ie=UTF8&ll=19.155709,72.945614&spn=0.079966,0.075124&t=m&output=embed"></iframe>'; -var bandra_description = 'Go to the Bandra terminus (BDTS), take an auto rickshaw to the Kurla Station (Fare ~ Rs. 40). Buy a ticket to Kanjurmarg (central line) at the local train ticket counter. Board a ‘slow’ local train (typically from platform No.1) which goes atleast upto Thane. Get down at Kanjurmarg Station (exit from platform No.1 to Kanjurmarg west). Take an auto rickshaw to IITB (Fare ~ Rs. 30).'; +var bandra_description = 'Go to the Bandra terminus (BDTS), take an auto rickshaw to the Kurla Station (Fare ~ Rs. 40). Buy a ticket to Kanjurmarg (central line) at the local train ticket counter. Board a slow local train (typically from platform No.1) which goes atleast upto Thane. Get down at Kanjurmarg Station (exit from platform No.1 to Kanjurmarg west). Take an auto rickshaw to IITB (Fare ~ Rs. 30).'; var tilak = '<iframe width="100%" height="100%" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://www.google.co.in/maps?f=d&source=s_d&saddr=Lokmanya+Tilak+Terminus,+Pipeline+Road,+Kurla,+Mumbai,+Maharashtra&daddr=IIT+Main+Gate&hl=en&geocode=FSb7IgEdST5YBCGh8y-GNk5pZinbn-jom8jnOzGh8y-GNk5pZg%3BFRrUIwEdep5YBCldyp4n8sfnOzFZy8ueURQugA&aq=0&oq=Lokmany&sll=19.101053,72.879009&sspn=0.094406,0.154324&mra=ls&ie=UTF8&ll=19.101053,72.879009&spn=0.063015,0.045739&t=m&output=embed"></iframe>'; var tilak_description = 'The most convenient way to reach IITB is to take an auto rickshaw (Fare ~ Rs. 80).'; var central = '<iframe width="100%" height="100%" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://www.google.co.in/maps?f=d&source=s_d&saddr=Mumbai+Central+station,+Mumbai,+Maharashtra&daddr=IIT+Main+Gate&hl=en&geocode=FVt4IQEd3SJXBCFssj0JqjsoWSmzxd6Nbs7nOzFssj0JqjsoWQ%3BFRrUIwEdep5YBCldyp4n8sfnOzFZy8ueURQugA&aq=&sll=19.0472,72.879606&sspn=0.188874,0.308647&mra=ls&ie=UTF8&t=m&ll=19.0472,72.879606&spn=0.163085,0.117661&output=embed"></iframe>'; -var central_description = 'Go to the Bombay Central Terminus (BCT) and walk to the Bombay Central local train. Buy a ticket to Kanjurmarg (central line) at the local train ticket counter. Board a ‘slow’ local train that halts at all stations on the line to Andheri/Borivali. Get down at Dadar (western line). Walk over to Dadar (central line) using an over-bridge. Further, kindly follow the instructions given earlier for Dadar (central line) to IITB.'; +var central_description = 'Go to the Bombay Central Terminus (BCT) and walk to the Bombay Central local train. Buy a ticket to Kanjurmarg (central line) at the local train ticket counter. Board a slow local train that halts at all stations on the line to Andheri/Borivali. Get down at Dadar (western line). Walk over to Dadar (central line) using an over-bridge. Further, kindly follow the instructions given earlier for Dadar (central line) to IITB.'; var shivaji = '<iframe width="100%" height="100% "src="https://www.google.com/maps/embed?pb=!1m21!1m12!1m3!1d26081603.294420466!2d-95.677068!3d37.06250000000001!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!4m6!1i0!3e6!4m1!2sCST%2C+Dadabhai+Naoroji+Road%2C+Chhatrapati+Shivaji+Terminus+Area%2C+Mumbai%2C+Maharashtra%2C+India!4m1!2sIIT+Main+Gate%2C+IIT+Area%2C+Mumbai%2C+Maharashtra%2C+India!5e0!3m2!1sen!2s!4v1395233704932" frameborder="0" style="border:0"></iframe>'; -var shivaji_description = 'Buy a ticket to Kanjurmarg (central line) at the local train ticket counter. Come to the local train terminus (platforms 1-8, right of the long distance terminal). Board a ‘slow’ local train (typically from platforms 3-5) which goes atleast upto Thane. Get down at Kanjurmarg Station (exit from platform No.1 to Kanjurmarg west). Take an auto rickshaw to IITB (Fare ~ Rs. 30).'; +var shivaji_description = 'Buy a ticket to Kanjurmarg (central line) at the local train ticket counter. Come to the local train terminus (platforms 1-8, right of the long distance terminal). Board a slow local train (typically from platforms 3-5) which goes atleast upto Thane. Get down at Kanjurmarg Station (exit from platform No.1 to Kanjurmarg west). Take an auto rickshaw to IITB (Fare ~ Rs. 30).'; /* Load map on link click */ $(".side-nav li a").click(function(e){ @@ -27,6 +30,11 @@ var shivaji_description = 'Buy a ticket to Kanjurmarg (central line) at the loca var clicked = $(this).attr("id"); var from = ''; switch(clicked){ + case "venue": + clicked = venue; + from = 'Venue'; + description = venue_description; + break; case "airport": clicked = airport; from = 'From Airport'; diff --git a/static/website/templates/venue.html b/static/website/templates/venue.html index 75b4fb9..ad13440 100644 --- a/static/website/templates/venue.html +++ b/static/website/templates/venue.html @@ -11,39 +11,34 @@ Venue {% block content %} <div class="row"> <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12"> - <h3 class="garmond"><em>Venue</em>: IIT Bombay, Powai, India.</h3> + <h3 class="garmond"><em>Venue</em>: LCH <span class='num'>11</span>, Lecture Hall Complex, IIT Bombay, Powai, India.</h3> <p> <em> Links: </em> <a href="http://www.iitb.ac.in" target="_blank"><span class="label label-primary">IITB Website</span></a> - <a href="{% static 'data/iitb_map.pdf' %}" target="_blank"><span class="label label-success">IITB Map</span></a> + <a href="{% static 'data/iitb_map.pdf' %}" target="_blank"><span class="label label-success">IITB Campus Map</span></a> </p> <hr> <h3 class="garmond">A quick guide on reaching IITB campus.</h3> - <p> - <ul> - <li>Powai is an eastern suburb in North-Eastern part of Mumbai. </li> - <li>Here is how you can reach IIT Bombay from various important stations.</li> - </ul> - </p> <br> </div> <!-- /.col --> </div> <!-- /.row --> <div id="reach-iitb"> <div class="row"> <div class="col-lg-4 col-md-4 col-sm-4 col-xs-4"> <ul class="nav nav-pills nav-stacked text-left side-nav"> - <li class="active"><a id="airport" href="#"><small>From Airport</small></a></li> - <li><a id="dadar" href="#"><small>From Dadar Station</small></a></li> - <li><a id="thane" href="#"><small>From Thane Station</small></a></li> - <li><a id="bandra" href="#"><small>From Bandra Terminus</small></a></li> - <li><a id="tilak" href="#"><small>From Lokmanya Tilak Terminus</small></a></li> - <li><a id="central" href="#"><small>From Mumbai Central</small></a></li> - <li><a id="shivaji" href="#"><small>From Chatrapati Shivaji Terminus</small></a></li> + <li class="active"><a id="venue" href="#"><small>Venue</small></a></li> + <li><a id="airport" href="#"><small>Reaching from Airport</small></a></li> + <li><a id="dadar" href="#"><small>Reaching from Dadar Station</small></a></li> + <li><a id="thane" href="#"><small>Reaching from Thane Station</small></a></li> + <li><a id="bandra" href="#"><small>Reaching from Bandra Terminus</small></a></li> + <li><a id="tilak" href="#"><small>Reaching from Lokmanya Tilak Terminus</small></a></li> + <li><a id="central" href="#"><small>Reaching from Mumbai Central</small></a></li> + <li><a id="shivaji" href="#"><small>Reaching from Chatrapati Shivaji Terminus</small></a></li> <li id="fare"> - <h6>Transit Details: <span id="from">From Airport</span></h6> + <h6>Transit Details: <span id="from">Main Venue</span></h6> <p id="description"> - Convenient way to reach IITB from airport is to BEST buses running on route no. 382 or 409. - Alternatively you may take an auto directly to IIT which would cost you around 90 rs. - (depending on traffic) or a taxi which would cost around 100 Rs. + IIT Bombay campus is in Powai, which is an eastern suburb in North-Eastern part of Mumbai. + This guide will help you to reach IIT-B campus from various important destinations of Mumbai. + Click on any of the destinations listed above to know the transit details. </p> </li> </ul> @@ -53,8 +48,7 @@ Venue <div id="map"> <img id="map-loader" src="{% static 'website/images/map-loader.gif' %}"> <div id="mappy"> - <iframe width="100%" height="100%" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://www.google.co.in/maps?f=d&source=s_d&saddr=Chhatrapati+Shivaji+International+Airport,+Andheri+East,+Mumbai,+Maharashtra&daddr=IIT+Main+Gate&hl=en&geocode=FQFLIwEdg-NXBCGuqHTEYBrMHilHKb2ZUMjnOzGuqHTEYBrMHg%3BFRrUIwEdep5YBCldyp4n8sfnOzFZy8ueURQugA&aq=4&oq=IIT&sll=19.099667,72.883154&sspn=0.094407,0.154324&mra=pd&ie=UTF8&t=m&ll=19.110379,72.895527&spn=0.029763,0.042183&output=embed"> - </iframe> + <iframe src="https://www.google.com/maps/embed?pb=!1m14!1m8!1m3!1d1884.7370444677179!2d72.91703983929293!3d19.130714113944165!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x3be7c7f4215f57bf%3A0xcf0c03ea45a113e1!2sLecture+Hall+Complex+(LHC)!5e0!3m2!1sen!2s!4v1415598677678" width="600" height="450" frameborder="0" style="border:0"></iframe> </div> </div> <!-- /map --> </div> <!-- /.col --> |