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
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
14 font-family: verdana;
\r
18 <link rel="stylesheet" type="text/css" media="screen" href="${tg.url('static/css/style.css')}"/>
\r
21 <body py:match="item.tag=='{http://www.w3.org/1999/xhtml}body'" py:attrs="item.items()">
\r
22 <div py:if="tg.config('identity.on') and not defined('logging_in')" id="pageLogin">
\r
23 <span py:if="tg.identity.anonymous">
\r
24 <a href="${tg.url(tg.identity.login_url)}">Login</a>
\r
26 <span py:if="not tg.identity.anonymous">
\r
27 Welcome ${tg.identity.user.display_name or tg.identity.user.user_name}.
\r
28 <a href="${tg.url('/logout')}">Logout</a>
\r
32 <div id="header"> </div>
\r
34 <div id="main_content">
\r
35 <div id="status_block" class="flash"
\r
36 py:if="value_of('tg_flash', None)" py:content="tg_flash"></div>
\r
37 <div py:replace="[item.text]+item[:]">page content</div>
\r
41 <!--img src="${tg.url('/static/images/under_the_hood_blue.png')}"
\r
42 alt="TurboGears under the hood" /-->
\r
43 <p>MyOps is an open source monitoring and management framework for MyPLC </p>
\r
44 <p>Copyright © 2007-2009 Princeton</p>
\r