Commit 96308f75 authored by randx's avatar randx

Milestones: progressbar from bootstrap. Bradcrumbs styles

parent 17d4cac2
......@@ -484,3 +484,29 @@ table.admin-table {
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;
}
}
......@@ -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 {
@include shade;
......@@ -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 {
......
......@@ -3,8 +3,9 @@
- if params[:path]
%ul.breadcrumb
%li
%span.arrow
= link_to project_commits_path(@project) do
= @project.code
= @project.name
%span.divider
\/
%li
......
......@@ -9,14 +9,11 @@
= link_to project_milestone_path(milestone.project, milestone) do
%h4.row_title
= truncate(milestone.title, :length => 100)
%small= milestone.expires_at
%small
= milestone.expires_at
%br
.progress.span3
.progress.progress-success.span3
.bar{:style => "width: #{milestone.percent_complete}%;"}
 
:javascript
$(function() {
$( "##{dom_id(milestone)} .progress" ).progressbar({
value: #{milestone.percent_complete}
});
});
......@@ -31,7 +31,9 @@
#{@milestone.issues.opened.count} open
–
#{@milestone.issues.closed.count} closed
.progress
.progress.progress-success
.bar{:style => "width: #{@milestone.percent_complete}%;"}
- if @milestone.description.present?
.bottom_box_content
......@@ -65,10 +67,3 @@
= image_tag gravatar_icon(user.email, 24), :width => "24"
 
= user.name
:javascript
$(function() {
$( ".progress" ).progressbar({
value: #{@milestone.percent_complete}
});
});
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment