]> git.llucax.com Git - software/sercom.git/blob - sercom/templates/master.kid
Cambio un poco la cara para que no sea tan TurboGears :)
[software/sercom.git] / sercom / templates / master.kid
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <?python import sitetemplate ?>
3 <html xmlns="http://www.w3.org/1999/xhtml" xmlns:py="http://purl.org/kid/ns#" py:extends="sitetemplate">
4
5 <head py:match="item.tag=='{http://www.w3.org/1999/xhtml}head'" py:attrs="item.items()">
6     <meta content="text/html; charset=UTF-8" http-equiv="content-type" py:replace="''"/>
7     <title py:replace="''">Sercom</title>
8     <meta py:replace="item[:]"/>
9     <style type="text/css">
10         #pageLogin
11         {
12             font-size: 10px;
13             font-family: verdana;
14             text-align: right;
15         }
16     </style>
17     <style type="text/css" media="screen">
18 @import "/static/css/style.css";
19 </style>
20 </head>
21
22 <body py:match="item.tag=='{http://www.w3.org/1999/xhtml}body'" py:attrs="item.items()">
23                 <div id="header"><span style="position:relative; top: 90%;">Administrador y Corrector Automático de Trabajos Prácticos</span></div>
24     <div id="main_content">
25     <div py:if="tg.config('identity.on',False) and not 'logging_in' in locals()" id="pageLogin">
26         <span py:if="tg.identity.anonymous">
27             <a href="/login">Login</a>
28         </span>
29         <span py:if="not tg.identity.anonymous">
30             Bienvenido ${tg.identity.user.nombre}.
31             <a href="/logout">Logout</a>
32         </span>
33     </div>
34     <div py:if="tg_flash" class="flash" py:content="tg_flash"></div>
35
36     <div py:replace="[item.text]+item[:]"/>
37
38         <!-- End of main_content -->
39         </div>
40 <div id="footer"> <img src="/static/images/under_the_hood_blue.png" alt="TurboGears under the hood" />
41   <p>TurboGears is a open source front-to-back web development
42     framework written in Python</p>
43   <p>Copyright &copy; 2006 Kevin Dangoor</p>
44 </div>
45 </body>
46
47 </html>