add another link to task detail page

This commit is contained in:
MaysWind 2019-01-27 22:46:02 +08:00
parent c9bfd5e918
commit 6bccca47fc
2 changed files with 25 additions and 0 deletions

View file

@ -102,3 +102,23 @@
float: right;
}
}
.task-table .task-right-arrow {
visibility: hidden;
position: fixed;
right: 14px;
margin-top: -12px;
}
.task-table .row:hover .task-right-arrow {
visibility: visible;
}
.task-table .task-right-arrow i {
color: #c8c8c8;
font-size: 60px;
}
.task-table .task-right-arrow i:hover {
color: #d8d8d8;
}

View file

@ -72,6 +72,11 @@
<div class="col-md-2 col-sm-2 hidden-xs">
<span class="task-download-speed" ng-bind="task.status === 'waiting' ? ('Waiting' | translate) : (task.status === 'paused' ? ('Paused' | translate) : (task.status === 'active' ? (!task.seeder || task.downloadSpeed > 0 ? (task.downloadSpeed | readableVolume) + '/s' : '-') : ''))"></span>
</div>
<div class="task-right-arrow visible-md visible-lg">
<a ng-href="#!/task/detail/{{task.gid}}" title="{{'Click to view task detail' | translate}}">
<i class="fa fa-angle-right"></i>
</a>
</div>
</div>
</div>
<div id="task-table-contextmenu">