changed profile display a bit
This commit is contained in:
parent
685b0efe83
commit
bc254bc60d
|
@ -10,4 +10,16 @@ body {
|
||||||
|
|
||||||
.centre {
|
.centre {
|
||||||
text-align: center;
|
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;
|
||||||
}
|
}
|
|
@ -12,19 +12,14 @@
|
||||||
%h3.text-muted= @user.screen_name
|
%h3.text-muted= @user.screen_name
|
||||||
- if @user.admin?
|
- if @user.admin?
|
||||||
%span.label.label-danger Admin
|
%span.label.label-danger Admin
|
||||||
%ul.list-group
|
%h4.entry-text= @user.follower_count
|
||||||
%li.list-group-item
|
%h6.entry-subtext Followers
|
||||||
Followers
|
%h4.entry-text= @user.friend_count
|
||||||
%span.badge#follower-count= @user.follower_count
|
%h6.entry-subtext Followings
|
||||||
%li.list-group-item
|
%h4.entry-text= @user.asked_count
|
||||||
Followings
|
%h6.entry-subtext Questions
|
||||||
%span.badge#friend-count= @user.friend_count
|
%h4.entry-text= @user.answered_count
|
||||||
%li.list-group-item
|
%h6.entry-subtext Answers
|
||||||
Questions
|
|
||||||
%span.badge#friend-count= @user.asked_count
|
|
||||||
%li.list-group-item
|
|
||||||
Answers
|
|
||||||
%span.badge#friend-count= @user.answered_count
|
|
||||||
.hidden-xs= render 'shared/links'
|
.hidden-xs= render 'shared/links'
|
||||||
.col-md-9.col-xs-12.col-sm-9
|
.col-md-9.col-xs-12.col-sm-9
|
||||||
= render 'shared/questionbox'
|
= render 'shared/questionbox'
|
||||||
|
|
Loading…
Reference in New Issue