diff --git a/README.md b/README.md index 508cb45..701459a 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ A terrible web ui for yt-dlp. Created for the only purpose of *cough cough* k-pop videos from my server/nas. I will eventually make this better as soon as I can. Not in the immediate. -yt +ytdlpwebui ## Docker install ``` diff --git a/frontend/index.css b/frontend/index.css index b15b3d7..a318881 100644 --- a/frontend/index.css +++ b/frontend/index.css @@ -1,5 +1,8 @@ -body{ +body { + font-family: 'Shippori Antique', sans-serif; height: 80vh; - background-color: #202124; - color: #f1f1f1; + /* background-color: #222848; */ + background-color: #f8f9ff; + /* color: #f1f1f1; */ + color: #3b3e66; } \ No newline at end of file diff --git a/frontend/index.html b/frontend/index.html index 9bf13cb..5b24c82 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -7,6 +7,9 @@ + + + yt-dlp Web UI diff --git a/frontend/src/App.css b/frontend/src/App.css index 4786733..f4c3b14 100644 --- a/frontend/src/App.css +++ b/frontend/src/App.css @@ -1,5 +1,16 @@ -.status-box{ - background-color: #2b2c31; +.status-box { + background-color: #f8f9ffa1; padding: 8px; border-radius: 5px; + overflow-x: hidden; +} + +.stack-box { + background-color: #ffffff; + border-radius: 1pc; +} + +.settings { + text-decoration: underline; + cursor: pointer; } \ No newline at end of file diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx index d189aec..f1821ff 100644 --- a/frontend/src/App.jsx +++ b/frontend/src/App.jsx @@ -8,7 +8,8 @@ import { InputGroup, FormControl, Button, - Toast + ButtonGroup, + Toast, } from "react-bootstrap"; import { validateDomain, validateIP } from "./utils"; import './App.css'; @@ -44,14 +45,13 @@ export function App() { setProgress(_progress) } } catch (error) { - console.log('finished or empty url or aborted') + console.warn('finished or empty url or aborted') } }) }, []) const sendUrl = () => { setHalt(true) - console.log(url) socket.emit('send-url', url) } @@ -82,34 +82,42 @@ export function App() {
-

yt-dlp Web UI 🤠

+

yt-dlp WebUI

+
- - - +
+ + + -
-
Status
-
{message}
+
+
Status
+ {!message ?
Ready
: null} +
{message}
+
+ + {' '} + {' '} +
- {progress ? : null} + {progress ? : null} - {' '} - {' '} - +
+ setShowSettings(!showSettings)}>Settings +
{showSettings ? - <> +
Server address
ws:// :3022 - : +
: null } @@ -132,16 +140,14 @@ export function App() { setShowToast(false)} - bg={'success'} + bg={'primary'} delay={1500} autohide className="mt-5" > - - Server - Now - - {`Connected to ${localStorage.getItem('server-addr')}`} + + {`Connected to ${localStorage.getItem('server-addr') || 'localhost'}`} +