add basic videoob-web frontend
This commit is contained in:
parent
109fb65f01
commit
c39f9d177e
5 changed files with 169 additions and 0 deletions
20
weboob/frontends/videoob_web/templates/index.mako
Normal file
20
weboob/frontends/videoob_web/templates/index.mako
Normal 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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue