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="mailto:sipb@mit.edu">Contact</a></li> |
---|
27 | </ul> |
---|
28 | <div id="content"> |
---|
29 | <py:with vars="flash=tg.flash_obj.render('flash', use_js=False)"> |
---|
30 | <div py:if="flash" py:content="XML(flash)" /> |
---|
31 | </py:with> |
---|
32 | <div py:replace="select('*|text()')"/> |
---|
33 | <!-- End of main_content --> |
---|
34 | </div> |
---|
35 | <div class="push"></div> |
---|
36 | </div> |
---|
37 | ${footer()} |
---|
38 | </body> |
---|
39 | </html> |
---|