Improve UI for torrent removal
This commit is contained in:
parent
5261b475c1
commit
16ad5453d9
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user