Commit 449edae5aba573943fa048a45d1a78cda9fb13f8
1 parent
61d98601
Exists in
master
and in
4 other branches
Minor UI improvements
Showing
4 changed files
with
8 additions
and
8 deletions
Show diff stats
app/views/dashboard/_groups.html.haml
@@ -3,9 +3,9 @@ | @@ -3,9 +3,9 @@ | ||
3 | = search_field_tag :filter_group, nil, placeholder: 'Filter by name', class: 'dash-filter' | 3 | = search_field_tag :filter_group, nil, placeholder: 'Filter by name', class: 'dash-filter' |
4 | - if current_user.can_create_group? | 4 | - if current_user.can_create_group? |
5 | %span.pull-right | 5 | %span.pull-right |
6 | - = link_to new_group_path, class: "btn" do | 6 | + = link_to new_group_path, class: "btn btn-new" do |
7 | %i.icon-plus | 7 | %i.icon-plus |
8 | - New Group | 8 | + New group |
9 | %ul.well-list.dash-list | 9 | %ul.well-list.dash-list |
10 | - groups.each do |group| | 10 | - groups.each do |group| |
11 | %li.group-row | 11 | %li.group-row |
app/views/dashboard/_projects.html.haml
@@ -3,9 +3,9 @@ | @@ -3,9 +3,9 @@ | ||
3 | = search_field_tag :filter_projects, nil, placeholder: 'Filter by name', class: 'dash-filter' | 3 | = search_field_tag :filter_projects, nil, placeholder: 'Filter by name', class: 'dash-filter' |
4 | - if current_user.can_create_project? | 4 | - if current_user.can_create_project? |
5 | %span.pull-right | 5 | %span.pull-right |
6 | - = link_to new_project_path, class: "btn" do | 6 | + = link_to new_project_path, class: "btn btn-new" do |
7 | %i.icon-plus | 7 | %i.icon-plus |
8 | - New Project | 8 | + New project |
9 | 9 | ||
10 | %ul.well-list.dash-list | 10 | %ul.well-list.dash-list |
11 | - projects.each do |project| | 11 | - projects.each do |project| |
app/views/layouts/_head_panel.html.haml
@@ -27,10 +27,10 @@ | @@ -27,10 +27,10 @@ | ||
27 | %i.icon-cogs | 27 | %i.icon-cogs |
28 | - if current_user.can_create_project? | 28 | - if current_user.can_create_project? |
29 | %li | 29 | %li |
30 | - = link_to new_project_path, title: "Create New Project", class: 'has_bottom_tooltip', 'data-original-title' => 'New project' do | 30 | + = link_to new_project_path, title: "New project", class: 'has_bottom_tooltip', 'data-original-title' => 'New project' do |
31 | %i.icon-plus | 31 | %i.icon-plus |
32 | %li | 32 | %li |
33 | - = link_to profile_path, title: "My Profile", class: 'has_bottom_tooltip', 'data-original-title' => 'Your profile' do | 33 | + = link_to profile_path, title: "My profile", class: 'has_bottom_tooltip', 'data-original-title' => 'My profile' do |
34 | %i.icon-user | 34 | %i.icon-user |
35 | %li | 35 | %li |
36 | = link_to destroy_user_session_path, class: "logout", method: :delete, title: "Logout", class: 'has_bottom_tooltip', 'data-original-title' => 'Logout' do | 36 | = link_to destroy_user_session_path, class: "logout", method: :delete, title: "Logout", class: 'has_bottom_tooltip', 'data-original-title' => 'Logout' do |
app/views/users/show.html.haml
@@ -5,7 +5,7 @@ | @@ -5,7 +5,7 @@ | ||
5 | = @user.name | 5 | = @user.name |
6 | - if @user == current_user | 6 | - if @user == current_user |
7 | .pull-right | 7 | .pull-right |
8 | - = link_to profile_path, class: 'btn btn-small' do | 8 | + = link_to profile_path, class: 'btn' do |
9 | %i.icon-edit | 9 | %i.icon-edit |
10 | Edit Profile | 10 | Edit Profile |
11 | %br | 11 | %br |
@@ -14,7 +14,7 @@ | @@ -14,7 +14,7 @@ | ||
14 | %small member since #{@user.created_at.stamp("Nov 12, 2031")} | 14 | %small member since #{@user.created_at.stamp("Nov 12, 2031")} |
15 | .clearfix | 15 | .clearfix |
16 | %hr | 16 | %hr |
17 | - %h5 User Activity: | 17 | + %h4 User Activity: |
18 | = render @events | 18 | = render @events |
19 | .span4 | 19 | .span4 |
20 | = render 'profile', user: @user | 20 | = render 'profile', user: @user |