mirror of
https://git.sr.ht/~coasteen/webui
synced 2025-11-04 11:37:34 +01:00
33 lines
1,014 B
HTML
33 lines
1,014 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>File Transfer</title>
|
|
<link rel="stylesheet" href="style.css">
|
|
</head>
|
|
<body>
|
|
<h1>Upload Files</h1>
|
|
<form id="upload-form" action="/upload" method="post" enctype="multipart/form-data">
|
|
<input type="file" name="files" multiple required id="file-input">
|
|
<button type="submit" id="upload-button">Upload</button>
|
|
</form>
|
|
|
|
<h2>Files to Upload</h2>
|
|
<ul id="upload-list">
|
|
</ul>
|
|
|
|
<h2>Directory Structure</h2>
|
|
<div id="batch-actions">
|
|
<button id="select-all">Select All</button>
|
|
<button id="batch-download">Download Selected</button>
|
|
<button id="batch-delete">Delete Selected</button>
|
|
<button id="batch-preview">Preview Selected (Text/Image)</button>
|
|
</div>
|
|
<div id="file-tree">
|
|
<ul id="file-list"></ul>
|
|
</div>
|
|
|
|
<script src="script.js"></script>
|
|
</body>
|
|
</html>
|