show seeding status in task list page

This commit is contained in:
MaysWind 2016-06-10 15:26:33 +08:00
parent 2966d5cdb6
commit b1f35d12ea
4 changed files with 17 additions and 14 deletions

View file

@ -205,12 +205,12 @@
<span>&nbsp;</span> <span>&nbsp;</span>
<div class="pull-right"> <div class="pull-right">
<span class="realtime-upload"> <span class="realtime-speed">
<i class="fa fa-arrow-down"></i> <i class="icon-download fa fa-arrow-down"></i>
<span ng-bind="(globalStat.downloadSpeed | readableVolumn) + '/s'"></span> <span ng-bind="(globalStat.downloadSpeed | readableVolumn) + '/s'"></span>
</span> </span>
<span class="realtime-download"> <span class="realtime-speed">
<i class="fa fa-arrow-up"></i> <i class="icon-upload fa fa-arrow-up"></i>
<span ng-bind="(globalStat.uploadSpeed | readableVolumn) + '/s'"></span> <span ng-bind="(globalStat.uploadSpeed | readableVolumn) + '/s'"></span>
</span> </span>
</div> </div>

View file

@ -317,6 +317,14 @@ td {
color: #3c8dbc; color: #3c8dbc;
} }
.skin-aria-ng .icon-download {
color: #3a89e9;
}
.skin-aria-ng .icon-upload {
color: #74a329;
}
.skin-aria-ng .nav-tabs-custom { .skin-aria-ng .nav-tabs-custom {
-webkit-box-shadow: none; -webkit-box-shadow: none;
-moz-box-shadow: none; -moz-box-shadow: none;
@ -748,16 +756,10 @@ td {
} }
/* miscellaneous */ /* miscellaneous */
span.realtime-upload, span.realtime-download { span.realtime-speed {
padding: 0 15px 0 15px; padding: 0 15px 0 15px;
} }
span.realtime-upload > i { span.realtime-speed > i {
color: #3a89e9;
padding-right: 2px;
}
span.realtime-download > i {
color: #74a329;
padding-right: 2px; padding-right: 2px;
} }

View file

@ -40,6 +40,7 @@
<label for="{{'task_' + task.gid}}"> <label for="{{'task_' + task.gid}}">
<span class="task-name" ng-bind="task.taskName" title="{{task.taskName}}"></span> <span class="task-name" ng-bind="task.taskName" title="{{task.taskName}}"></span>
</label> </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>
</div> </div>
<div class="task-files"> <div class="task-files">
<span ng-bind="task.totalLength | readableVolumn"></span> <span ng-bind="task.totalLength | readableVolumn"></span>

View file

@ -200,9 +200,9 @@
</div> </div>
<div class="col-sm-4 col-xs-8"> <div class="col-sm-4 col-xs-8">
<div class="task-peer-download-speed"> <div class="task-peer-download-speed">
<i class="fa fa-arrow-down"></i> <i class="icon-download fa fa-arrow-down"></i>
<span ng-bind="(peer.downloadSpeed | readableVolumn) + '/s'"></span>&nbsp; <span ng-bind="(peer.downloadSpeed | readableVolumn) + '/s'"></span>&nbsp;
<i class="fa fa-arrow-up"></i> <i class="icon-upload fa fa-arrow-up"></i>
<span ng-bind="(peer.uploadSpeed | readableVolumn) + '/s'"></span> <span ng-bind="(peer.uploadSpeed | readableVolumn) + '/s'"></span>
</div> </div>
</div> </div>