Skip to content

Commit

Permalink
Get rid of junk
Browse files Browse the repository at this point in the history
  • Loading branch information
ikatson committed Nov 22, 2023
1 parent 27e8c12 commit 1a6bc44
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 30 deletions.
20 changes: 10 additions & 10 deletions crates/librqbit/webui/dist/app.js

Large diffs are not rendered by default.

10 changes: 1 addition & 9 deletions crates/librqbit/webui/dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,11 @@
<!-- Include Bootstrap CSS -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
integrity="sha384-9ndCyUaIbzAi2FUVXJi0CjmCapSmO7SnpJef0486qhLnuZ2cdeRhO02iuK6FUUVM" crossorigin="anonymous" />
<style>
body {
font-size: 14px;
}
</style>
<script type="module" crossorigin src="app.js"></script>
</head>

<body>
<div id="app-container" class="container text-center">
<h1 class="mt-3 mb-4">rqbit web 0.0.1-alpha</h1>
<div id="output"></div>
</div>
<div id="app"></div>


</body>
Expand Down
4 changes: 2 additions & 2 deletions crates/librqbit/webui/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>rqbit web 0.0.1-alpha</title>
<!-- Include Bootstrap CSS -->
<!-- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
integrity="sha384-9ndCyUaIbzAi2FUVXJi0CjmCapSmO7SnpJef0486qhLnuZ2cdeRhO02iuK6FUUVM" crossorigin="anonymous" /> -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
integrity="sha384-9ndCyUaIbzAi2FUVXJi0CjmCapSmO7SnpJef0486qhLnuZ2cdeRhO02iuK6FUUVM" crossorigin="anonymous" />
</head>

<body>
Expand Down
5 changes: 1 addition & 4 deletions crates/librqbit/webui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,14 @@
"preview": "vite preview"
},
"dependencies": {
"@vitejs/plugin-react": "^4.2.0",
"bootstrap": "^5.3.2",
"react": "^18.2.0",
"react-bootstrap": "^2.9.1",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@types/react": "^18.2.38",
"@types/react-dom": "^18.2.16",
"sass": "^1.69.5",
"typescript": "^5.3.2",
"vite": "^4.3.2"
}
}
}
4 changes: 2 additions & 2 deletions crates/librqbit/webui/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import { StrictMode, createContext, memo, useContext, useEffect, useRef, useStat
import ReactDOM from 'react-dom/client';
import { ProgressBar, Button, Container, Row, Col, Alert, Modal, Form, Spinner, Table } from 'react-bootstrap';

import 'bootstrap/dist/css/bootstrap.min.css';
import './styles.scss';
// import 'bootstrap/dist/css/bootstrap.min.css';
// import './styles.scss';

// Define API URL and base path
const apiUrl = (window.origin === 'null' || window.origin === 'http://localhost:3031') ? 'http://localhost:3030' : '';
Expand Down
3 changes: 0 additions & 3 deletions crates/librqbit/webui/src/styles.scss

This file was deleted.

0 comments on commit 1a6bc44

Please sign in to comment.