]> gitweb.michael.orlitzky.com - dead/census-tools.git/blobdiff - www/maps/maps/templates/base.mako
Added the "maps" Pylons project.
[dead/census-tools.git] / www / maps / maps / templates / base.mako
diff --git a/www/maps/maps/templates/base.mako b/www/maps/maps/templates/base.mako
new file mode 100644 (file)
index 0000000..0b14045
--- /dev/null
@@ -0,0 +1,28 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+
+<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
+
+  <head>
+      <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+      <meta name="author" content="Michael Orlitzky" />
+
+      <title>Map Demo</title>
+
+      ${h.stylesheet_link('/stylesheets/reset.css')}
+      ${h.stylesheet_link('/stylesheets/common.css')}
+      
+      % if c.load_maps:
+      <script src="http://maps.google.com/maps/api/js?sensor=false" type="text/javascript"></script>
+      <script type="text/javascript"
+              src="/javascript/routing?json=${c.json}">
+      </script>
+      
+      % endif    
+  </head>
+  
+  <body>
+
+    ${next.body()}\
+    
+  </body>
+</html>