<div class="progress"> <div class="progress-bar progress-bar-{{level}}" role="progressbar" aria-valuenow="{{percent}}" aria-valuemin="0" aria-valuemax="100" style="width: {{percent}}%"> <span class="sr-only">{{percent}}% covered ({{level}})</span> </div> </div>
info at phpclasses dot org