summaryrefslogtreecommitdiff
path: root/views/recipe/upload.ejs
diff options
context:
space:
mode:
authorroot <root@vagrantz.xyz>2021-04-06 10:57:50 +0000
committerroot <root@vagrantz.xyz>2021-04-06 10:57:50 +0000
commit8170d5bc0544fbc02155b8b57751cd1dec33dd69 (patch)
treed5cffb086fe6d5585c1e00ea5d5d2d907e6d2cd6 /views/recipe/upload.ejs
initial public commitHEADmaster
Diffstat (limited to 'views/recipe/upload.ejs')
-rw-r--r--views/recipe/upload.ejs26
1 files changed, 26 insertions, 0 deletions
diff --git a/views/recipe/upload.ejs b/views/recipe/upload.ejs
new file mode 100644
index 0000000..e8a9c81
--- /dev/null
+++ b/views/recipe/upload.ejs
@@ -0,0 +1,26 @@
+<%- include('../partials/header') %>
+<%- include('../partials/nav') %>
+
+<div class='content'>
+ <%- include('../partials/categories') %>
+ <div class='main'>
+ <div class='createCard'>
+ <h4 style='text-align: center'>Upload Recipe Image</h4>
+ <form action="/recipe/image" method='POST' enctype="multipart/form-data">
+ <input type='file' name='image'>
+ <button>Upload</button>
+ </form>
+ </div>
+ </div>
+ <%- include('../partials/popular') %>
+</div>
+
+<script type='text/javascript'>
+ const prevent = (e) => {
+ e.preventDefault();
+ }
+</script>
+
+<%- include('../partials/magicCats') %>
+<%- include('../partials/magicPops') %>
+<%- include('../partials/footer') %>