Style groups page

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
Dmitriy Zaporozhets 2015-09-03 17:21:48 +02:00
parent aeeb31d6b7
commit 0195b085a1
No known key found for this signature in database
GPG key ID: 161B5D6A44D3D88A
3 changed files with 12 additions and 5 deletions

View file

@ -109,6 +109,10 @@ ul.content-list {
padding: 18px;
border-color: #f1f2f4;
margin: 0 -18px;
.avatar {
margin-right: 15px;
}
}
}

View file

@ -1,14 +1,17 @@
- page_title "Groups"
= render 'dashboard/groups_head'
.slead
Group members have access to all group projects.
.gray-content-block
- if current_user.can_create_group?
%span.pull-right.hidden-xs
= link_to new_group_path, class: "btn btn-new btn-sm" do
= link_to new_group_path, class: "btn btn-new" do
%i.fa.fa-plus
New Group
%ul.bordered-list
Welcome to the groups!
%br
Group members have access to all group projects.
%ul.content-list
- @group_members.each do |group_member|
- group = group_member.group
= render 'shared/groups/group', group: group, group_member: group_member

View file

@ -11,7 +11,7 @@
%i.fa.fa-sign-out
Leave
= image_tag group_icon(group), class: "avatar s40 avatar-tile hidden-xs"
= image_tag group_icon(group), class: "avatar s48 hidden-xs"
= link_to group, class: 'group-name' do
%strong= group.name