]> git.llucax.com Git - software/sercom.git/blob - sercom/templates/master.kid
Bugfix: las instancias de entrega a procesar deben haber vencido
[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 <?python
4         from sercom.menu import Menu
5         from sercom.controllers import Root
6         menu = Menu(Root)
7 ?>
8 <html xmlns="http://www.w3.org/1999/xhtml" xmlns:py="http://purl.org/kid/ns#" py:extends="sitetemplate">
9
10 <head py:match="item.tag=='{http://www.w3.org/1999/xhtml}head'" py:attrs="item.items()">
11     <meta content="text/html; charset=UTF-8" http-equiv="content-type" py:replace="''"/>
12     <title py:replace="''">Sercom</title>
13     <meta py:replace="item[:]"/>
14     <style type="text/css">
15         #pageLogin
16         {
17             font-size: 10px;
18             font-family: verdana;
19             text-align: right;
20         }
21     </style>
22     <style type="text/css" media="screen">
23 @import "/static/css/style.css";
24 </style>
25 </head>
26
27 <body py:match="item.tag=='{http://www.w3.org/1999/xhtml}body'" py:attrs="item.items()">
28                 <div id="header"><span style="position:relative; top: 90%;">Administrador y Corrector Automático de Trabajos Prácticos</span></div>
29     <div id="main_content">
30     <div py:if="tg.config('identity.on',False) and not 'logging_in' in locals()" id="pageLogin">
31         <span py:if="tg.identity.anonymous">
32             <a href="/login">Login</a>
33         </span>
34         <span py:if="not tg.identity.anonymous">
35             Bienvenido ${tg.identity.user.nombre}.
36             <a href="/logout">Logout</a>
37         </span>
38     </div>
39     <div py:if="tg_flash" class="flash" py:content="tg_flash"></div>
40
41     ${XML(str(menu))}
42         
43     <div py:replace="[item.text]+item[:]"/>
44
45         <!-- End of main_content -->
46         </div>
47         <div id="footer">
48                 <a href="http://www.turbogears.org/"><img src="/static/images/under_the_hood_blue.png" alt="TurboGears under the hood" /></a>
49                 <br />
50                 <br />
51         <p>Copyleft &copy; 2007 Dimov, Lucarella, Markiewicz</p>
52         </div>
53 </body>
54
55 </html>