deleting videos, 404
This commit is contained in:
parent
b38fb151ac
commit
62645ddd93
8 changed files with 67 additions and 5 deletions
6
views/404.ejs
Normal file
6
views/404.ejs
Normal file
|
@ -0,0 +1,6 @@
|
|||
<%- include('header.ejs') -%>
|
||||
<div class='content'>
|
||||
<h2>Oops!</h2>
|
||||
<p>This page was not found.</p>
|
||||
</div>
|
||||
<%- include('footer.ejs') -%>
|
|
@ -1,5 +1,5 @@
|
|||
<%- include('header.ejs') -%>
|
||||
<div class='content'>
|
||||
<form class='content' enctype='multipart/form-data' method='POST' action='/api/form/delete_video'>
|
||||
<h1>Video</h1>
|
||||
<div class='video-wrapper'>
|
||||
<video src='/videos/<%= videoData.id %>.webm'></video>
|
||||
|
@ -28,6 +28,8 @@
|
|||
</div>
|
||||
</div>
|
||||
<pre class='form-input'><%= videoData.desc %></pre>
|
||||
<input class='form-input' type='submit' value="Delete">
|
||||
<input name='target' hidden value="<%= id %>">
|
||||
</div>
|
||||
<%- include('comments.ejs') -%>
|
||||
<%- include('footer.ejs') -%>
|
Loading…
Add table
Add a link
Reference in a new issue