changed profile display a bit

This commit is contained in:
pixeldesu 2014-11-29 22:56:38 +01:00
parent 685b0efe83
commit bc254bc60d
2 changed files with 20 additions and 13 deletions

View File

@ -10,4 +10,16 @@ body {
.centre {
text-align: center;
}
.entry-subtext {
color: $navbar-inverse-bg;
margin-top: 0px;
text-transform: uppercase;
font-weight: bold;
font-size: 80%;
}
.entry-text {
margin-bottom: 0px;
}

View File

@ -12,19 +12,14 @@
%h3.text-muted= @user.screen_name
- if @user.admin?
%span.label.label-danger Admin
%ul.list-group
%li.list-group-item
Followers
%span.badge#follower-count= @user.follower_count
%li.list-group-item
Followings
%span.badge#friend-count= @user.friend_count
%li.list-group-item
Questions
%span.badge#friend-count= @user.asked_count
%li.list-group-item
Answers
%span.badge#friend-count= @user.answered_count
%h4.entry-text= @user.follower_count
%h6.entry-subtext Followers
%h4.entry-text= @user.friend_count
%h6.entry-subtext Followings
%h4.entry-text= @user.asked_count
%h6.entry-subtext Questions
%h4.entry-text= @user.answered_count
%h6.entry-subtext Answers
.hidden-xs= render 'shared/links'
.col-md-9.col-xs-12.col-sm-9
= render 'shared/questionbox'