Skip to content

Commit

Permalink
fixup! Prototype of very basic report page
Browse files Browse the repository at this point in the history
  • Loading branch information
zarino committed Jun 21, 2016
1 parent 4159011 commit 89796c4
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
4 changes: 4 additions & 0 deletions views/report.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
<% end %>

<h2 class="page-title"><%= @country[:country] %></h2>
<p class="report-actions">
<a href="#" class="button button--small">Play this country!</a>
<a href="#" class="button button--small">Download data</a>
</p>

<h3 class="report-legislature">Galactic Senate</h3>

Expand Down
14 changes: 13 additions & 1 deletion views/sass/_report.scss
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,16 @@
.page-title + & {
margin-top: 1em;
}
}
}

.report-actions {
text-align: center;

.button {
background: #fff;
}

.button + .button {
margin-left: 1em;
}
}

0 comments on commit 89796c4

Please sign in to comment.