Improves styles for account page, adds user avatar

This commit is contained in:
Alberto Garcia Cabeza
2015-08-11 19:53:18 +02:00
committed by Juanjo Bazán
parent 1299987272
commit 94dc53e68c
2 changed files with 10 additions and 1 deletions

View File

@@ -457,12 +457,17 @@ form {
opacity: .5;
}
.avatar {
margin-bottom: $line-height;
}
h2 {
clear: both;
font-size: rem-calc(20);
font-weight: bold;
line-height: $line-height;
margin: 0;
margin-bottom: $line-height/2;
}
.recommendations {

View File

@@ -35,7 +35,11 @@
<% end %>
</div>
<div class="small-12 column">
<div class="small-12 medium-6 column">
<h2><%= t("account.show.avatar")%></h2>
<%= image_tag('user_default_big.jpg', class: "avatar", size: "100x100") %>
<h2><%= t("account.show.notifications")%></h2>
<%= f.label :email_on_debate_comment do %>
<%= f.check_box :email_on_debate_comment %>
<span class="checkbox"><%= t("account.show.email_on_debate_comment_label") %></span>