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
Tatuya Kamada
gitlab-ce
Commits
a79eb842
Commit
a79eb842
authored
Sep 28, 2012
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
commit show page styled a bit
parent
9d9493c8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
3 deletions
+21
-3
app/assets/stylesheets/sections/commits.scss
app/assets/stylesheets/sections/commits.scss
+18
-0
app/views/commits/_commit_box.html.haml
app/views/commits/_commit_box.html.haml
+3
-3
No files found.
app/assets/stylesheets/sections/commits.scss
View file @
a79eb842
...
@@ -47,6 +47,14 @@
...
@@ -47,6 +47,14 @@
padding-left
:
32px
;
padding-left
:
32px
;
}
}
.author
,
.committer
{
font-size
:
14px
;
line-height
:
22px
;
text-shadow
:
0
1px
1px
#fff
;
color
:
#777
;
}
.avatar
{
.avatar
{
margin-right
:
10px
;
margin-right
:
10px
;
}
}
...
@@ -227,3 +235,13 @@
...
@@ -227,3 +235,13 @@
}
}
}
}
}
}
.label_commit
{
@include
round-borders-all
(
4px
);
padding
:
2px
4px
;
border
:none
;
font-size
:
13px
;
background
:
#474D57
;
color
:
#fff
;
font-family
:
'Menlo'
,
'Liberation Mono'
,
'Consolas'
,
'Courier New'
,
'andale mono'
,
'lucida console'
,
monospace
;
}
app/views/commits/_commit_box.html.haml
View file @
a79eb842
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
=
gfm
escape_once
(
@commit
.
description
)
=
gfm
escape_once
(
@commit
.
description
)
.commit-info
.commit-info
.row
.row
.span
4
.span
5
=
image_tag
gravatar_icon
(
@commit
.
author_email
,
40
),
class:
"avatar"
=
image_tag
gravatar_icon
(
@commit
.
author_email
,
40
),
class:
"avatar"
.author
.author
%strong
=
@commit
.
author_name
%strong
=
@commit
.
author_name
...
@@ -31,10 +31,10 @@
...
@@ -31,10 +31,10 @@
committed
committed
%time
{
title:
@commit
.
committed_date
.
stamp
(
"Aug 21, 2011 9:23pm"
)}
%time
{
title:
@commit
.
committed_date
.
stamp
(
"Aug 21, 2011 9:23pm"
)}
#{
time_ago_in_words
(
@commit
.
committed_date
)
}
ago
#{
time_ago_in_words
(
@commit
.
committed_date
)
}
ago
.span
7
.right
.span
6
.right
.sha-block
.sha-block
%span
.cgray
commit
%span
.cgray
commit
%code
=
@commit
.
id
%code
.label_commit
=
@commit
.
id
.sha-block
.sha-block
%span
.cgray
=
pluralize
(
@commit
.
parents
.
count
,
"parent"
)
%span
.cgray
=
pluralize
(
@commit
.
parents
.
count
,
"parent"
)
-
@commit
.
parents
.
each
do
|
parent
|
-
@commit
.
parents
.
each
do
|
parent
|
...
...
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