Skip to content

Commit

Permalink
Add some more styling. This almost looks pretty good now...
Browse files Browse the repository at this point in the history
  • Loading branch information
boveus committed Sep 3, 2017
1 parent 1c4ed63 commit 87cf005
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions app/views/main/dashboard.html.erb
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
<article>
<%= link_to 'Total sightings by US state', states_path %> <br />
<%= link_to 'Total sightings per capita by US state', per_capita_by_state_path %> <br />
<%= link_to 'Sightings by country', countries_path %> <br />
<%= link_to 'Sightings by year', years_path %> <br />
<%= link_to 'Sightings by US city', cities_path %> <br />
<%= link_to 'Total sightings by reported shape', shapes_path %> <br />
</article>

<br />
<%= link_to 'Total sightings by US state', states_path, class: "dropbtn" %> <br />
<%= link_to 'Total sightings per capita by US state', per_capita_by_state_path, class: "dropbtn" %> <br />
<%= link_to 'Sightings by country', countries_path, class: "dropbtn" %> <br />
<%= link_to 'Sightings by year', years_path, class: "dropbtn" %> <br />
<%= link_to 'Sightings by US city', cities_path, class: "dropbtn" %> <br />
<%= link_to 'Total sightings by reported shape', shapes_path, class: "dropbtn" %> <br />
<div class="dropdown">
<button onclick="myFunction()" class="dropbtn">Shape count by state</button>
<div id="myDropdown" class="dropdown-content">
Expand All @@ -16,3 +13,4 @@
<%end%>
</div>
</div>
</article>

0 comments on commit 87cf005

Please sign in to comment.