Skip to content

Commit

Permalink
allow cancelling of loading torrents (closes jpillora#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
jpillora committed Oct 28, 2015
1 parent 2490230 commit 0d1c459
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions static/files.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions static/files/template/torrents.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,10 @@ <h5 class="ui files downloading header">
ng-click="submitTorrent('stop', t)">
<i class="stop icon"></i> Stop
</a>
<a ng-if="!t.Started" class="ui red button"
<a ng-if="!t.Started" class="ui red button" style="z-index: 99999;"
ng-click="submitTorrent('delete', t)">
<i class="trash icon"></i> Remove
<i class="ban icon" ng-if="!t.Loaded"></i> Cancel
<i class="trash icon" ng-if="t.Loaded"></i> Remove
</a>
</div>
</div>
Expand Down

0 comments on commit 0d1c459

Please sign in to comment.