fixed bugs

This commit is contained in:
ocueye 2024-11-21 15:57:29 +00:00
parent 77d942d9bb
commit e98ab79e97
2 changed files with 9 additions and 5 deletions

View File

@ -79,6 +79,8 @@
</div> </div>
<script> <script>
document.getElementById('uploadForm').addEventListener('submit', function (event) { document.getElementById('uploadForm').addEventListener('submit', function (event) {
const fileInput = document.getElementById('fileInput'); const fileInput = document.getElementById('fileInput');
const errorText = document.getElementById('error'); const errorText = document.getElementById('error');

View File

@ -62,6 +62,7 @@
padding: 20px; padding: 20px;
} }
button:hover { button:hover {
transition: all .3s; transition: all .3s;
@ -75,6 +76,9 @@
<body> <body>
<script> <script>
function copycode() { function copycode() {
var copyText = document.getElementById("copy").textContent.trim(); var copyText = document.getElementById("copy").textContent.trim();
copy(copyText); copy(copyText);
@ -104,7 +108,8 @@
<button onclick="copycode()">Copy Code</button> <button onclick="copycode()">Copy Code</button>
<h2>The qr code:</h2> <h2>The qr code:</h2>
<div class="code"> <div class="code">
<img src="https://vscode.carsonmayn.com/proxy/8170/qrcode?link=<linkhere>" alt="QR Code" style="border-radius: 20px;"> <img src="https://vscode.carsonmayn.com/proxy/8170/qrcode?link=<linkhere>" alt="QR Code"
style="border-radius: 20px;">
</div> </div>
<h2>Or use the link:</h2> <h2>Or use the link:</h2>
<div class="code" id="link"> <div class="code" id="link">
@ -120,6 +125,3 @@
</body> </body>
</html> </html>
</body>
</html>