1
0
mirror of https://github.com/sismics/docs.git synced 2025-12-20 13:11:41 +00:00

Tag stats design

This commit is contained in:
jendib
2013-08-04 17:15:52 +02:00
parent b5201b5bde
commit b5e3598b48
3 changed files with 13 additions and 3 deletions

View File

@@ -27,8 +27,8 @@
<div class="span8 well">
<h1>{{ tags.length }} <small>tag{{ tags.length > 1 ? 's' : '' }}</small></h1>
<dl class="dl-horizontal" ng-repeat="stat in stats | orderBy: '-count'">
<dt>{{ stat.name }}</dt>
<dd><progress percent="stat.count / tags.length * 100" class="progress-info"></progress></dd>
<dt>{{ stat.name }} <span class="badge badge-info">{{ stat.count }}</span></dt>
<dd><progress percent="stat.count / getStatCount() * 100" class="progress-info"></progress></dd>
</dl>
</div>
</div>