version inicial de la aplicacion de gestion de compras
[compra.git] / templates / layout.html
1 $def with (content)
2
3 <html>
4     <head>
5         <title>$content.title</title>
6
7         <link rel="stylesheet" href="/static/css/index.css" type="text/css" media="screen" charset="utf-8"/>
8         $if content.get('cssfiles', ''):
9             $for f in content.cssfiles.split():
10                 <link rel="stylesheet" href="$f" type="text/css" media="screen" charset="utf-8"/>
11
12         <script src="/static/js/jquery.js" type="text/javascript"></script>
13         $if content.get('jsfiles', ''):
14             $for f in content.jsfiles.split():
15                 <script src="$f" type="text/javascript"></script>
16     </head>
17
18     <body>
19         <div id="header">
20             <h1>Lista de la compra</h1>
21         </div>
22
23         <div id="content">
24             $:content
25         </div>
26     </body>
27 </html>