FileSharer/resources/dashboard.html

26 lines
901 B
HTML
Raw Normal View History

2024-01-16 13:02:26 -06:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Dashboard</title>
</head>
<body>
<h2>Upload</h2>
2024-01-16 14:03:04 -06:00
<form action="/upload" enctype="multipart/form-data" method="post">
2024-01-16 14:00:06 -06:00
<input type="text" readonly value="{DIRECTORY}" name="directory">
<input type="password" placeholder="Password" name="password">
<input type="file" name="file">
<input type="submit">
2024-01-16 13:02:26 -06:00
</form>
2024-01-16 15:04:50 -06:00
<h2>Make Directory</h2>
<form action="./mkdir" method="post">
<input type="text" readonly value="{DIRECTORY}" name="directory">
<input type="password" placeholder="Password" name="password">
<input type="text" name="name" placeholder="folderName">
<input type="submit">
</form>
2024-01-16 13:02:26 -06:00
</body>
</html>