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

52 lines
1.9 KiB
HTML
Raw Normal View History

2023-12-16 01:40:05 +00:00
<br>
<div class="container">
<img src="{{moviethumbnail}}" alt="{{movieproper}}" width="120" height="214">
<h1>{{movieproper}}</h1>
<h2>{{userproper}}</h2>
<hr>
2024-01-04 02:53:13 +00:00
{{if moviebrowserexists}}
2023-12-16 01:40:05 +00:00
<a class="btn btn-primary" href="./play">Watch Online</a>
2024-01-04 02:53:13 +00:00
{{end}}
{{if movieexists}}
2023-12-16 01:40:05 +00:00
<a class="btn btn-primary" href="{{downloadurl}}" download="{{movieproperattr}}.mp4">Download</a>
2024-01-04 02:53:13 +00:00
{{end}}
2023-12-16 01:40:05 +00:00
{{if editable}}
<a class="btn btn-primary" href="./edit">Edit</a>
2024-01-04 02:53:13 +00:00
<a class="btn btn-primary" href="./subtitles">Edit Subtitles</a>
{{end}}
{{if extrasexists}}
<a class="btn btn-primary" href="./extras">Extras</a>
2023-12-16 01:40:05 +00:00
{{end}}
{{if torrentexists}}
<a class="btn btn-primary" href="{{torrent}}">Torrent</a>
{{end}}
{{if torrentwextraexists}}
<a class="btn btn-primary" href="{{torrentwextra}}">Torrent With Extras</a>
{{end}}
2024-07-28 22:59:28 +00:00
{{if editable}}
<form action="./sendupdate?csrf={{csrf}}" method="post">
<div class="mb-3">
<label for="exampleFormControlTextarea1" class="form-label">Message To Subscribers (optional)</label>
<textarea name="body" class="form-control" id="exampleFormControlTextarea1" rows="5"></textarea>
</div>
<input type="submit" value="Send Update" class="btn btn-success">
</form>
{{end}}
2023-12-16 01:40:05 +00:00
<br>
<div class="accordion" id="accordionExample">
<div class="accordion-item">
<h2 class="accordion-header">
<button class="accordion-button" type="button" data-bs-toggle="collapse" data-bs-target="#collapseOne" aria-expanded="true" aria-controls="collapseOne">
Description
</button>
</h2>
2024-01-04 02:53:13 +00:00
<br>
2023-12-16 01:40:05 +00:00
<div id="collapseOne" class="accordion-collapse collapse" data-bs-parent="#accordionExample">
<div class="accordion-body">
<p>{{moviedescription}}</p>
</div>
</div>
</div>
</div>
</div>