Files
File-Transfer-Website/templates/index.html
klein panic da9156aaa3 Lol
2024-10-01 20:14:14 -04:00

31 lines
1002 B
HTML

<!-- templates/index.html -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>iPhone-Linux Transfer</title>
</head>
<body>
<h1>iPhone-Linux Transfer Service</h1>
<!-- Upload HTML link form -->
<h2>Upload HTML Link</h2>
<form id="linkForm" action="/upload/link" method="POST">
<input type="text" name="link" placeholder="Enter your link here" required>
<button type="submit">Submit Link</button>
</form>
<!-- Upload file form -->
<h2>Upload Image/File</h2>
<form id="fileForm" action="/upload/file" method="POST" enctype="multipart/form-data">
<input type="file" name="file" required>
<button type="submit">Upload File</button>
</form>
<!-- Button to view uploaded content -->
<h2>View Uploaded Links and Images</h2>
<button onclick="window.location.href='/uploads';">View Uploaded Content</button>
</body>
</html>