55 lines
2.8 KiB
HTML
55 lines
2.8 KiB
HTML
|
<h1>Change season 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="mb-3">
|
||
|
<label for="exampleFormControlTextarea1" class="form-label">Description</label>
|
||
|
<textarea name="description" class="form-control" id="exampleFormControlTextarea1" rows="5">{{description}}</textarea>
|
||
|
</div>
|
||
|
<input type="submit" value="Change Metadata" class="btn btn-primary">
|
||
|
|
||
|
</form>
|
||
|
<br>
|
||
|
<h1>Add episode</h1>
|
||
|
<form action="./addepisode" method="post" enctype="application/x-www-form-urlencoded">
|
||
|
<div class="mb-3">
|
||
|
<label for="name" class="form-label">Episode Name</label>
|
||
|
<input type="text" class="form-control" id="name" name="name" aria-describedby="message">
|
||
|
<div id="message" class="form-text">This is the name that is used in Download Name, no spaces or /\"&,?|:;*@!#</div>
|
||
|
|
||
|
</div>
|
||
|
<div class="mb-3">
|
||
|
<label for="number" class="form-label">Episode Number</label>
|
||
|
<input type="number" min="1" class="form-control" id="number" name="number" value="{{newseasonnumber}}">
|
||
|
|
||
|
</div>
|
||
|
<div class="mb-3">
|
||
|
<label for="proper-name2" class="form-label">Proper Name</label>
|
||
|
<input type="text" class="form-control" id="proper-name2" name="proper_name" value="">
|
||
|
</div>
|
||
|
<div class="mb-3">
|
||
|
<label for="exampleFormControlTextarea2" class="form-label">Description</label>
|
||
|
<textarea name="description" class="form-control" id="exampleFormControlTextarea2" rows="5"></textarea>
|
||
|
</div>
|
||
|
<input type="submit" value="Add Episode" class="btn btn-primary">
|
||
|
|
||
|
</form>
|
||
|
<br>
|
||
|
<h1>Upload asset 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 show (also used for when episode does not have one))</option>
|
||
|
<option value="poster">Poster (same resoultion as show (for when episode does not have one), what you see on video player before pressing play)</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>
|
||
|
<br>
|
||
|
<a href="./extras/" target="_blank" class="btn btn-primary">View/Edit extras</a>
|