Newer
Older
gitbucket_jkp / src / main / twirl / issues / milestones / progress.scala.html
@Naoki Takezoe Naoki Takezoe on 24 Sep 2014 208 bytes (refs #488)Apply new UI to Milestones tab
@(total: Int, progress: Int)
<div class="milestone-progress">
  @if(progress > 0){
    <span class="milestone-progress" style="width: @((progress.toDouble / total.toDouble * 100).toInt)%;"></span>
  }
</div>