Design fix

This commit is contained in:
jendib 2015-05-11 11:34:49 +02:00
parent 060e5e8e24
commit 0228d43442
3 changed files with 8 additions and 12 deletions

View File

@ -68,6 +68,6 @@
</div>
<div class="col-md-8">
<div class="well" ui-view="document"></div>
<div ui-view="document"></div>
</div>
</div>

View File

@ -18,6 +18,6 @@
</div>
<div class="col-md-8">
<div class="well" ui-view="settings"></div>
<div ui-view="settings"></div>
</div>
</div>

View File

@ -30,18 +30,14 @@
</div>
<div class="col-md-8" ng-if="stats.length >= 0">
<div class="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 }} <span class="badge badge-info" ng-style="{ 'background': stat.color }">{{ stat.count }}</span></dt>
<dd><progressbar value="stat.count / getStatCount() * 100" class="progress-info"></progressbar></dd>
</dl>
</div>
<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 }} <span class="badge badge-info" ng-style="{ 'background': stat.color }">{{ stat.count }}</span></dt>
<dd><progressbar value="stat.count / getStatCount() * 100" class="progress-info"></progressbar></dd>
</dl>
</div>
<div class="col-md-8" ng-if="!stats">
<div class="well">
<img src="img/loader.gif" />
</div>
<img src="img/loader.gif" />
</div>
</div>