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