summaryrefslogtreecommitdiffstats
path: root/funcweb/funcweb/templates/master.html
blob: 073adc120898d55d66ed228b4ef3529ac1862918 (plain)
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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
  xmlns:xi="http://www.w3.org/2001/XInclude"
  xmlns:py="http://genshi.edgewall.org/"
  py:strip="">
  <head py:match="head" py:attrs="select('@*')">
    <meta content="text/html; charset=UTF-8" http-equiv="content-type"
      py:replace="''" />
    <title py:content="'Your Title Goes Here'"></title>

    <script type="text/javascript" src="${tg.url('/static/javascript/jquery.js')}" />
    <link py:for="js in tg_js_head" py:strip="">${ET(js.display())}</link>
    <link py:for="css in tg_css" py:strip="">${ET(css.display())}</link>
    <script type="text/javascript" src="${tg.url('/static/javascript/ajax.js')}" />

    <link href="${tg.url('/static/images/favicon.ico')}"
      type="image/vnd.microsoft.icon" rel="shortcut icon" /> 
    <link href="${tg.url('/static/images/favicon.ico')}"
      type="image/x-icon" rel="shortcut icon"/> 

    <style type="text/css" media="screen">
      @import url("/static/css/style.css");
  </style>

  <script type="text/javascript">
    jQuery._$ = MochiKit.DOM.getElement;
    var myj = jQuery.noConflict();
  </script> 
  
  </head>
  <body py:match="body" py:attrs="select('@*')">
    <div py:for="js in tg_js_bodytop" py:replace="ET(js.display())" />
    <div class="wrapper">
      <div class="head">
        <h1><a href="http://fedorahosted.org/func">Func</a></h1>
        <div class="mainsearch">
          <form action="${tg.url('/search')}" method="get">
            <input type="text" name="search" />
          </form> 
        </div>
      </div>
      <div class="content">
        <!--
        <div py:if="tg.config('identity.on',False) and not 'logging_in' in locals()" id="pageLogin" class="usernav">
          <span py:if="tg.identity.anonymous">
            You are not logged in yet <a class="loginButton" href="${tg.url('/login/')}">login</a>
          </span>
          <span py:if="not tg.identity.anonymous">
            <a href="${tg.url('/users/info/')}">profile</a> |
            <a class="loginButton" href="${tg.url('/logout/')}">logout</a>
          </span>
        </div>
        -->
        <div py:replace="select('*|text()')" />
      </div>
    </div>
    <div id="bottom">
      <div id="footer">
        <img src="${tg.url('/static/images/under_the_hood_blue.png')}"/>
        <center>
          Powered by <a href="http://fedorahosted.org/func">func</a>.
        </center>
      </div>
    </div>
  </body>
</html>