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>
<div class="pull-right">
<span class="realtime-upload">
<i class="fa fa-arrow-down"></i>
<span class="realtime-speed">
<i class="icon-download fa fa-arrow-down"></i>
<span ng-bind="(globalStat.downloadSpeed | readableVolumn) + '/s'"></span>
</span>
<span class="realtime-download">
<i class="fa fa-arrow-up"></i>
<span class="realtime-speed">
<i class="icon-upload fa fa-arrow-up"></i>
<span ng-bind="(globalStat.uploadSpeed | readableVolumn) + '/s'"></span>
</span>
</div>

View file

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

View file

@ -40,6 +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>
</div>
<div class="task-files">
<span ng-bind="task.totalLength | readableVolumn"></span>

View file

@ -200,9 +200,9 @@
</div>
<div class="col-sm-4 col-xs-8">
<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;
<i class="fa fa-arrow-up"></i>
<i class="icon-upload fa fa-arrow-up"></i>
<span ng-bind="(peer.uploadSpeed | readableVolumn) + '/s'"></span>
</div>
</div>