summaryrefslogtreecommitdiffstats
path: root/israwhidebroken/templates/master.html
diff options
context:
space:
mode:
authorWill Woods <wwoods@redhat.com>2009-09-11 15:27:53 -0400
committerWill Woods <wwoods@redhat.com>2009-09-11 15:27:53 -0400
commit0da8dac7fc76daaf6005e6d82d41883ee1a12c51 (patch)
treec0ca7f420aa9210183603259c54740a1c96defc6 /israwhidebroken/templates/master.html
parentff56c13d124a947a2a5c8ca9f6df411e63a8ed44 (diff)
downloadisrawhidebroken-0da8dac7fc76daaf6005e6d82d41883ee1a12c51.tar.gz
israwhidebroken-0da8dac7fc76daaf6005e6d82d41883ee1a12c51.tar.xz
israwhidebroken-0da8dac7fc76daaf6005e6d82d41883ee1a12c51.zip
Improve website layout
Diffstat (limited to 'israwhidebroken/templates/master.html')
-rw-r--r--israwhidebroken/templates/master.html33
1 files changed, 22 insertions, 11 deletions
diff --git a/israwhidebroken/templates/master.html b/israwhidebroken/templates/master.html
index da38a2d..b4b16c6 100644
--- a/israwhidebroken/templates/master.html
+++ b/israwhidebroken/templates/master.html
@@ -12,21 +12,32 @@
<meta content="text/html; charset=UTF-8" http-equiv="content-type" py:replace="''"/>
<title py:replace="''">Your title goes here</title>
<meta py:replace="select('*')"/>
- <link rel="stylesheet" type="text/css" media="screen" href="${tg.url('/static/css/style.css')}" />
+ <link rel="stylesheet" type="text/css" media="screen" href="${tg.url('/static/css/layout.css')}" />
</head>
<body py:match="body" py:attrs="select('@*')">
- <div id="pageLogin">
- <li py:if="tg.identity.anonymous" id="login" class="loginlogout"><a href="${tg.url(tg.identity.login_url)}">Login</a></li>
- <li py:if="not tg.identity.anonymous" id="login" class="loginlogout"><a href="${tg.url('/logout')}">Logout</a></li>
- </div>
+ <!-- header -->
${header()}
- <div id="main_content">
- <div id="status_block" class="flash"
- py:if="value_of('tg_flash', None)" py:content="tg_flash"></div>
- <div py:replace="select('*|text()')"/>
- <!-- End of content -->
+ <!-- content -->
+ <div id="fedora-middle-one">
+ <div class="fedora-corner-tr"/><div class="fedora-corner-tl"/>
+ <div id="fedora-content">
+ <div id="page-main">
+ <div id="status_block" class="flash"
+ py:if="value_of('tg_flash', None)" py:content="tg_flash"></div>
+ <div py:replace="select('*|text()')"/> <!--!CONTENT GOES HERE -->
+ </div>
+
+ <div py:if="not defined('logging_in')" id="loginlogout">
+ <py:if test="tg.identity.anonymous"><a href="${tg.url(tg.identity.login_url)}">login</a></py:if>
+ <py:if test="not tg.identity.anonymous"><a href="${tg.url('/logout')}">logout ${tg.identity.user_name}</a></py:if>
+ </div>
+
+ </div>
+ <div class="fedora-corner-br"/><div class="fedora-corner-bl"/>
+ <!--!${tg_footer()}-->
</div>
- ${footer()}
+ <!-- footer -->
+ ${fedora_footer()}
</body>
</html>