37 lines
No EOL
1.5 KiB
Text
37 lines
No EOL
1.5 KiB
Text
<%- include('header.ejs') -%>
|
|
<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>
|
|
<div class="progressbar">
|
|
<div></div>
|
|
</div>
|
|
<div class='controls'>
|
|
<div class='play'><img src='/static/img/play.svg' class='dark'></div>
|
|
<div class='full'><img src='/static/img/full.svg' class='dark'></div>
|
|
</div>
|
|
</div>
|
|
<p><b>
|
|
<%= videoData.title %>
|
|
</b>
|
|
</p>
|
|
|
|
<div class='avatar'>
|
|
<img src='/pfp/<%= videoData.username %>.png' class='avatar-img'>
|
|
<div>
|
|
Created by <b><a class='link' href="/client/user?id=<%= videoData.username %>">
|
|
@<%= videoData.username %></a></b>
|
|
</a> on
|
|
<b>
|
|
<%= (new Date(videoData.date)+'').split(/(GMT|UTC)/g)[0] %>
|
|
</b>
|
|
</div>
|
|
</div>
|
|
<pre class='form-input'><%= videoData.desc %></pre>
|
|
<%if (username==videoData.username) { %>
|
|
<input class='form-input' type='submit' value="Delete">
|
|
<% } %>
|
|
<input name='target' hidden value="<%= id %>">
|
|
</div>
|
|
<%- include('comments.ejs') -%>
|
|
<%- include('footer.ejs') -%> |