]> git.llucax.com Git - z.facultad/75.52/sercom.git/blobdiff - sercom/templates/master.kid
pongo lindo el footer
[z.facultad/75.52/sercom.git] / sercom / templates / master.kid
index 7a8e03c737cfdcabf37a00057a72353a1b366a5c..f8f591abc6b22ec20c558b3c5a428b22e61d8bdd 100644 (file)
@@ -1,5 +1,6 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <?python import sitetemplate ?>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <?python import sitetemplate ?>
+<?python from sercom.menu import menu ?>
 <html xmlns="http://www.w3.org/1999/xhtml" xmlns:py="http://purl.org/kid/ns#" py:extends="sitetemplate">
 
 <head py:match="item.tag=='{http://www.w3.org/1999/xhtml}head'" py:attrs="item.items()">
 <html xmlns="http://www.w3.org/1999/xhtml" xmlns:py="http://purl.org/kid/ns#" py:extends="sitetemplate">
 
 <head py:match="item.tag=='{http://www.w3.org/1999/xhtml}head'" py:attrs="item.items()">
@@ -20,8 +21,9 @@
 </head>
 
 <body py:match="item.tag=='{http://www.w3.org/1999/xhtml}body'" py:attrs="item.items()">
 </head>
 
 <body py:match="item.tag=='{http://www.w3.org/1999/xhtml}body'" py:attrs="item.items()">
-    <div py:if="tg.config('identity.on',False) and not 'logging_in' in locals()"
-        id="pageLogin">
+               <div id="header"><span style="position:relative; top: 90%;">Administrador y Corrector Automático de Trabajos Prácticos</span></div>
+    <div id="main_content">
+    <div py:if="tg.config('identity.on',False) and not 'logging_in' in locals()" id="pageLogin">
         <span py:if="tg.identity.anonymous">
             <a href="/login">Login</a>
         </span>
         <span py:if="tg.identity.anonymous">
             <a href="/login">Login</a>
         </span>
             <a href="/logout">Logout</a>
         </span>
     </div>
             <a href="/logout">Logout</a>
         </span>
     </div>
-    <div id="header">&nbsp;</div>
-    <div id="main_content">
     <div py:if="tg_flash" class="flash" py:content="tg_flash"></div>
 
     <div py:if="tg_flash" class="flash" py:content="tg_flash"></div>
 
+               <div id="navbar">
+                       Ir a :
+                       <select OnChange="window.location=this.options[this.selectedIndex].value;">
+                               <option value="${tg.url('/')}">Inicio</option>
+                               <option py:for="i in menu" value="${tg.url(i['url'])}">
+                               ${i['name']}
+                               </option>
+                       </select>
+               </div>
     <div py:replace="[item.text]+item[:]"/>
 
        <!-- End of main_content -->
        </div>
     <div py:replace="[item.text]+item[:]"/>
 
        <!-- End of main_content -->
        </div>
-<div id="footer"> <img src="/static/images/under_the_hood_blue.png" alt="TurboGears under the hood" />
-  <p>TurboGears is a open source front-to-back web development
-    framework written in Python</p>
-  <p>Copyright &copy; 2006 Kevin Dangoor</p>
-</div>
+       <div id="footer">
+               <a href="http://www/turbogears.org/"><img src="/static/images/under_the_hood_blue.png" alt="TurboGears under the hood" /></a>
+       <p>Copyleft &copy; 2007 Dimov, Lucarella, Markiewicz</p>
+               <br />
+       </div>
 </body>
 
 </html>
 </body>
 
 </html>