Move frontend dir
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="ru">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Аналог DropMeFiles</title>
|
||||
<link rel="stylesheet" href="./style.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="uploadPage">
|
||||
<h1>Аналог DropMeFiles</h1>
|
||||
<div class="upload-container">
|
||||
<form id="uploadForm">
|
||||
<label class="dropzone" id="dropzone">
|
||||
<input id="fileInput" type="file">
|
||||
<p class="strong">Перетащите файл сюда или нажмите, чтобы выбрать</p>
|
||||
<p>Максимальный размер файла: <span id="maxFileSize">загрузка...</span></p>
|
||||
</label>
|
||||
<button type="submit" id="uploadButton" disabled>Загрузить</button>
|
||||
</form>
|
||||
<div class="status" id="status"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="downloadPage" style="display: none;">
|
||||
<h1>Скачать файл</h1>
|
||||
<div class="upload-container">
|
||||
<div id="downloadContent">
|
||||
<div class="status" id="downloadStatus">Загрузка...</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script src="./script.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user