requestmovies/data/wwwroot/movie/index.html

57 lines
1.5 KiB
HTML

<form action="./search" method="get">
<nav class="no-space">
<div class="max field border left-round">
<input type="search" name="q">
</div>
<input class="button large right-round" type="submit" value="Search">
</nav>
</form>
<article>
<div class="row">
<img src="{{thumbnail}}">
<div>
<h5>{{name}}</h5>
<p>Rating: {{mpa_rating}}</p>
<p>Duration: {{runtime}}</p>
<!--<p>Some text here</p>-->
</div>
</div>
<nav>
<a href="{{yts_url}}" class="button">View on YTS.MX</a>
<nav class="no-space">
<a href="./movie?id={{prev}}" class="button border left-round fill">
<span><i>arrow_back</i></span>
</a>
<button class="border no-round">
<span>{{id}}</span>
</button>
<a href="./movie?id={{next}}" class="button border right-round fill">
<span><i>arrow_forward</i></span>
</a>
</nav>
</nav>
</article>
<h2>Add</h2>
{{for item in torrents}}
<a class="row padding surface-container wave" href="{{item.addurl}}">
<div class="max">
<h6 class="small">{{item.quality}}</h6>
</div>
<label>{{item.size}}</label>
</a>
{{end}}
<h2>Download Torrent File</h2>
{{for item in torrents}}
<a class="row padding surface-container wave" href="{{item.url}}">
<div class="max">
<h6 class="small">{{item.quality}}</h6>
</div>
<label>{{item.size}}</label>
</a>
{{end}}