diff options
| author | JP Dillingham <jpdillingham@gmail.com> | 2021-06-21 21:36:36 -0500 |
|---|---|---|
| committer | JP Dillingham <jpdillingham@gmail.com> | 2021-06-21 21:36:36 -0500 |
| commit | a6f5eecd8d5fa4158acaabf351c451dc6182a4dc (patch) | |
| tree | a86d4676ab0d66c748b0705b9d5b8469f1e9f161 /src | |
| parent | f11272fb90650215eb0cc672dc1e79834e71ecf0 (diff) | |
| download | slskd-a6f5eecd8d5fa4158acaabf351c451dc6182a4dc.tar.gz | |
rough in connection nav
Diffstat (limited to 'src')
| -rw-r--r-- | src/web/src/components/App.css | 11 | ||||
| -rw-r--r-- | src/web/src/components/App.js | 12 |
2 files changed, 22 insertions, 1 deletions
diff --git a/src/web/src/components/App.css b/src/web/src/components/App.css index 99d3767a..4802ca5b 100644 --- a/src/web/src/components/App.css +++ b/src/web/src/components/App.css @@ -122,4 +122,15 @@ body { .placeholder-segment { opacity: .25; +} + +.menu-icon-group { + font-size: 1.71428571em !important; + margin: 0 auto .5rem !important; + text-shadow: unset !important; +} + +.menu-icon-no-shadow { + font-size: 1rem !important; + text-shadow: unset !important; }
\ No newline at end of file diff --git a/src/web/src/components/App.js b/src/web/src/components/App.js index 26ff028d..3eceb12a 100644 --- a/src/web/src/components/App.js +++ b/src/web/src/components/App.js @@ -17,7 +17,8 @@ import { Menu, Icon, Modal, - Header + Header, + Dropdown } from 'semantic-ui-react'; import Rooms from './Rooms/Rooms'; @@ -143,6 +144,15 @@ class App extends Component { <Icon name='folder open'/>Browse </Menu.Item> </Link> + <Menu.Item position='right'> + <Icon name='wifi' color='green'/>Connected + </Menu.Item> + <Menu.Item> + <Icon.Group className='menu-icon-group'> + <Icon name='wifi' color='grey'/> + <Icon name='close' color='red' corner='bottom right' className='menu-icon-no-shadow'/> + </Icon.Group>Disconnected + </Menu.Item> {token !== tokenPassthroughValue && <Modal trigger={ <Menu.Item position='right'> |
