25 lines
631 B
HTML
25 lines
631 B
HTML
|
<html>
|
||
|
<head>
|
||
|
<link rel="stylesheet" type="" href="./style.css">
|
||
|
<script src="https://unpkg.com/htmx.org@1.9.4/dist/htmx.min.js"></script>
|
||
|
</head>
|
||
|
<body>
|
||
|
<div class="container">
|
||
|
|
||
|
<div id="main">
|
||
|
<h1>Raul's file uploader</h1>
|
||
|
<h3>Find the source <a href="https://git.bulgariu.xyz/raul/uploader" target="_blank">here!</a></h3>
|
||
|
<form id='form' hx-encoding='multipart/form-data' hx-post='/api/upload'>
|
||
|
<input type="file" name="file" value="">
|
||
|
<br>
|
||
|
<br>
|
||
|
<button id="but">
|
||
|
Upload
|
||
|
</button>
|
||
|
</form>
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|