Source

trac-ticketlinks / trac / templates / layout.html

Full commit
cmlenz 0738bff 







cmlenz 38e893f 
cmlenz 0738bff 
rblank 020d68b 
cmlenz 0738bff 
cboos d7d3d89 
rblank 475bfac 
rblank 35ab0a9 
cmlenz 0738bff 




cboos e221c6f 
cboos d676e5f 
cboos d758c82 

cmlenz 0738bff 
rblank ae56373 




rblank c55f58e 
cboos d676e5f 
osimons 8898998 
mgood a8988fa 
osimons 055ff6d 
cmlenz 38e893f 
cmlenz 0738bff 
cmlenz e84d5fe 
osimons 055ff6d 
cmlenz 0738bff 
cmlenz 33a9cdf 

cboos 59e857b 
cmlenz 33a9cdf 

rblank c55f58e 





cmlenz 33a9cdf 












nkantrowitz 28ef2db 
cmlenz 0738bff 
<!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="">

  <py:match path="head" once="true"><head>
    <title py:with="title = list(select('title/text()'))">
      <py:if test="title">${title}</py:if>${project.name or 'Trac'}
    </title>
    <meta py:if="chrome.content_type == 'text/html'" http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta py:for="meta in chrome.metas" py:attrs="meta"/>
    <!--[if IE]><script type="text/javascript">window.location.hash = window.location.hash;</script><![endif]-->
    <py:if test="chrome.links">
      <py:for each="rel, links in chrome.links.items()">
        <link rel="${rel}" py:for="link in links" py:attrs="link" />
      </py:for>
    </py:if>
    <py:if test="not defined('trac_error_rendering') and 'SEARCH_VIEW' in perm" id="search">
      <link type="application/opensearchdescription+xml" rel="search"
            href="${href.search('opensearch')}" 
            title="${_('Search %(project)s', project=project.name)}"/>
    </py:if>
    <script py:if="chrome.script_data" type="text/javascript">
      <py:for each="key, value in chrome.script_data.iteritems()">
      var ${key}=${to_json(value)};
      </py:for>
    </script>
    <script py:for="script in chrome.scripts" type="${script.type}" src="${script.href}"></script>
    ${Markup('&lt;!--[if lt IE 7]&gt;')}
    <script type="text/javascript" src="${chrome.htdocs_location}js/ie_pre7_hacks.js"></script>
    ${Markup('&lt;![endif]--&gt;')}
    ${select("*[local-name() != 'title']|text()|comment()")}
  </head></py:match>

  <py:match path="body" once="true" buffer="false"><body>
    ${select('*|text()|comment()')}

    <script type="text/javascript" py:if="chrome.late_links">
      <py:for each="link in chrome.late_links.get('stylesheet')">
        jQuery.loadStyleSheet("${link.href}", "${link.type}");
      </py:for>
    </script>
    <script py:if="chrome.late_script_data" type="text/javascript">
      <py:for each="key, value in chrome.late_script_data.iteritems()">
      var ${key}=${to_json(value)};
      </py:for>
    </script>
    <script py:for="script in chrome.late_scripts" type="${script.type}" src="${script.href}"></script>

    <div id="altlinks" py:if="'alternate' in chrome.links">
      <h3>Download in other formats:</h3>
      <ul>
        <li py:for="idx, link in enumerate(chrome.links.alternate)"
            class="${first_last(idx, chrome.links.alternate)}">
          <a rel="nofollow" href="${link.href}" class="${link['class']}"
             py:content="link.title" />
        </li>
      </ul>
    </div>
  </body></py:match>

  <xi:include href="$chrome.theme"><xi:fallback /></xi:include>
  <xi:include href="site.html"><xi:fallback /></xi:include>
</html>