show seeder symbol in task detail page

This commit is contained in:
MaysWind 2016-06-28 00:50:40 +08:00
parent e8d052e4f0
commit 6cf4dcfc65
3 changed files with 6 additions and 1 deletions

View file

@ -342,6 +342,10 @@ td {
color: #74a329;
}
.skin-aria-ng .icon-seeder {
color: #da7362;
}
.skin-aria-ng .nav-tabs-custom {
-webkit-box-shadow: none;
-moz-box-shadow: none;

View file

@ -40,7 +40,7 @@
<label for="{{'task_' + task.gid}}">
<span class="task-name" ng-bind="task.taskName" title="{{task.taskName}}"></span>
</label>
<i class="icon-upload fa fa-arrow-up" title="{{'Seeding' | translate}}" ng-if="task && task.status == 'active' && (task.seeder === true || task.seeder === 'true')"></i>
<i class="icon-seeder fa fa-magnet" title="{{'Seeding' | translate}}" ng-if="task && task.status == 'active' && (task.seeder === true || task.seeder === 'true')"></i>
</div>
<div class="task-files">
<span ng-bind="task.totalLength | readableVolumn"></span>

View file

@ -259,6 +259,7 @@
<div class="row" ng-repeat="peer in context.btPeers | peerOrderBy: getPeerListOrderType()">
<div class="col-sm-3">
<span ng-bind="peer.name | translate"></span>
<i class="icon-seeder fa fa-magnet" title="{{'Seeding' | translate}}" ng-if="peer && (peer.seeder === true || peer.seeder === 'true')"></i>
</div>
<div class="col-sm-3">
<div class="piece-bar-wrapper">