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