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
Jérome Perrin
gitlab-ce
Commits
96308f75
Commit
96308f75
authored
Jun 01, 2012
by
randx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Milestones: progressbar from bootstrap. Bradcrumbs styles
parent
17d4cac2
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
36 additions
and
41 deletions
+36
-41
app/assets/stylesheets/gitlab_bootstrap.scss
app/assets/stylesheets/gitlab_bootstrap.scss
+26
-0
app/assets/stylesheets/tree.scss
app/assets/stylesheets/tree.scss
+0
-24
app/views/commits/index.html.haml
app/views/commits/index.html.haml
+2
-1
app/views/milestones/_milestone.html.haml
app/views/milestones/_milestone.html.haml
+5
-8
app/views/milestones/show.html.haml
app/views/milestones/show.html.haml
+3
-8
No files found.
app/assets/stylesheets/gitlab_bootstrap.scss
View file @
96308f75
...
@@ -484,3 +484,29 @@ table.admin-table {
...
@@ -484,3 +484,29 @@ table.admin-table {
display
:inline
;
display
:inline
;
}
}
ul
.breadcrumb
{
background
:white
;
border
:none
;
li
{
display
:
inline
;
text-shadow
:
0
1px
0
white
}
a
{
color
:
#474D57
;
font-weight
:bold
;
font-size
:
14px
;
}
.arrow
{
background
:
url("images.png")
no-repeat
-85px
-77px
;
width
:
19px
;
height
:
16px
;
float
:
left
;
position
:
relative
;
left
:
-10px
;
padding
:
0
;
margin
:
0
;
}
}
app/assets/stylesheets/tree.scss
View file @
96308f75
...
@@ -145,20 +145,6 @@
...
@@ -145,20 +145,6 @@
}
}
}
}
ul
.breadcrumb
{
background
:white
;
border
:none
;
li
{
display
:
inline
;
text-shadow
:
0
1px
0
white
}
a
{
color
:
#474D57
;
font-weight
:bold
;
font-size
:
14px
;
}
}
#tree-slider
{
#tree-slider
{
@include
shade
;
@include
shade
;
...
@@ -214,16 +200,6 @@
...
@@ -214,16 +200,6 @@
}
}
}
}
.arrow
{
background
:
url("images.png")
no-repeat
-85px
-77px
;
width
:
19px
;
height
:
16px
;
float
:
left
;
position
:
relative
;
left
:
-10px
;
padding
:
0
;
margin
:
0
;
}
}
}
.blame_file
{
.blame_file
{
...
...
app/views/commits/index.html.haml
View file @
96308f75
...
@@ -3,8 +3,9 @@
...
@@ -3,8 +3,9 @@
-
if
params
[
:path
]
-
if
params
[
:path
]
%ul
.breadcrumb
%ul
.breadcrumb
%li
%li
%span
.arrow
=
link_to
project_commits_path
(
@project
)
do
=
link_to
project_commits_path
(
@project
)
do
=
@project
.
cod
e
=
@project
.
nam
e
%span
.divider
%span
.divider
\/
\/
%li
%li
...
...
app/views/milestones/_milestone.html.haml
View file @
96308f75
...
@@ -9,14 +9,11 @@
...
@@ -9,14 +9,11 @@
=
link_to
project_milestone_path
(
milestone
.
project
,
milestone
)
do
=
link_to
project_milestone_path
(
milestone
.
project
,
milestone
)
do
%h4
.row_title
%h4
.row_title
=
truncate
(
milestone
.
title
,
:length
=>
100
)
=
truncate
(
milestone
.
title
,
:length
=>
100
)
%small
=
milestone
.
expires_at
%small
=
milestone
.
expires_at
%br
%br
.progress.span3
.progress.progress-success.span3
.bar
{
:style
=>
"width: #{milestone.percent_complete}%;"
}
:javascript
$
(
function
()
{
$
(
"
##{dom_id(milestone)} .progress
"
).
progressbar
({
value
:
#{
milestone
.
percent_complete
}
});
});
app/views/milestones/show.html.haml
View file @
96308f75
...
@@ -31,7 +31,9 @@
...
@@ -31,7 +31,9 @@
#{
@milestone
.
issues
.
opened
.
count
}
open
#{
@milestone
.
issues
.
opened
.
count
}
open
–
–
#{
@milestone
.
issues
.
closed
.
count
}
closed
#{
@milestone
.
issues
.
closed
.
count
}
closed
.progress
.progress.progress-success
.bar
{
:style
=>
"width: #{@milestone.percent_complete}%;"
}
-
if
@milestone
.
description
.
present?
-
if
@milestone
.
description
.
present?
.bottom_box_content
.bottom_box_content
...
@@ -65,10 +67,3 @@
...
@@ -65,10 +67,3 @@
=
image_tag
gravatar_icon
(
user
.
email
,
24
),
:width
=>
"24"
=
image_tag
gravatar_icon
(
user
.
email
,
24
),
:width
=>
"24"
=
user
.
name
=
user
.
name
:javascript
$
(
function
()
{
$
(
"
.progress
"
).
progressbar
({
value
:
#{
@milestone
.
percent_complete
}
});
});
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