Skip to content
Snippets Groups Projects
Commit 3dcc4419 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Cleaner dashboard sidebar

parent 03586c6c
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -206,17 +206,6 @@ p.time {
}
}
 
.arrow{
background: #E3E5EA;
padding: 5px;
margin-top: 5px;
@include border-radius(5px);
text-shadow: none;
color: #999;
line-height: 16px;
font-weight: bold;
}
.thin_area{
height: 150px;
}
Loading
Loading
Loading
Loading
@@ -14,22 +14,6 @@
padding: 2px 15px;
}
.nav-projects-tabs li { padding: 0; }
.well-list {
li { padding: 15px; }
.arrow {
float: right;
padding: 10px;
margin: 0;
}
.last_activity {
padding-top: 5px;
display: block;
span, strong {
font-size: 12px;
color: #666;
}
}
}
}
}
}
Loading
Loading
@@ -85,3 +69,34 @@
}
}
}
.project-row, .group-row {
padding: 15px !important;
.namespace-name {
color: #666;
font-weight: bold;
}
.project-name, .group-name {
font-size: 16px;
}
.arrow {
float: right;
padding: 10px 5px;
margin: 0;
font-size: 20px;
color: #666;
}
.last-activity, .owner-info {
color: #AAA;
display: block;
margin-top: 5px;
.date, .owner {
color: #777;
}
}
}
Loading
Loading
@@ -41,6 +41,8 @@
}
}
.event-body {
margin-left: 35px;
.commit p {
color: #666;
padding-top: 5px;
Loading
Loading
@@ -51,7 +53,6 @@
.event-note {
color: #555;
margin-top: 5px;
margin-left: 35px;
 
pre {
border: none;
Loading
Loading
@@ -77,10 +78,6 @@
margin-right: 5px;
}
}
.avatar {
position: relative;
top: -3px;
}
.event_icon {
position: relative;
float: right;
Loading
Loading
@@ -95,7 +92,6 @@
}
}
ul {
margin-left: 35px;
margin-bottom: 5px;
.avatar {
width: 18px;
Loading
Loading
Loading
Loading
@@ -8,15 +8,15 @@
New Group
%ul.well-list.dash-list
- groups.each do |group|
%li
%li.group-row
= link_to group_path(id: group.path), class: dom_class(group) do
%strong.well-title
%span.group-name
= truncate(group.name, length: 35)
%span.arrow
→
%span.last_activity
%strong Owner:
%span= group.owner_name
%i.icon-angle-right
%span.owner-info
%span Owner:
%span.owner= group.owner_name
- if groups.blank?
%li
%h3.nothing_here_message You have no groups yet.
Loading
Loading
@@ -9,18 +9,19 @@
 
%ul.well-list.dash-list
- projects.each do |project|
%li
%li.project-row
= link_to project_path(project), class: dom_class(project) do
- if project.namespace
= project.namespace.human_name
\/
%strong.well-title
%span.namespace-name
- if project.namespace
= project.namespace.human_name
\/
%span.project-name
= truncate(project.name, length: 25)
%span.arrow
→
%span.last_activity
%strong Last activity:
%span= project_last_activity(project)
%i.icon-angle-right
%span.last-activity
%span Last activity:
%span.date= project_last_activity(project)
- if projects.blank?
%li
%h3.nothing_here_message There are no projects here.
Loading
Loading
.ui-box
%h5.title
Projects
%small
(#{projects.count})
Projects (#{projects.count})
- if can? current_user, :manage_group, @group
%span.pull-right
= link_to new_project_path(namespace_id: @group.id), class: "btn btn-tiny info" do
= link_to new_project_path(namespace_id: @group.id), class: "btn" do
%i.icon-plus
New Project
%ul.well-list
- if projects.blank?
%p.nothing_here_message This groups has no projects yet
- projects.each do |project|
%li
%li.project-row
= link_to project_path(project), class: dom_class(project) do
%strong.well-title= truncate(project.name, length: 25)
%span.project-name
= truncate(project.name, length: 25)
%span.arrow
→
%span.last_activity
%strong Last activity:
%span= project_last_activity(project)
%i.icon-angle-right
%span.last-activity
%span Last activity:
%span.date= project_last_activity(project)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment