add basic videoob-web frontend

This commit is contained in:
Christophe Benz 2010-04-27 11:32:24 +02:00
commit c39f9d177e
5 changed files with 169 additions and 0 deletions

View file

@ -0,0 +1,20 @@
## -*- coding: utf-8 -*-
<%inherit file="base.mako"/>
<%def name="body()">
<h1>Videoob Web</h1>
<div id="search">
<form action="/" method="get">
<label for="q">Search pattern:</label>
<input id="q" type="text" name="q" value="${form_data['q']}" />
<input type="submit" value="Search" />
</form>
</div>
<div id="results">
% for backend, items in results.iteritems():
<h2>${backend}</h2>
${items}
% endfor
</div>
</%def>