mirror of
https://git.waldn.net/git/knotteye/satyr.git
synced 2025-09-09 14:53:55 +00:00
Add VOD management page and the ability to delete the user's own vods
This commit is contained in:
14
templates/managevods.njk
Normal file
14
templates/managevods.njk
Normal file
@ -0,0 +1,14 @@
|
||||
{% extends "base.njk" %}
|
||||
{% block content %}
|
||||
<h3>Manage Your VODs</h3>
|
||||
<form action="/api/user/vods/delete" method="POST" target="responseFrame">
|
||||
{% asyncEach vid in list%}
|
||||
<input type="checkbox" id="{{vid.name}}" name="vlist[]" value="{{vid.name}}">
|
||||
 <label for="{{vid.name}}">{{vid.name}}</label><p></p>
|
||||
{% else %}
|
||||
No recordings found!
|
||||
{% endeach %}
|
||||
<input type="submit" value="Delete">
|
||||
</form>
|
||||
<iframe name="responseFrame" border="0" frameborder="0" style="display: inline;"></iframe>
|
||||
{% endblock %}
|
Reference in New Issue
Block a user