Permalink
Browse files

Initial commit

  • Loading branch information...
wlach committed May 26, 2011
0 parents commit 140d4cd306805415663cb12935e16583e23a4b5f
Showing with 2,867 additions and 0 deletions.
  1. +1 −0 .gitignore
  2. +3 −0 .gitmodules
  3. +22 −0 LICENSE
  4. +1 −0 README
  5. +13 −0 README.md
  6. +1 −0 aristo-jquery-theme
  7. BIN images/header_bg.gif
  8. +77 −0 index.html
  9. +2,507 −0 layout/jquery.layout-1.2.0.js
  10. +80 −0 layout/jquery.layout.min-1.2.0.js
  11. +73 −0 map.js
  12. +25 −0 scaffold.css
  13. +64 −0 style.css
@@ -0,0 +1 @@
+*~
@@ -0,0 +1,3 @@
+[submodule "aristo-jquery-theme"]
+ path = aristo-jquery-theme
+ url = git://github.com/wlach/Aristo-jQuery-UI-Theme.git
22 LICENSE
@@ -0,0 +1,22 @@
+Copyright (c) 2008-2011 William Lachance
+
+Permission is hereby granted, free of charge, to any person
+obtaining a copy of this software and associated documentation
+files (the "Software"), to deal in the Software without
+restriction, including without limitation the rights to use,
+copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the
+Software is furnished to do so, subject to the following
+conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+OTHER DEALINGS IN THE SOFTWARE.
1 README
@@ -0,0 +1,13 @@
+This is a simple template that you might use for a mapping application using
+Google Maps, jQuery layout, and the Aristo jQuery-UI theme. Off the bat, it'll
+give you some visual driving directions, hopefully looking reasonably good
+while doing it.
+
+This project has been liberally licensed, in the hopes that people will build
+some interesting applications on top of it. So what are you waiting for?
+
+Note that this project uses git submodules to import the Aristo theme. After
+cloning you'll want to do this on the command line:
+
+ git submodule init
+ git submodule update
Submodule aristo-jquery-theme added at 5364d7
Binary file not shown.
@@ -0,0 +1,77 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml">
+
+<head>
+ <title>Example Map Site</title>
+
+ <link href="scaffold.css" rel="stylesheet" type="text/css" />
+ <link href="style.css" rel="stylesheet" type="text/css" />
+
+ <link href="aristo-jquery-theme/css/Aristo/jquery-ui-1.8.7.custom.css" type="text/css" rel="stylesheet" />
+
+ <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>
+ <script type="text/javascript" src="http://maps.google.com/maps/api/js?libraries=places&sensor=false"></script>
+ <script type="text/javascript" src="http://code.jquery.com/jquery-1.6.1.min.js"></script>
+ <script type="text/javascript" src="http://code.jquery.com/ui/1.8.13/jquery-ui.min.js"></script>
+
+ <script type="text/javascript" src="layout/jquery.layout.min-1.2.0.js"></script>
+ <script type="text/javascript" src="map.js"></script>
+ <script type="text/javascript">
+ $(document).ready(function () {
+ init(45.52, -73.71, 45.75, -73.09);
+ });
+ </script>
+
+ <style type="text/css">
+ v\:* {
+ behavior:url(#default#VML);
+ }
+ </style>
+</head>
+
+<body>
+
+ <div id="header" class="ui-layout-north">
+ <h1><a href="/">example-map-site<span>.com</span></a></h1>
+ <p>Insert subtitle here</p>
+ </div>
+
+ <div class="ui-layout-west">
+ <div id="panels">
+ <div class="panel" id="intro">
+ <div class="content">
+ <p>
+Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum at erat sem, ultricies ornare velit. Suspendisse potenti. Sed suscipit dapibus urna in gravida. Nullam blandit aliquam odio quis varius. Integer at orci est. Nullam tincidunt metus id elit lobortis luctus.
+ </p>
+ </div>
+ </div>
+ <div class="panel">
+ <div class="content">
+ <form id="directions-form" class="ui-form">
+ <div class="location-input">
+ <p>
+ <strong>From</strong><br />
+ <input id="from-input" type="text" />
+ </p>
+ <p>
+ <strong>To</strong><br />
+ <input id="to-input" type="text"/>
+ </p>
+ </div>
+ <div class="reverse-input">
+ <div id="reverse-button"></div>
+ </div>
+ <div class="submit">
+ <input type="submit" id="plan-button" value="Get Directions" />
+ </div>
+ </form>
+ </div>
+ </div>
+ </div>
+ </div>
+
+ <div class="ui-layout-center"><div id="map_canvas"></div></div>
+
+</body>
+
+</html>
Oops, something went wrong.

0 comments on commit 140d4cd

Please sign in to comment.