Initial commit
This commit is contained in:
12
templates/admin/videos_upload.html
Normal file
12
templates/admin/videos_upload.html
Normal file
@@ -0,0 +1,12 @@
|
||||
{% extends 'admin/base.html' %}
|
||||
{% block content %}
|
||||
<h4>Upload Video</h4>
|
||||
<form method="post" enctype="multipart/form-data" class="mt-3" style="max-width: 640px;">
|
||||
<div class="mb-3">
|
||||
<input class="form-control" type="file" name="file" accept="video/mp4,video/webm" required />
|
||||
<div class="form-text">MP4 (H264 baseline/main) recommended for SoC players.</div>
|
||||
</div>
|
||||
<button class="btn btn-primary" type="submit">Upload</button>
|
||||
<a class="btn btn-link" href="{{ url_for('admin.videos_list') }}">Cancel</a>
|
||||
</form>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user