[973dd91] | 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
---|
| 2 | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
---|
| 3 | <html xmlns="http://www.w3.org/1999/xhtml" |
---|
| 4 | xmlns:py="http://genshi.edgewall.org/" |
---|
| 5 | xmlns:xi="http://www.w3.org/2001/XInclude" |
---|
| 6 | py:strip=""> |
---|
| 7 | <xi:include href="header.html" /> |
---|
| 8 | <xi:include href="footer.html" /> |
---|
| 9 | <head py:match="head" py:attrs="select('@*')"> |
---|
| 10 | <meta content="text/html; charset=UTF-8" http-equiv="content-type" py:replace="''"/> |
---|
| 11 | <title py:replace="''">Your title goes here</title> |
---|
| 12 | <meta py:replace="select('*')"/> |
---|
[0b8c868] | 13 | <link rel="stylesheet" type="text/css" media="screen" href="${tg.url('/jquery/theme/ui.all.css')}" /> |
---|
[973dd91] | 14 | <link rel="stylesheet" type="text/css" media="screen" href="${tg.url('/css/style.css')}" /> |
---|
| 15 | </head> |
---|
| 16 | |
---|
| 17 | <body py:match="body" py:attrs="select('@*')"> |
---|
[bed8e5d] | 18 | <script type="text/javascript"> |
---|
| 19 | document.body.className += ' has_js'; |
---|
| 20 | </script> |
---|
[1998d46] | 21 | <div class="wrapper"> |
---|
[973dd91] | 22 | ${header()} |
---|
| 23 | <ul id="mainmenu"> |
---|
[1998d46] | 24 | <li class="first"><a href="${tg.url('/')}" class="${('', 'active')[defined('page') and page==page=='index']}">Status</a></li> |
---|
[973dd91] | 25 | <li><a href="${tg.url('/about')}" class="${('', 'active')[defined('page') and page==page=='about']}">About</a></li> |
---|
[0603e20] | 26 | <li><a href="${tg.url('/todo')}" class="${('', 'active')[defined('page') and page==page=='todo']}">Todo</a></li> |
---|
[1998d46] | 27 | <li><a href="mailto:sipb@mit.edu">Contact</a></li> |
---|
[973dd91] | 28 | </ul> |
---|
| 29 | <div id="content"> |
---|
| 30 | <py:with vars="flash=tg.flash_obj.render('flash', use_js=False)"> |
---|
| 31 | <div py:if="flash" py:content="XML(flash)" /> |
---|
| 32 | </py:with> |
---|
| 33 | <div py:replace="select('*|text()')"/> |
---|
| 34 | <!-- End of main_content --> |
---|
| 35 | </div> |
---|
[1998d46] | 36 | <div class="push"></div> |
---|
| 37 | </div> |
---|
| 38 | ${footer()} |
---|
[973dd91] | 39 | </body> |
---|
| 40 | </html> |
---|