]> git.llucax.com Git - z.facultad/75.52/sercom.git/blobdiff - sercom/templates/master.kid
elimino tarea que no va para empezar ahora con el modelo Muzzarella
[z.facultad/75.52/sercom.git] / sercom / templates / master.kid
index e0d9803ff02ea9de991e618f29cf1a1332ebee54..b23c32195590f066b94f807beb52fa08d6b06c55 100644 (file)
@@ -1,6 +1,10 @@
 <!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 ?>
+<?python
+       from sercom.menu import Menu
+       from sercom.controllers import Root
+       menu = Menu(Root)
+?>
 <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()">
     </div>
     <div py:if="tg_flash" class="flash" py:content="tg_flash"></div>
 
     </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>
+    ${XML(str(menu))}
+        
     <div py:replace="[item.text]+item[:]"/>
 
        <!-- End of main_content -->
     <div py:replace="[item.text]+item[:]"/>
 
        <!-- End of main_content -->