Browse files

add json link to front page

  • Loading branch information...
1 parent bf7f09e commit abcc9ed0b8faa7634156246f7f4bfb4243c7a664 @JoeGermuska JoeGermuska committed Aug 12, 2011
Showing with 4 additions and 0 deletions.
  1. +4 −0 censusweb/api/templates/homepage.html
View
4 censusweb/api/templates/homepage.html
@@ -6,6 +6,7 @@
{% include "_query_builder.html" %}
<p><span id="bulkdata-button" class="button">Download Bulk Data</span></p>
+<p><span id="jsondoc-button" class="button">Census Data in JSON</span></p>
<div id="about">
<h2>About</h2>
@@ -20,6 +21,9 @@
$("#bulkdata-button").click(function(){
window.location.href="{% url bulkdata %}"
})
+ $("#jsondoc-button").click(function(){
+ window.location.href="{% url json-doc %}"
+ })
})
</script>
{% endblock %}

0 comments on commit abcc9ed

Please sign in to comment.