-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #30 from paulstefanort/html
Initial Markup for Home and About Pages
- Loading branch information
Showing
7 changed files
with
102 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
body { | ||
padding-top:70px; | ||
} | ||
#map-canvas { | ||
height:250px; | ||
} | ||
#btn-neighborhood { | ||
font-size:2em; | ||
} |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
// Google Maps JavaScript SDK | ||
function initialize() { | ||
var mapOptions = { | ||
center: new google.maps.LatLng(36.1314, -95.9372), | ||
zoom: 8 | ||
}; | ||
var map = new google.maps.Map(document.getElementById("map-canvas"), mapOptions); | ||
} | ||
google.maps.event.addDomListener(window, 'load', initialize); | ||
|
||
// Location | ||
$(document).ready(function() { | ||
getLocation(); | ||
}); | ||
|
||
function getLocation() { | ||
if (navigator.geolocation) { | ||
navigator.geolocation.getCurrentPosition(processLocation); | ||
} | ||
} | ||
|
||
function processLocation(position) { | ||
var latitude = position.coords.latitude; | ||
var longitude = position.coords.longitude; | ||
window.location = '#latitude=' + latitude + '&longitude=' + longitude; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{% extends "bpz/base.jinja2" %} | ||
|
||
{% block head_title %}Neighborhood Plugin{% endblock %} | ||
|
||
{% block body_container %} | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="col-xs-12 col-sm-12 col-md-10 col-md-offset-1"> | ||
<h2 class="page-header">About</h2> | ||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi accumsan lobortis justo, quis maximus urna placerat ut. Aenean porttitor lorem id maximus molestie. Integer mattis justo vulputate augue auctor, eu feugiat diam accumsan. Nullam metus elit, tincidunt sit amet ex malesuada, condimentum luctus dolor. Pellentesque eu aliquet neque. Integer gravida odio nibh, at fringilla enim maximus dictum. Proin tortor lectus, aliquet quis cursus a, malesuada sit amet massa. Sed efficitur finibus massa, pretium ornare dui venenatis tincidunt. Vivamus eget nisi tempus, aliquet ex sed, commodo dui. Aliquam sollicitudin tortor at varius blandit. Quisque condimentum congue lacus non commodo. Fusce dignissim ornare risus non tincidunt. Nulla fringilla rutrum dui, id iaculis velit dapibus nec.</p> | ||
</div> | ||
</div> | ||
<div class="row"> | ||
<div class="col-xs-12 col-sm-12 col-md-10 col-md-offset-1"> | ||
<a href="/" class="btn btn-success btn-block" id="btn-neighborhood">Find my Neighborhood»</a> | ||
</div> | ||
|
||
</div> | ||
|
||
</div><!-- /.container --> | ||
|
||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters