Skip to content

Commit

Permalink
add json link to front page
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeGermuska committed Aug 12, 2011
1 parent bf7f09e commit abcc9ed
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions censusweb/api/templates/homepage.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -20,6 +21,9 @@ <h2>About</h2>
$("#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.