diff options
Diffstat (limited to 'templates/upload.hbs')
| -rw-r--r-- | templates/upload.hbs | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/templates/upload.hbs b/templates/upload.hbs new file mode 100644 index 0000000..ca57d4f --- /dev/null +++ b/templates/upload.hbs @@ -0,0 +1,22 @@ +<!DOCTYPE html> +<html> +<head> + <title>бирка-тян - Upload File</title> + <link rel="stylesheet" type="text/css" href="/public/css/style.css"> + <meta charset="UTF-8"> +</head> +<body> + <header> + <h1><a href="/">бирка-тян</a></h1> + </header> + <main> + <h2>Upload a file</h2> + <form id="upload" method="post" action="/api/posts" enctype="multipart/form-data"> + <input id="image" name="image" type="file" accept="image/*"> + <label for="tags">Tags:</label> + <input id="tags" name="tags" type="text"> + <button type="submit">Upload</button> + </form> + </main> +</body> +</html> |