tesses-cms/Tesses.CMS/Assets/EditAlbumDetails.html

35 lines
1.7 KiB
HTML

<h1>Change album metadata</h1>
<form action="./edit?csrf={{csrf}}" 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="album-artist" class="form-label">Album Artist</label>
<input type="text" class="form-control" id="album-artist" name="album_artist" value="{{albumartist}}">
</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>
<div class="mb-3">
<label for="year" class="form-label">Year</label>
<!--Just in case Judgement doesn't happen until 65535 and this source is still available-->
<input type="number" min="0" max="65535" class="form-control" id="year" name="year" value="{{year}}">
</div>
<input type="submit" value="Change Metadata" class="btn btn-primary">
</form>
<h1>Upload album art (uses JPEG)</h1>
<form action="./upload?csrf={{csrf2}}" method="post" enctype="multipart/form-data">
<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>
<a href="./edit_tracklist" target="_blank" class="btn btn-primary">Tracklist</a>