Get rid of junk
This commit is contained in:
parent
27e8c12cfe
commit
1a6bc444d4
6 changed files with 16 additions and 30 deletions
20
crates/librqbit/webui/dist/app.js
vendored
20
crates/librqbit/webui/dist/app.js
vendored
File diff suppressed because one or more lines are too long
10
crates/librqbit/webui/dist/index.html
vendored
10
crates/librqbit/webui/dist/index.html
vendored
|
|
@ -8,19 +8,11 @@
|
|||
<!-- Include Bootstrap CSS -->
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/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>
|
||||
|
|
|
|||
|
|
@ -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/bootstrap@5.3.0/dist/css/bootstrap.min.css"
|
||||
integrity="sha384-9ndCyUaIbzAi2FUVXJi0CjmCapSmO7SnpJef0486qhLnuZ2cdeRhO02iuK6FUUVM" crossorigin="anonymous" /> -->
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css"
|
||||
integrity="sha384-9ndCyUaIbzAi2FUVXJi0CjmCapSmO7SnpJef0486qhLnuZ2cdeRhO02iuK6FUUVM" crossorigin="anonymous" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
|
|
|||
|
|
@ -7,8 +7,6 @@
|
|||
"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"
|
||||
|
|
@ -16,8 +14,7 @@
|
|||
"devDependencies": {
|
||||
"@types/react": "^18.2.38",
|
||||
"@types/react-dom": "^18.2.16",
|
||||
"sass": "^1.69.5",
|
||||
"typescript": "^5.3.2",
|
||||
"vite": "^4.3.2"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -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' : '';
|
||||
|
|
|
|||
|
|
@ -1,3 +0,0 @@
|
|||
$font-size-base: 0.9rem;
|
||||
|
||||
@import 'node_modules/bootstrap/scss/bootstrap';
|
||||
Loading…
Add table
Add a link
Reference in a new issue