Improve UI for torrent removal

master
Drew DeVault 2017-08-24 22:36:01 -04:00
parent 5261b475c1
commit 16ad5453d9
1 changed files with 6 additions and 2 deletions

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>