~ubuntu-branches/debian/sid/sqlalchemy/sid

« back to all changes in this revision

Viewing changes to doc/build/templates/layout.mako

  • Committer: Package Import Robot
  • Author(s): Piotr Ożarowski
  • Date: 2014-06-27 20:17:13 UTC
  • mfrom: (1.4.28)
  • Revision ID: package-import@ubuntu.com-20140627201713-g6p1kq8q1qenztrv
Tags: 0.9.6-1
* New upstream release
* Remove Python 3.X build tag files, thanks to Matthias Urlichs for the
  patch (closes: #747852)
* python-fdb isn't in the Debian archive yet so default dialect for firebird://
  URLs is changed to obsolete kinterbasdb, thanks to Russell Stuart for the
  patch (closes: #752145)

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
    main site.
17
17
 
18
18
    docs-container ->
19
 
        docs-header ->
20
 
            docs-search
21
 
            docs-version-header
22
 
        docs-top-navigation
23
 
            docs-top-page-control
24
 
            docs-navigation-banner
 
19
        docs-top-navigation-container ->
 
20
            docs-header ->
 
21
                docs-version-header
 
22
            docs-top-navigation
 
23
                docs-top-page-control
 
24
                docs-navigation-banner
25
25
        docs-body-container ->
26
26
            docs-sidebar
27
27
            docs-body
42
42
    ${docstitle|h}
43
43
</%block>
44
44
 
 
45
 
45
46
<div id="docs-container">
46
47
 
47
48
 
66
67
    % endfor
67
68
    <!-- end iterate through sphinx environment script_files -->
68
69
 
 
70
    <script type="text/javascript" src="${pathto('_static/detectmobile.js', 1)}"></script>
69
71
    <script type="text/javascript" src="${pathto('_static/init.js', 1)}"></script>
70
72
    % if hasdoc('about'):
71
73
        <link rel="author" title="${_('About these documents')}" href="${pathto('about')}" />
89
91
 
90
92
</%block>
91
93
 
 
94
 
 
95
<div id="docs-top-navigation-container" class="body-background">
92
96
<div id="docs-header">
93
 
    <h1>${docstitle|h}</h1>
94
 
 
95
 
    <div id="docs-search">
96
 
    Search:
97
 
    <form class="search" action="${pathto('search')}" method="get">
98
 
      <input type="text" name="q" size="18" /> <input type="submit" value="${_('Search')}" />
99
 
      <input type="hidden" name="check_keywords" value="yes" />
100
 
      <input type="hidden" name="area" value="default" />
101
 
    </form>
102
 
    </div>
103
 
 
104
97
    <div id="docs-version-header">
105
98
        Release: <span class="version-num">${release}</span> | Release Date: ${release_date}
106
 
 
107
 
        % if pdf_url:
108
 
        | <a href="${pdf_url}">Download PDF</a>
109
 
        % endif
110
 
 
111
99
    </div>
112
100
 
113
 
</div>
114
 
 
115
 
<div id="docs-top-navigation">
116
 
    <div id="docs-top-page-control" class="docs-navigation-links">
117
 
        <ul>
118
 
        % if prevtopic:
119
 
            <li>Prev:
120
 
            <a href="${prevtopic['link']|h}" title="${_('previous chapter')}">${prevtopic['title']}</a>
121
 
            </li>
122
 
        % endif
123
 
        % if nexttopic:
124
 
            <li>Next:
125
 
            <a href="${nexttopic['link']|h}" title="${_('next chapter')}">${nexttopic['title']}</a>
126
 
            </li>
127
 
        % endif
128
 
 
129
 
        <li>
130
 
            <a href="${pathto('contents')}">Table of Contents</a> |
 
101
    <h1>${docstitle|h}</h1>
 
102
 
 
103
</div>
 
104
</div>
 
105
 
 
106
<div id="docs-body-container">
 
107
 
 
108
    <div id="fixed-sidebar" class="${'withsidebar' if withsidebar else ''}">
 
109
 
 
110
    % if not withsidebar:
 
111
        <div id="index-nav">
 
112
            <form class="search" action="${pathto('search')}" method="get">
 
113
              <input type="text" name="q" size="12" /> <input type="submit" value="${_('Search')}" />
 
114
              <input type="hidden" name="check_keywords" value="yes" />
 
115
              <input type="hidden" name="area" value="default" />
 
116
            </form>
 
117
 
 
118
            <p>
 
119
            <a href="${pathto('index')}">Contents</a> |
131
120
            <a href="${pathto('genindex')}">Index</a>
132
 
            % if sourcename:
133
 
            | <a href="${pathto('_sources/' + sourcename, True)|h}">${_('view source')}
 
121
            % if pdf_url:
 
122
            | <a href="${pdf_url}">Download as PDF</a>
134
123
            % endif
135
 
        </li>
 
124
            </p>
 
125
 
 
126
        </div>
 
127
    % endif
 
128
 
 
129
    % if withsidebar:
 
130
        <div id="docs-sidebar-popout">
 
131
            <h3><a href="${pathto('index')}">${docstitle|h}</a></h3>
 
132
 
 
133
            <p id="sidebar-paginate">
 
134
                % if parents:
 
135
                    <a href="${parents[-1]['link']|h}" title="${parents[-1]['title']}">Up</a> |
 
136
                % else:
 
137
                    <a href="${pathto('index')}" title="${docstitle|h}">Up</a> |
 
138
                % endif
 
139
 
 
140
                % if prevtopic:
 
141
                    <a href="${prevtopic['link']|h}" title="${prevtopic['title']}">Prev</a> |
 
142
                % endif
 
143
                % if nexttopic:
 
144
                    <a href="${nexttopic['link']|h}" title="${nexttopic['title']}">Next</a>
 
145
                % endif
 
146
            </p>
 
147
 
 
148
            <p id="sidebar-topnav">
 
149
                <a href="${pathto('index')}">Contents</a> |
 
150
                <a href="${pathto('genindex')}">Index</a>
 
151
                % if pdf_url:
 
152
                | <a href="${pdf_url}">PDF</a>
 
153
                % endif
 
154
            </p>
 
155
 
 
156
            <div id="sidebar-search">
 
157
                <form class="search" action="${pathto('search')}" method="get">
 
158
                  <input type="text" name="q" size="12" /> <input type="submit" value="${_('Search')}" />
 
159
                  <input type="hidden" name="check_keywords" value="yes" />
 
160
                  <input type="hidden" name="area" value="default" />
 
161
                </form>
 
162
            </div>
 
163
 
 
164
        </div>
 
165
 
 
166
        <div id="docs-sidebar">
 
167
 
 
168
        <h3><a href="#">\
 
169
            <%block name="show_title">
 
170
                ${title}
 
171
            </%block>
 
172
        </a></h3>
 
173
        ${toc}
 
174
 
 
175
        % if rtd:
 
176
        <h4>Project Versions</h4>
 
177
        <ul class="version-listing">
136
178
        </ul>
 
179
        % endif
 
180
 
 
181
 
 
182
        </div>
 
183
    % endif
 
184
 
137
185
    </div>
138
186
 
139
 
    <div id="docs-navigation-banner">
 
187
    <%doc>
 
188
    <div id="docs-top-navigation">
140
189
        <a href="${pathto('index')}">${docstitle|h}</a>
141
190
        % if parents:
142
191
            % for parent in parents:
152
201
                ${title}
153
202
            </%block>
154
203
        </h2>
155
 
    </div>
156
 
 
157
 
</div>
158
 
 
159
 
<div id="docs-body-container">
160
 
 
161
 
% if withsidebar:
162
 
    <div id="docs-sidebar">
163
 
    <h3><a href="${pathto('index')}">Table of Contents</a></h3>
164
 
    ${toc}
165
 
 
166
 
    % if prevtopic:
167
 
    <h4>Previous Topic</h4>
168
 
    <p>
169
 
    <a href="${prevtopic['link']|h}" title="${_('previous chapter')}">${prevtopic['title']}</a>
170
 
    </p>
171
 
    % endif
172
 
    % if nexttopic:
173
 
    <h4>Next Topic</h4>
174
 
    <p>
175
 
    <a href="${nexttopic['link']|h}" title="${_('next chapter')}">${nexttopic['title']}</a>
176
 
    </p>
177
 
    % endif
178
 
 
179
 
    % if rtd:
180
 
    <h4>Project Versions</h4>
181
 
    <ul class="version-listing">
182
 
    </ul>
183
 
    % endif
184
 
 
185
 
    <h4>Quick Search</h4>
186
 
    <p>
187
 
    <form class="search" action="${pathto('search')}" method="get">
188
 
      <input type="text" name="q" size="18" /> <input type="submit" value="${_('Search')}" />
189
 
      <input type="hidden" name="check_keywords" value="yes" />
190
 
      <input type="hidden" name="area" value="default" />
191
 
    </form>
192
 
    </p>
193
 
 
194
 
    </div>
195
 
% endif
 
204
 
 
205
    </div>
 
206
    </%doc>
196
207
 
197
208
    <div id="docs-body" class="${'withsidebar' if withsidebar else ''}" >
198
209
        ${next.body()}