Entry point for rpc server, view templates, rss feeds of node down times,
[monitor.git] / web / MonitorWeb / monitorweb / templates / master.kid
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\r
2 <?python import sitetemplate ?>\r
3 <html xmlns="http://www.w3.org/1999/xhtml" xmlns:py="http://purl.org/kid/ns#"\r
4     py:extends="sitetemplate">\r
5 \r
6 <head py:match="item.tag=='{http://www.w3.org/1999/xhtml}head'" py:attrs="item.items()">\r
7     <meta content="text/html; charset=UTF-8" http-equiv="content-type" py:replace="''"/>\r
8     <title py:replace="''">Your title goes here</title>\r
9     <meta py:replace="item[:]" name="description" content="master template"/>\r
10     <style type="text/css" media="screen">\r
11         #pageLogin\r
12         {\r
13             font-size: 10px;\r
14             font-family: verdana;\r
15             text-align: right;\r
16         }\r
17     </style>\r
18     <link rel="stylesheet" type="text/css" media="screen" href="../static/css/style.css"\r
19         py:attrs="href=tg.url('/static/css/style.css')"/>\r
20 </head>\r
21 \r
22 <body py:match="item.tag=='{http://www.w3.org/1999/xhtml}body'" py:attrs="item.items()">\r
23     <div py:if="tg.config('identity.on') and not defined('logging_in')" id="pageLogin">\r
24         <span py:if="tg.identity.anonymous">\r
25             <a href="${tg.url(tg.identity.login_url)}">Login</a>\r
26         </span>\r
27         <span py:if="not tg.identity.anonymous">\r
28             Welcome ${tg.identity.user.display_name or tg.identity.user.user_name}.\r
29             <a href="${tg.url('/logout')}">Logout</a>\r
30         </span>\r
31     </div>\r
32 \r
33     <div id="header">&#160;</div>\r
34 \r
35     <div id="main_content">\r
36         <div id="status_block" class="flash"\r
37             py:if="value_of('tg_flash', None)" py:content="tg_flash"></div>\r
38         <div py:replace="[item.text]+item[:]">page content</div>\r
39     </div>\r
40 \r
41     <div id="footer">\r
42         <img src="${tg.url('/static/images/under_the_hood_blue.png')}"\r
43             alt="TurboGears under the hood" />\r
44         <p>TurboGears is a open source front-to-back web development framework\r
45             written in Python</p>\r
46         <p>Copyright &#169; 2007 Kevin Dangoor</p>\r
47     </div>\r
48 </body>\r
49 \r
50 </html>\r