PageRenderTime 1ms CodeModel.GetById 73ms app.highlight 2ms RepoModel.GetById 36ms app.codeStats 0ms

/docs/theme/layout.html

https://code.google.com/p/sqlalchemy-migrate/
HTML | 90 lines | 80 code | 10 blank | 0 comment | 0 complexity | 462f3b4afd0fa4fac6bf573ed169cd4f MD5 | raw file
 1<?xml version="1.0"?>
 2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 3
 4<?python
 5import pudge
 6
 7def initialize(t):
 8   g = t.generator
 9   if not hasattr(t, 'title'):
10       t.title = 'Untitled'
11   t.doc_title = g.index_document['title']
12   t.home_url = g.organization_url or g.blog_url or g.trac_url
13   t.home_title = g.organization
14?>
15
16<html xmlns="http://www.w3.org/1999/xhtml" 
17      xmlns:py="http://purl.org/kid/ns#"
18      py:def="layout">
19  
20  <head>
21    <title>${title}</title>
22    <link rel="stylesheet" type="text/css" href="layout.css"/>
23    <link py:if="generator.syndication_url" 
24          rel="alternate" 
25          type="application/rss+xml" 
26          title="RSS 2.0" href="${generator.syndication_url}"/>
27
28  </head>
29  <body>
30    <div id="page">
31      <h1 class="doc-title"><a href="${home_url}">${home_title}</a></h1>
32      <div id="navcontainer">
33        <ul id="navlist">
34          <li class="pagenav">
35            <ul>
36              <li class="page_item">
37                <a href="index.html"
38                   class="${'index.html'== destfile and 'selected' or ''}"
39                   title="Project Home / Index">${doc_title}</a>
40              </li>
41              <li class="page_item">
42                <a href="module-index.html" 
43                   class="${'module-index.html'== destfile and 'selected' or ''}"
44                   title="${doc_title.lower()} package and module reference">Modules</a>
45              </li>
46              <?python 
47              trac_url = generator.trac_url 
48              mailing_list_url = generator.mailing_list_url
49              ?>
50              <li py:if="trac_url">
51                <a href="${trac_url}"
52                   title="Wiki / Subversion / Roadmap / Bug Tracker"
53                   >Trac</a>
54              </li>
55              <li py:if="generator.blog_url">
56                <a href="${generator.blog_url}">Blog</a>
57              </li>
58              <li py:if="mailing_list_url">
59                <a href="${mailing_list_url}"
60                   class="${mailing_list_url == destfile and 'selected' or ''}"
61                   title="Mailing List">Discuss</a>
62              </li>
63            </ul>
64          </li>
65        </ul>
66      </div>
67      
68      <hr />
69      
70      <div id="content" py:content="content()"/>
71      
72      <div id="footer">
73        <?python license = generator.get_document('doc-license') ?>
74        
75        <p style="float: left;">
76          built with 
77          <a href="http://lesscode.org/projects/pudge/"
78             >pudge/${pudge.__version__}</a><br />
79             original design by 
80          <a href="http://blog.ratterobert.com/"
81             >ratter / robert</a><br />
82        </p>
83        <p style="float:right;">
84            evan.rosson (at) gmail.com
85        </p>
86      </div>
87    </div>
88  </body>
89
90</html>