29 lines
901 B
HTML
29 lines
901 B
HTML
<h1>{{search_text}}</h1>
|
|
<form action="./search" method="get">
|
|
|
|
<nav class="no-space">
|
|
<div class="max field border left-round">
|
|
<input type="search" name="q" value="{{search_text_attr}}">
|
|
</div>
|
|
<input class="button large right-round" type="submit" value="Search">
|
|
</nav>
|
|
</form>
|
|
<div class="space"></div>
|
|
|
|
{{for movie in results}}
|
|
<div>
|
|
<a href="{{movie.url}}"><img src="{{movie.thumbnail}}" alt="thumbnail"> {{movie.title}}</a>
|
|
</div>
|
|
{{end}}
|
|
|
|
<nav class="no-space">
|
|
<a href="./search?q={{search_text_attr}}&page={{prev}}" class="button border left-round fill">
|
|
<span><i>arrow_back</i></span>
|
|
</a>
|
|
<button class="border no-round">
|
|
<span>{{page}}</span>
|
|
</button>
|
|
<a href="./search?q={{search_text_attr}}&page={{next}}" class="button border right-round fill">
|
|
<span><i>arrow_forward</i></span>
|
|
</a>
|
|
</nav> |