requestmovies/data/wwwroot/movie/index.html

45 lines
1.1 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>
</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}}