29 lines
1.7 KiB
HTML
29 lines
1.7 KiB
HTML
|
<h1>Change movie metadata</h1>
|
||
|
<form action="./edit" method="post" enctype="application/x-www-form-urlencoded">
|
||
|
<div class="mb-3">
|
||
|
<label for="proper-name" class="form-label">Proper Name</label>
|
||
|
<input type="text" class="form-control" id="proper-name" name="proper_name" value="{{propername}}">
|
||
|
</div>
|
||
|
<div class="form-floating">
|
||
|
<textarea class="form-control" placeholder="Description" name="description" id="floatingTextarea">{{description}}</textarea>
|
||
|
<label for="floatingTextarea">Description</label>
|
||
|
</div>
|
||
|
<input type="submit" value="Change Metadata" class="btn btn-primary">
|
||
|
|
||
|
</form>
|
||
|
<h1>Upload movie files</h1>
|
||
|
<form action="./upload" method="post" enctype="multipart/form-data">
|
||
|
<h1>You should do these in order (not required but recomended because you can only upload one at a time, that is in one tab at least)</h1>
|
||
|
<select class="form-select" name="type" aria-label="Select resource">
|
||
|
<option value="thumbnail" selected>Thumbnail (should be 120x214, the coverart for the movie)</option>
|
||
|
<option value="poster">Poster (same resoultion as movie, what you see on video player before pressing play)</option>
|
||
|
<option value="movie">Movie (should be mp4, this file will be downloaded when someone clicks download and will be converted to a browser version)</option>
|
||
|
</select>
|
||
|
<div class="mb-3">
|
||
|
<label for="formFileSm" class="form-label">File to upload</label>
|
||
|
<input class="form-control form-control-sm" id="formFileSm" name="file" type="file">
|
||
|
</div>
|
||
|
<input type="submit" value="Submit" class="btn btn-primary">
|
||
|
|
||
|
</form>
|
||
|
<a href="./extras/" target="_blank" class="btn btn-primary">View/Edit extras</a>
|