framework/ember/app/templates/discussion-scrollbar.hbs
2014-12-20 16:56:46 +10:30

21 lines
862 B
Handlebars

<a href="#" class="scrubber-first" {{action "firstPost" target="view"}}>Original Post <i class="fa fa-angle-double-up"></i></a>
<div class="scrollbar disabled">
<div class="scrollbar-before"></div>
<div class="scrollbar-slider">
<div class="handle"></div>
<div class="info">
<strong><span class="index">0</span> of <span class="count">{{postStream.count}}</span> posts</strong>
<span class="description"></span>
</div>
</div>
<div class="scrollbar-after"></div>
{{#if relevantPostRanges}}
<ul class="scrollbar-highlights">
{{#each range in relevantPostRanges}}
<li {{bind-attr style=range}}></li>
{{/each}}
</ul>
{{/if}}
</div>
<a href="#" class="scrubber-last" {{action "lastPost" target="view"}}>Now <i class="fa fa-angle-double-down"></i></a>