aboutsummaryrefslogtreecommitdiffstats
path: root/src/web
diff options
context:
space:
mode:
authorLev Gorodetskiy <github@droserasprout.space>2022-04-20 00:15:11 +0400
committerLev Gorodetskiy <github@droserasprout.space>2022-04-21 14:41:53 +0400
commit2de61adb4e89fdbf728de26cd85c8a9020d4231c (patch)
treeb6cef9bb2735a54aad4c9a1753b75457f22ee470 /src/web
parent674cda1bebbe9e135f2844b43c47492c6a527484 (diff)
downloadslskd-2de61adb4e89fdbf728de26cd85c8a9020d4231c.tar.gz
Final touches
Diffstat (limited to 'src/web')
-rw-r--r--src/web/src/components/Search/Response.js7
-rw-r--r--src/web/src/components/Transfers/TransferList.js9
2 files changed, 5 insertions, 11 deletions
diff --git a/src/web/src/components/Search/Response.js b/src/web/src/components/Search/Response.js
index 326200ce..b1b8b871 100644
--- a/src/web/src/components/Search/Response.js
+++ b/src/web/src/components/Search/Response.js
@@ -83,13 +83,6 @@ class Response extends Component {
/>
<Icon name='circle' color={free ? 'green' : 'yellow'}/>
{response.username}
- <Icon
- className='close-button'
- name='close'
- color='red'
- link
- onClick={() => this.props.onHide()}
- />
</Card.Header>
<Card.Meta className='result-meta'>
<span>Upload Speed: {formatBytes(response.uploadSpeed)}/s, Free Upload Slot: {free ? 'YES' : 'NO'}, Queue Length: {response.queueLength}</span>
diff --git a/src/web/src/components/Transfers/TransferList.js b/src/web/src/components/Transfers/TransferList.js
index cdb65733..9ed8832b 100644
--- a/src/web/src/components/Transfers/TransferList.js
+++ b/src/web/src/components/Transfers/TransferList.js
@@ -7,7 +7,7 @@ import {
import { formatBytes, getFileName } from '../../lib/util';
import {
- Header,
+ Card,
Table,
Icon,
List,
@@ -85,7 +85,7 @@ class TransferList extends Component {
return (
<div>
- <Header
+ <Card.Header
size='small'
className='filelist-header'
>
@@ -94,8 +94,9 @@ class TransferList extends Component {
name={isFolded ? 'chevron right' : 'chevron down'}
onClick={() => this.toggleFolded()}
/>
- <Icon name='folder'/>{directoryName}
- </Header>
+ <Icon name='folder'/>
+ {directoryName}
+ </Card.Header>
{!isFolded &&
<List>
<List.Item>