simple http frontend

This commit is contained in:
Christophe Benz 2010-03-29 13:24:13 +02:00 committed by Christophe Benz
commit 8ece426999
4 changed files with 108 additions and 0 deletions

View file

@ -0,0 +1,21 @@
## -*- coding: utf-8 -*-
<%inherit file="base.mako"/>
<%def name="title()" filter="trim">
weboob / messages
</%def>
<%def name="body()">
% for (name, backend) in backends:
<h1>${name}</h1>
<ul>
% for message in backend.iter_messages():
<li>
${message.get_title()}
<p>${message.get_content()[:80]}</p>
</li>
% endfor
</ul>
% endfor
</%def>