BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
3dcc4419
Commit
3dcc4419
authored
Jul 09, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleaner dashboard sidebar
parent
03586c6c
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
55 additions
and
55 deletions
+55
-55
common.scss
app/assets/stylesheets/common.scss
+0
-11
dashboard.scss
app/assets/stylesheets/sections/dashboard.scss
+31
-16
events.scss
app/assets/stylesheets/sections/events.scss
+2
-6
_groups.html.haml
app/views/dashboard/_groups.html.haml
+6
-6
_projects.html.haml
app/views/dashboard/_projects.html.haml
+7
-6
_projects.html.haml
app/views/groups/_projects.html.haml
+9
-10
No files found.
app/assets/stylesheets/common.scss
View file @
3dcc4419
...
...
@@ -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
;
}
...
...
app/assets/stylesheets/sections/dashboard.scss
View file @
3dcc4419
...
...
@@ -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
;
}
}
}
}
}
}
...
...
@@ -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
;
}
}
}
app/assets/stylesheets/sections/events.scss
View file @
3dcc4419
...
...
@@ -41,6 +41,8 @@
}
}
.event-body
{
margin-left
:
35px
;
.commit
p
{
color
:
#666
;
padding-top
:
5px
;
...
...
@@ -51,7 +53,6 @@
.event-note
{
color
:
#555
;
margin-top
:
5px
;
margin-left
:
35px
;
pre
{
border
:
none
;
...
...
@@ -77,10 +78,6 @@
margin-right
:
5px
;
}
}
.avatar
{
position
:
relative
;
top
:
-3px
;
}
.event_icon
{
position
:
relative
;
float
:
right
;
...
...
@@ -95,7 +92,6 @@
}
}
ul
{
margin-left
:
35px
;
margin-bottom
:
5px
;
.avatar
{
width
:
18px
;
...
...
app/views/dashboard/_groups.html.haml
View file @
3dcc4419
...
...
@@ -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
%s
trong
.well-titl
e
%s
pan
.group-nam
e
=
truncate
(
group
.
name
,
length:
35
)
%span
.arrow
→
%span
.
last_activity
%s
trong
Owner:
%span
=
group
.
owner_name
%i
.icon-angle-right
%span
.
owner-info
%s
pan
Owner:
%span
.owner
=
group
.
owner_name
-
if
groups
.
blank?
%li
%h3
.nothing_here_message
You have no groups yet.
app/views/dashboard/_projects.html.haml
View file @
3dcc4419
...
...
@@ -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
%span
.namespace-name
-
if
project
.
namespace
=
project
.
namespace
.
human_name
\/
%s
trong
.well-titl
e
%s
pan
.project-nam
e
=
truncate
(
project
.
name
,
length:
25
)
%span
.arrow
→
%span
.last
_
activity
%s
trong
Last activity:
%span
=
project_last_activity
(
project
)
%i
.icon-angle-right
%span
.last
-
activity
%s
pan
Last activity:
%span
.date
=
project_last_activity
(
project
)
-
if
projects
.
blank?
%li
%h3
.nothing_here_message
There are no projects here.
...
...
app/views/groups/_projects.html.haml
View file @
3dcc4419
.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
%s
trong
Last activity:
%span
=
project_last_activity
(
project
)
%i
.icon-angle-right
%span
.last
-
activity
%s
pan
Last activity:
%span
.date
=
project_last_activity
(
project
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment