]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/stats/templates/default/index.html.erb
Bring stats.openstreetmap.org under chef control
[chef.git] / cookbooks / stats / templates / default / index.html.erb
diff --git a/cookbooks/stats/templates/default/index.html.erb b/cookbooks/stats/templates/default/index.html.erb
new file mode 100644 (file)
index 0000000..fa8c5ad
--- /dev/null
@@ -0,0 +1,14 @@
+<html>
+<head>
+<title>OpenStreetMap Statistics</title>
+</head>
+<body>
+<h1>OpenStreetMap Statistics</h1>
+<ul>
+<% @sites.each do |site| -%>
+<li><a href="/cgi-bin/awstats.pl?config=<%= site[:name] %>">Web site statistics for <%= site[:name] %></a></li>
+<% end -%>
+<li><a href="http://www.openstreetmap.org/stats/data_stats.html">Database statistics</a></li>
+</ul>
+</body>
+</html>