Ticket #623: site.html

File site.html, 2.4 KB (added by networkfusion, 11 years ago)

site.html should be located in the projects directory: templates. No other files now need to exist.

Line 
1<html xmlns="http://www.w3.org/1999/xhtml"
2      xmlns:py="http://genshi.edgewall.org/"
3      py:strip="">
4
5  <!--! Add site-specific style sheet -->
6  <head py:match="head" py:attrs="select('@*')">
7    ${select('*|comment()|text()')}
8    <link rel="stylesheet" type="text/css"
9          href="${href.chrome('site/style3.css')}" />
10  </head>
11
12  <body py:match="body" py:attrs="select('@*')">
13    <!--! Add site-specific header -->
14    <div id="siteheader">
15      <!--! Place your header content here... -->
16    </div>
17
18
19<form py:match="div[@id='content' and @class='ticket']/form" py:attrs="select('@*')">
20  <py:if test="req.environ['PATH_INFO'] == '/newticket' and (not 'preview' in req.args)">
21<h3>This Page is for reporting NEW feature requests and bug reports only</h3>   
22<p>Please make sure to <a href="/report">search</a> for existing tickets before reporting a new one!</p>
23<p>For information on what should be included with the bug report or if you require help, please review <a href="/wiki/Contact%20/%20Support">Contact Support</a></p>
24  </py:if>
25  ${select('*')}
26</form>
27
28<div py:match="div[@id='content' and @class='wiki']" py:attrs="select('@*')">
29    <py:if test="req.environ['PATH_INFO'] == req.environ['PATH_INFO'] and (not 'action' in req.args)">
30<div id="leftmenu">
31      <a class="menu" href="/projects/wifidog/wiki/About">About</a><span class="hide"> | </span>
32      <a class="menu" href="/projects/wifidog/wiki/Features">Features</a><span class="hide"> | </span>
33      <a class="menu" href="/projects/wifidog/wiki/Screenshots">Screenshots</a><span class="hide"> | </span>
34      <a class="menu" href="/projects/wifidog/wiki/Download">Download</a><span class="hide"> | </span>
35      <a class="menu" href="/projects/wifidog/wiki/doc">Documentation</a><span class="hide"> | </span>
36      <a class="menu" href="/projects/wifidog/wiki/FAQ">FAQ</a><span class="hide"> | </span>
37      <a class="menu" href="/projects/wifidog/wiki/In%20the%20Press">In the Press</a><span class="hide"> | </span>
38      <a class="menu" href="/projects/wifidog/wiki/Community">Community</a><span class="hide"> | </span>
39      <a class="menu" href="/projects/wifidog/wiki/Contact%20/%20Support">Contact / Support</a><span class="hide"> | </span>
40    </div>
41  </py:if>
42    ${select('*')}
43</div>
44
45<div id="container"> 
46
47    ${select('*|text()')}
48    </div>
49    <!--! Add site-specific footer -->
50    <div id="sitefooter">
51      <!--! Place your footer content here... -->
52    </div>
53  </body>
54</html>
55