fserve/templates/up.html.hbs
2022-11-15 22:44:47 -05:00

22 lines
1.1 KiB
Handlebars

<html>
<head>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.8.1/font/bootstrap-icons.css">
</head>
<body>
<div class="vstack gap-3">
<div class="bg-light border rounded-3 p-2">
<div class="d-grid gap-2">
<form action="/upload" method="post" enctype="multipart/form-data">
<input type="file" id="file" name="upload" onchange="this.form.submit()" hidden/>
</form>
<button class="btn btn-outline-success text-start col-sm-1 ms-1 me-1" onclick="document.getElementById('file').click()">
<i class="bi bi-file-earmark-plus"></i>
</button>
</div>
</div>
</div>
</body>
</html>