Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
iv
gitlab-ce
Commits
88974b50
Commit
88974b50
authored
Apr 07, 2012
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
projects list on dashboard with commit links
parent
2fa4aadb
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
49 additions
and
54 deletions
+49
-54
app/assets/stylesheets/common.scss
app/assets/stylesheets/common.scss
+13
-15
app/views/dashboard/_projects_feed.html.haml
app/views/dashboard/_projects_feed.html.haml
+2
-1
app/views/dashboard/index.html.haml
app/views/dashboard/index.html.haml
+34
-38
No files found.
app/assets/stylesheets/common.scss
View file @
88974b50
...
@@ -17,6 +17,11 @@ a {
...
@@ -17,6 +17,11 @@ a {
&
.lined
{
&
.lined
{
text-decoration
:underlined
;
text-decoration
:underlined
;
}
}
&
.gray
{
color
:gray
;
}
&
.supp_diff_link
{
&
.supp_diff_link
{
text-align
:center
;
text-align
:center
;
padding
:
20px
0
;
padding
:
20px
0
;
...
@@ -24,6 +29,10 @@ a {
...
@@ -24,6 +29,10 @@ a {
width
:
100%
;
width
:
100%
;
float
:left
;
float
:left
;
}
}
&
.neib
{
margin-right
:
15px
;
}
}
}
.btn
{
.btn
{
...
@@ -46,10 +55,6 @@ a:focus {
...
@@ -46,10 +55,6 @@ a:focus {
color
:
$link_color
!
important
;
color
:
$link_color
!
important
;
}
}
.dlink
{
}
.pills
a
:hover
{
.pills
a
:hover
{
background-color
:
#ccc
;
background-color
:
#ccc
;
}
}
...
@@ -60,10 +65,6 @@ a:focus {
...
@@ -60,10 +65,6 @@ a:focus {
.label
{
.label
{
background-color
:
#474D57
;
background-color
:
#474D57
;
&
.pushed
{
background-color
:
$link_color
;
}
}
}
.pretty_label
{
.pretty_label
{
...
@@ -873,26 +874,24 @@ p.time {
...
@@ -873,26 +874,24 @@ p.time {
}
}
/**
* Dashboard page
*
*/
.dashboard_category
{
.dashboard_category
{
margin-bottom
:
30px
;
margin-bottom
:
30px
;
h3
a
{
h3
a
{
color
:
#474D57
;
color
:
#474D57
;
&
:hover
{
&
:hover
{
text-decoration
:underline
;
text-decoration
:underline
;
}
}
}
}
.dashboard_block
{
.dashboard_block
{
width
:
840px
;
margin
:auto
;
.dash_project_item
{
.dash_project_item
{
margin-bottom
:
10px
;
margin-bottom
:
10px
;
border
:none
;
border
:none
;
padding
:
0px
5px
;
padding
:
0px
5px
;
.project_link
{
.project_link
{
color
:
#888
;
color
:
#888
;
&
:hover
{
&
:hover
{
...
@@ -902,7 +901,6 @@ p.time {
...
@@ -902,7 +901,6 @@ p.time {
}
}
}
}
}
}
h4
{
h4
{
color
:
#666
;
color
:
#666
;
}
}
...
...
app/views/dashboard/_projects_feed.html.haml
View file @
88974b50
...
@@ -10,4 +10,5 @@
...
@@ -10,4 +10,5 @@
.right
.right
%small
%small
%strong
=
link_to
"Browse Code »"
,
tree_project_ref_path
(
project
,
project
.
root_ref
),
:class
=>
"vlink"
%strong
=
link_to
"Browse Code »"
,
tree_project_ref_path
(
project
,
project
.
root_ref
),
:class
=>
"neib gray"
%strong
=
link_to
"Commits »"
,
project_commits_path
(
project
),
:class
=>
"gray"
app/views/dashboard/index.html.haml
View file @
88974b50
...
@@ -17,7 +17,6 @@
...
@@ -17,7 +17,6 @@
=
link_to
projects_path
do
=
link_to
projects_path
do
Projects list
→
Projects list
→
%hr
%hr
.row
.dashboard_block
.dashboard_block
.row
.row
.span4.right
.span4.right
...
@@ -43,7 +42,7 @@
...
@@ -43,7 +42,7 @@
%br
%br
=
link_to
profile_path
,
:class
=>
"btn"
do
=
link_to
profile_path
,
:class
=>
"btn"
do
Your Profile »
Your Profile »
.span10
.left
=
render
"dashboard/projects_feed"
,
:projects
=>
@active_projects
.span12
.left
=
render
"dashboard/projects_feed"
,
:projects
=>
@active_projects
-
if
@last_push
&&
@last_push
.
valid_push?
-
if
@last_push
&&
@last_push
.
valid_push?
.padded.prepend-top-20
.padded.prepend-top-20
%h5
%h5
...
@@ -60,7 +59,6 @@
...
@@ -60,7 +59,6 @@
=
link_to
dashboard_merge_requests_path
do
=
link_to
dashboard_merge_requests_path
do
Visit merge requests page
→
Visit merge requests page
→
%hr
%hr
.row
.dashboard_block
=
render
"dashboard/merge_requests_feed"
.dashboard_block
=
render
"dashboard/merge_requests_feed"
-
if
@issues
.
any?
-
if
@issues
.
any?
...
@@ -72,7 +70,6 @@
...
@@ -72,7 +70,6 @@
=
link_to
dashboard_issues_path
do
=
link_to
dashboard_issues_path
do
Visit issues page
→
Visit issues page
→
%hr
%hr
.row
.dashboard_block
=
render
"dashboard/issues_feed"
.dashboard_block
=
render
"dashboard/issues_feed"
-
if
@events
.
any?
-
if
@events
.
any?
...
@@ -82,5 +79,4 @@
...
@@ -82,5 +79,4 @@
=
link_to
"Activities"
,
"#activities"
,
:id
=>
"activities"
=
link_to
"Activities"
,
"#activities"
,
:id
=>
"activities"
%hr
%hr
.row
.dashboard_block
=
render
@events
.dashboard_block
=
render
@events
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