Improve UI for torrent removal

This commit is contained in:
Drew DeVault 2017-08-24 22:36:01 -04:00
parent 5261b475c1
commit 16ad5453d9

View File

@ -88,6 +88,10 @@ class Torrent extends Component {
>
{torrent.status === "paused" ? "Resume" : "Pause"}
</button>
<button
className="btn btn-sm btn-very-sm btn-danger"
style={{marginLeft: "1rem"}}
>Remove</button>
</p>
<ButtonGroup>
<CollapseToggle
@ -158,8 +162,8 @@ class TorrentDetails extends Component {
Remove
</DropdownToggle>
<DropdownMenu>
<DropdownItem>Remove torrent</DropdownItem>
<DropdownItem>Delete files</DropdownItem>
<DropdownItem>Remove all selected torrents</DropdownItem>
<DropdownItem>Remove and delete files</DropdownItem>
</DropdownMenu>
</ButtonDropdown>
</ButtonGroup>