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

38 lines
1.3 KiB
HTML
Raw Permalink Normal View History

2024-07-28 22:59:28 +00:00
<br>
<div class="container">
<img src="{{episodethumbnail}}" alt="{{episodeproper}}" width="120" height="214">
<h1>{{seasonproper}}, {{episodeproper}}</h1>
<h2>{{showproper}}</h2>
<h2>{{userproper}}</h2>
<hr>
{{if episodebrowserexists}}
<a class="btn btn-primary" href="./play">Watch Online</a>
{{end}}
{{if episodeexists}}
<a class="btn btn-primary" href="{{downloadurl}}" download="{{episodeproperattr}}.mp4">Download</a>
{{end}}
{{if editable}}
<a class="btn btn-primary" href="./edit">Edit</a>
<a class="btn btn-primary" href="./subtitles">Edit Subtitles</a>
{{end}}
<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>
<br>
<div id="collapseOne" class="accordion-collapse collapse" data-bs-parent="#accordionExample">
<div class="accordion-body">
<p>{{episodedescription}}</p>
</div>
</div>
</div>
</div>
</div>