Commit 08fded3f authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Minor improvments to UI

parent 9df6f7bf
...@@ -602,6 +602,10 @@ li.note { ...@@ -602,6 +602,10 @@ li.note {
margin-bottom: 10px; margin-bottom: 10px;
background: #FEE; background: #FEE;
padding-left: 20px; padding-left: 20px;
&.centered {
text-align: center;
}
} }
.oauth_select_holder { .oauth_select_holder {
......
...@@ -34,6 +34,7 @@ ...@@ -34,6 +34,7 @@
/** PILLS & TABS**/ /** PILLS & TABS**/
.nav-pills a:hover { background-color: #888; } .nav-pills a:hover { background-color: #888; }
.nav-pills .active a { background-color: $style_color; } .nav-pills .active a { background-color: $style_color; }
.nav-pills > .active > a > i[class^="icon-"] { background: inherit; }
.nav-tabs > li > a, .nav-pills > li > a { color: $style_color; } .nav-tabs > li > a, .nav-pills > li > a { color: $style_color; }
.nav.nav-tabs { .nav.nav-tabs {
li { li {
...@@ -77,7 +78,15 @@ img.lil_av { padding-left: 4px; padding-right: 3px; } ...@@ -77,7 +78,15 @@ img.lil_av { padding-left: 4px; padding-right: 3px; }
img.small { width: 80px; } img.small { width: 80px; }
/** HELPERS **/ /** HELPERS **/
.nothing_here_message { text-align: center; padding: 20px; color: #777; } .nothing_here_message {
text-align: center;
padding: 20px;
color: #666;
font-weight: normal;
font-size: 16px;
line-height: 36px;
}
p.slead { color: #456; font-size: 16px; margin-bottom: 12px; font-weight: 200; line-height: 24px; } p.slead { color: #456; font-size: 16px; margin-bottom: 12px; font-weight: 200; line-height: 24px; }
/** FORMS **/ /** FORMS **/
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
.projects .projects
.activities.span8 .activities.span8
= render "events/event_last_push", event: @last_push = render "events/event_last_push", event: @last_push
= render 'shared/no_ssh'
.event_filter .event_filter
= event_filter_link EventFilter.push, 'Push events' = event_filter_link EventFilter.push, 'Push events'
......
...@@ -9,6 +9,8 @@ ...@@ -9,6 +9,8 @@
%i.icon-plus %i.icon-plus
New Project New Project
%ul.unstyled %ul.unstyled
- if projects.blank?
%p.nothing_here_message This groups has no projects yet
- projects.each do |project| - projects.each do |project|
%li.wll %li.wll
= link_to project_path(project), class: dom_class(project) do = link_to project_path(project), class: dom_class(project) do
......
...@@ -6,7 +6,6 @@ ...@@ -6,7 +6,6 @@
   
%span.cgray Events and projects are filtered in scope of group %span.cgray Events and projects are filtered in scope of group
%hr %hr
= render 'shared/no_ssh'
- if @events.any? - if @events.any?
.content_list= render @events .content_list= render @events
- else - else
......
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
%body{class: "#{app_theme} project"} %body{class: "#{app_theme} project"}
= render "layouts/flash" = render "layouts/flash"
= render "layouts/head_panel", title: @project.name = render "layouts/head_panel", title: @project.name
= render 'shared/no_ssh'
.container .container
%ul.main_menu %ul.main_menu
= nav_link(html_options: {class: "home #{project_tab_class}"}) do = nav_link(html_options: {class: "home #{project_tab_class}"}) do
......
= render 'shared/no_ssh'
= render 'clone_panel' = render 'clone_panel'
%div.git-empty %div.git-empty
......
- if current_user.require_ssh_key? - if current_user.require_ssh_key?
%p.error_message %p.error_message.centered
You won't be able to pull or push project code via SSH until you #{link_to 'add an SSH key', new_key_path} to your profile You won't be able to pull or push project code via SSH until you #{link_to 'add an SSH key', new_key_path} to your profile
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