]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/dns/templates/default/zone.html.erb
Add DNS cookbook
[chef.git] / cookbooks / dns / templates / default / zone.html.erb
diff --git a/cookbooks/dns/templates/default/zone.html.erb b/cookbooks/dns/templates/default/zone.html.erb
new file mode 100644 (file)
index 0000000..792b65c
--- /dev/null
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml">
+  <head>
+    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
+    <title>GeoDNS - <%= @zone %></title>
+    <link rel="stylesheet" href="dns.css" type="text/css" media="all" />
+    <link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.5.1/leaflet.css" />
+    <!--[if lte IE 8]>
+    <link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.5.1/leaflet.ie.css" />
+    <![endif]-->
+    <script type="text/javascript" src="http://cdn.leafletjs.com/leaflet-0.5.1/leaflet.js"></script>
+    <script type="text/javascript" src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
+    <script type="text/javascript" src="dns.js"></script>
+  </head>
+  <body onload="createMap('map', 'json/<%= @zone %>.json')">
+    <div id="map"></div>
+  </body>
+</html>