Commit 449edae5 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Minor UI improvements

parent 61d98601
...@@ -3,9 +3,9 @@ ...@@ -3,9 +3,9 @@
= search_field_tag :filter_group, nil, placeholder: 'Filter by name', class: 'dash-filter' = search_field_tag :filter_group, nil, placeholder: 'Filter by name', class: 'dash-filter'
- if current_user.can_create_group? - if current_user.can_create_group?
%span.pull-right %span.pull-right
= link_to new_group_path, class: "btn" do = link_to new_group_path, class: "btn btn-new" do
%i.icon-plus %i.icon-plus
New Group New group
%ul.well-list.dash-list %ul.well-list.dash-list
- groups.each do |group| - groups.each do |group|
%li.group-row %li.group-row
......
...@@ -3,9 +3,9 @@ ...@@ -3,9 +3,9 @@
= search_field_tag :filter_projects, nil, placeholder: 'Filter by name', class: 'dash-filter' = search_field_tag :filter_projects, nil, placeholder: 'Filter by name', class: 'dash-filter'
- if current_user.can_create_project? - if current_user.can_create_project?
%span.pull-right %span.pull-right
= link_to new_project_path, class: "btn" do = link_to new_project_path, class: "btn btn-new" do
%i.icon-plus %i.icon-plus
New Project New project
%ul.well-list.dash-list %ul.well-list.dash-list
- projects.each do |project| - projects.each do |project|
......
...@@ -27,10 +27,10 @@ ...@@ -27,10 +27,10 @@
%i.icon-cogs %i.icon-cogs
- if current_user.can_create_project? - if current_user.can_create_project?
%li %li
= link_to new_project_path, title: "Create New Project", class: 'has_bottom_tooltip', 'data-original-title' => 'New project' do = link_to new_project_path, title: "New project", class: 'has_bottom_tooltip', 'data-original-title' => 'New project' do
%i.icon-plus %i.icon-plus
%li %li
= link_to profile_path, title: "My Profile", class: 'has_bottom_tooltip', 'data-original-title' => 'Your profile' do = link_to profile_path, title: "My profile", class: 'has_bottom_tooltip', 'data-original-title' => 'My profile' do
%i.icon-user %i.icon-user
%li %li
= link_to destroy_user_session_path, class: "logout", method: :delete, title: "Logout", class: 'has_bottom_tooltip', 'data-original-title' => 'Logout' do = link_to destroy_user_session_path, class: "logout", method: :delete, title: "Logout", class: 'has_bottom_tooltip', 'data-original-title' => 'Logout' do
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
= @user.name = @user.name
- if @user == current_user - if @user == current_user
.pull-right .pull-right
= link_to profile_path, class: 'btn btn-small' do = link_to profile_path, class: 'btn' do
%i.icon-edit %i.icon-edit
Edit Profile Edit Profile
%br %br
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
%small member since #{@user.created_at.stamp("Nov 12, 2031")} %small member since #{@user.created_at.stamp("Nov 12, 2031")}
.clearfix .clearfix
%hr %hr
%h5 User Activity: %h4 User Activity:
= render @events = render @events
.span4 .span4
= render 'profile', user: @user = render 'profile', user: @user
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment