You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
696 B
Mako
29 lines
696 B
Mako
<%inherit file="base.mako"/>
|
|
|
|
<%def name="title()">
|
|
results for "${c.query}"
|
|
</%def>
|
|
|
|
<%def name="heading()">
|
|
There are ${len(c.results)} videos matching "${c.query}".
|
|
</%def>
|
|
|
|
<%def name="results_listing(results)">
|
|
<ol id="results">
|
|
% for result in c.results:
|
|
<li>
|
|
<a href="${h.url_for('video_page', video=result)}">
|
|
|
|
<img src="${result['thumbnail']}" alt='thumbnail for "${result['dc_title']}"'/>
|
|
</a>
|
|
<br />
|
|
<a href="${h.url_for('video_page', video=result)}" class="title">
|
|
${result['dc_title']}
|
|
</a>
|
|
</li>
|
|
% endfor
|
|
</ol>
|
|
</%def>
|
|
|
|
${results_listing(c.results)}
|
|
|