| 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('*')"/> |
|---|
| 13 | <link rel="stylesheet" type="text/css" media="screen" href="${tg.url('/jquery/theme/ui.all.css')}" /> |
|---|
| 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('@*')"> |
|---|
| 18 | <script type="text/javascript"> |
|---|
| 19 | document.body.className += ' has_js'; |
|---|
| 20 | </script> |
|---|
| 21 | <div class="wrapper"> |
|---|
| 22 | ${header()} |
|---|
| 23 | <ul id="mainmenu"> |
|---|
| 24 | <li class="first"><a href="${tg.url('/')}" class="${('', 'active')[defined('page') and page==page=='index']}">Status</a></li> |
|---|
| 25 | <li><a href="${tg.url('/about')}" class="${('', 'active')[defined('page') and page==page=='about']}">About</a></li> |
|---|
| 26 | <li><a href="${tg.url('/todo')}" class="${('', 'active')[defined('page') and page==page=='todo']}">Todo</a></li> |
|---|
| 27 | <li><a href="mailto:sipb@mit.edu">Contact</a></li> |
|---|
| 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> |
|---|
| 36 | <div class="push"></div> |
|---|
| 37 | </div> |
|---|
| 38 | ${footer()} |
|---|
| 39 | </body> |
|---|
| 40 | </html> |
|---|