Parent: [d9b0e9] (diff)

Child: [714bfe] (diff)

Download this file

master.html    70 lines (67 with data), 3.5 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:py="http://genshi.edgewall.org/"
xmlns:xi="http://www.w3.org/2001/XInclude"
py:strip="True">
<?python
from ew import ResourceManager
resource_manager = ResourceManager.get()
resource_manager.register_widgets(c)
?>
<xi:include href="header.html" />
<xi:include href="sidebars.html" />
<xi:include href="footer.html" />
<xi:include href="lib.html" />
<xi:include href="neighborhood_project_lib.html" py:if="c.project and c.project.shortname=='__init__'"/>
<head py:match="head" py:attrs="select('@*')">
<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('*')"/>
<py:for each="blob in resource_manager.emit('head_css')">$blob</py:for>
<py:for each="blob in resource_manager.emit('head_js')">$blob</py:for>
<link rel="stylesheet" type="text/css" media="screen, projection" href="${g.forge_static('css/blueprint/screen.css')}" />
<link rel="stylesheet" type="text/css" media="print" href="${g.forge_static('css/blueprint/print.css')}" />
<link rel="stylesheet" type="text/css" href="${g.forge_static('css/forge/jquery-ui-1.8rc3.custom.css')}" />
<!--[if lt IE 8]>
<link rel="stylesheet" type="text/css" media="screen, projection" href="${g.forge_static('/css/blueprint/ie.css')}" />
<![endif]-->
<?python neighborhood = 'neighborhood' in locals() and neighborhood or None ?>
<link py:if="not c.project and not neighborhood" rel="stylesheet" type="text/css" media="screen" href="${tg.url('/nf/site_style.css')}" />
<link py:if="c.project" rel="stylesheet" type="text/css" media="screen" href="${c.project.neighborhood.url()+'site_style.css'}" />
<link py:if="neighborhood" rel="stylesheet" type="text/css" media="screen" href="${neighborhood.url()+'site_style.css'}" />
</head>
<body py:match="body" py:attrs="select('@*')">
<py:for each="blob in resource_manager.emit('body_top_js')">$blob</py:for>
<div class="nav"></div>
<div class="container">
${main_menu()}
<div id="bunker" class="hide">
<div class="span-12">Stuff</div>
<div class="span-12 last">Stuff</div>
</div>
${nav_menu()}
<div id="content_holder" class="span-24 last ui-corner-bottom">
${sidebar_menu()}
<div id="content" class="span-20 last">
<div style="padding: 1em">
<py:with vars="flash=tg.flash_obj.render('flash', use_js=False)">
<div py:if="flash" py:content="XML(flash)" />
</py:with>
<ul py:for="n in h.pop_user_notifications()" style="clear:both">
<b>$n.subject</b> $n.text
</ul>
<div py:replace="select('*|text()')"/>
</div>
</div>
</div>
<div class="clear"/>
${footer()}
</div>
<script type="text/javascript" src="${g.forge_static('js/jquery-1.4.2.min.js')}"/>
<script type="text/javascript" src="${g.forge_static('js/jquery-ui-1.8rc3.custom.min.js')}"></script>
<script type="text/javascript" src="${g.forge_static('js/jquery.cookie.js')}"></script>
<script type="text/javascript" src="${g.forge_static('js/pyforge-base.js')}"/>
<py:for each="blob in resource_manager.emit('body_js')">$blob</py:for>
</body>
</html>