Improved graph in summary page with some styling and titles
parent
684f066863
commit
3e2bbf24b2
|
@ -978,9 +978,9 @@ module.directive("tgGmBacklogGraph", tgBacklogGraphDirective)
|
|||
|
||||
TgBacklogProgressBarDirective = ->
|
||||
template = _.template("""
|
||||
<div class="defined-points"></div>
|
||||
<div class="project-points-progress" style="width: <%- projectPointsPercentaje %>%"></div>
|
||||
<div class="closed-points-progress" style="width: <%- closedPointsPercentaje %>%"></div>
|
||||
<div class="defined-points" title="Excess of points"></div>
|
||||
<div class="project-points-progress" title="Pending Points" style="width: <%- projectPointsPercentaje %>%"></div>
|
||||
<div class="closed-points-progress" title="Closed points" style="width: <%- closedPointsPercentaje %>%"></div>
|
||||
""")
|
||||
|
||||
render = (el, projectPointsPercentaje, closedPointsPercentaje) ->
|
||||
|
|
|
@ -54,26 +54,21 @@
|
|||
padding: 3px;
|
||||
position: relative;
|
||||
width: 15%;
|
||||
.current-progress {
|
||||
background: $fresh-taiga;
|
||||
height: 24px;
|
||||
width: calc(30% - 4px);
|
||||
}
|
||||
.defined-points {
|
||||
width: 100%;
|
||||
background: red;
|
||||
background: $red-light;
|
||||
height: 24px;
|
||||
position: absolute;
|
||||
width: calc(100% - 6px);
|
||||
}
|
||||
.project-points-progress {
|
||||
background: gray;
|
||||
background: $white;
|
||||
height: 24px;
|
||||
position: absolute;
|
||||
}
|
||||
.closed-points-progress {
|
||||
background: $fresh-taiga;
|
||||
height: 24px;
|
||||
position: absolute;
|
||||
background: green;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue