Skip to content
This repository has been archived by the owner on Apr 15, 2019. It is now read-only.

Commit

Permalink
Use angular-svg-round-progressbar in forging center
Browse files Browse the repository at this point in the history
... to make the progress bars look better when low values. Fixes #137
  • Loading branch information
slaweet committed Apr 26, 2017
1 parent cbd28f0 commit a780f2a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/app/components/forging/forging.less
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ forging {
position: absolute;
font-size: 2em;
margin-top: 15px;
padding: 60px 90px;
padding: 70px 90px;
}
}
6 changes: 3 additions & 3 deletions src/app/components/forging/forging.pug
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@ div.offline-hide
md-card(flex-gt-xs=33, layout-align='center center', layout-padding)
div Rank
div.progress-label {{$ctrl.delegate.rate}}
md-progress-circular(md-mode='determinate', value='{{101 - $ctrl.delegate.rate}}', md-diameter='200') {{$ctrl.delegate.rate}}
round-progress(max='101', current='101 - $ctrl.delegate.rate', color='#0288D1')
md-card(flex-gt-xs=33, layout-align='center center', layout-padding)
div Productivity
div.progress-label {{$ctrl.delegate.productivity}}%
md-progress-circular(md-mode='determinate', value='{{$ctrl.delegate.productivity}}', md-diameter='200')
round-progress(max='100', current='$ctrl.delegate.productivity', color='#0288D1')
md-card(flex-gt-xs=33, layout-align='center center', layout-padding)
div Approval
div.progress-label {{$ctrl.delegate.approval}}%
md-progress-circular(md-mode='determinate', value='{{$ctrl.delegate.approval}}', md-diameter='200')
round-progress(max='100', current='$ctrl.delegate.approval', color='#0288D1')
md-card(layout='column', ng-if='$ctrl.delegate.username')
md-card-title
md-card-title-text
Expand Down

0 comments on commit a780f2a

Please sign in to comment.