~ubuntu-packaging-guide-team/ubuntu-packaging-guide/trunk

« back to all changes in this revision

Viewing changes to themes/ubuntu/layout.html

  • Committer: Daniel Holbach
  • Date: 2012-02-24 10:30:02 UTC
  • mfrom: (70.2.2 ubuntu-packaging-guide)
  • Revision ID: daniel.holbach@canonical.com-20120224103002-btsb747kpybgu3qo
mergedĀ lp:~fougner/ubuntu-packaging-guide/fix-bug-859656

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
        
21
21
 
22
22
{%- macro relbar() %}
23
 
  <aside id="page-related">
24
 
    <div class="container" id="sub-nav-container" > 
25
 
       <nav id="sub-nav"> 
 
23
<div class="header-content">
 
24
    <div class="clearfix">
 
25
      <!--<img class="arrow-nav" src="http://developer.ubuntu.com/wp-content/themes/wordpress-theme-ubuntudeveloper/img/arrow-nav.png" width="9" height="5" alt="" />-->
 
26
  <div class="header-navigation-secondary">
 
27
    <div>
 
28
          <nav role="navigation">
 
29
            <ul class="clearfix">
26
30
        {%- for rellink in rellinks %}
27
 
                <a class="sub-nav-item" {% if loop.first %}style="margin-right: 10px"{% endif %} 
 
31
                <li class="page_item"><a {% if loop.first %}style="margin-right: 10px"{% endif %} 
28
32
                href="{{ pathto(rellink[0]) }}" title="{{ rellink[1]|striptags|e }}"
29
 
                {{ accesskey(rellink[2]) }}>{{ rellink[3] }}</a>
 
33
                {{ accesskey(rellink[2]) }}>{{ rellink[3] }}</a></li>
30
34
        {%- endfor %}
31
35
        {%- block rootrellink %}
32
 
        <a class="sub-nav-item" href="{{ pathto(master_doc) }}">{{ shorttitle|e }} {{ reldelim1 }}</a>
 
36
        <li class="page_item"><a class="sub-nav-item" href="{{ pathto(master_doc) }}">{{ shorttitle|e }} {{ reldelim1 }}</a></li>
33
37
        {%- endblock %}
34
38
        {%- for parent in parents %}
35
 
          <a class="sub-nav-item" href="{{ parent.link|e }}" {% if loop.last %}{{ accesskey("U") }}{% endif %}>{{ parent.title }} {{ reldelim1 }}</a>
 
39
          <li class="page_item"><a class="sub-nav-item" href="{{ parent.link|e }}" {% if loop.last %}{{ accesskey("U") }}{% endif %}>{{ parent.title }} {{ reldelim1 }}</a></li>
36
40
        {%- endfor %}
37
41
        {%- block relbaritems %} {% endblock %}
38
 
      </nav>
39
 
    </div>
40
 
</aside> 
 
42
      </ul>
 
43
    </nav>
 
44
  </div>
 
45
</div>
 
46
</div>
 
47
</div>
41
48
{%- endmacro %}
42
49
 
43
50
{%- macro sidebar() %}
44
51
      {%- if render_sidebar %}
45
 
      <div class="sphinxsidebar">
46
 
        <div class="sphinxsidebarwrapper">
 
52
      <div class="grid-3 omega">
 
53
        <div class="container-tweet">
47
54
          {%- block sidebarlogo %}
48
55
          {%- if logo %}
49
56
            <p class="logo"><a href="{{ pathto(master_doc) }}">
91
98
    {%- block htmltitle %}
92
99
    <title>{{ title|striptags|e }}{{ titlesuffix }}</title>
93
100
    {%- endblock %}
94
 
    <link rel="stylesheet" href="{{ pathto('_static/' + style, 1) }}" type="text/css" />
95
 
    <link rel="stylesheet" href="{{ pathto('_static/pygments.css', 1) }}" type="text/css" />
 
101
    <!--<link rel="stylesheet" href="{{ pathto('_static/' + style, 1) }}" type="text/css" />-->
 
102
    <link rel="stylesheet" href="{{ pathto('_static/reset.css', 1) }}" type="text/css" />
 
103
    <link rel="stylesheet" href="{{ pathto('_static/960.css', 1) }}" type="text/css" />
 
104
    <link rel="stylesheet" href="{{ pathto('_static/base.css', 1) }}" type="text/css" />
 
105
    <link rel="stylesheet" href="{{ pathto('_static/home.css', 1) }}" type="text/css" />
 
106
    <!--<link rel="stylesheet" href="{{ pathto('_static/pygments.css', 1) }}" type="text/css" />-->
96
107
    {%- for cssfile in css_files %}
97
108
    <link rel="stylesheet" href="{{ pathto(cssfile, 1) }}" type="text/css" />
98
109
    {%- endfor %}
144
155
{%- endblock %}
145
156
{%- block extrahead %} {% endblock %}
146
157
  </head>
147
 
  <body id="home">
 
158
  <body class="home">
148
159
 
149
160
<!--
150
161
<aside id="top-nav"> 
163
174
</aside>
164
175
-->
165
176
 
 
177
<div class="header-login">
 
178
    <ul>
 
179
      <li><a href="https://myapps.developer.ubuntu.com/openid/login/?next=/dev">Sign in or register</a></li>
 
180
    </ul>
 
181
</div>
 
182
 
 
183
<div class="header-navigation">
 
184
    <div>
 
185
      <nav role="navigation">
 
186
        <ul>
 
187
          <li class="page_item current_page_item"><a title="Index" href="index.html">Index</a> 
 
188
          <li>
 
189
            <form id="form-search" method="get" action="/">
 
190
              <fieldset>
 
191
                <input id="input-search" type="text" name="s" value="Search" />
 
192
              </fieldset>
 
193
            </form>
 
194
          </li>
 
195
        </ul>
 
196
      </nav>
 
197
      <a class="logo-ubuntu" href="/"><img src="http://developer.ubuntu.com/wp-content/themes/wordpress-theme-ubuntudeveloper/img/logo-ubuntu.png" width="119" height="27" alt="Ubuntu logo" /></a>
 
198
      <h2><a href="/">App Developer</a></h2>
 
199
    </div>
 
200
  </div>
 
201
 
 
202
{%- block relbar1 %}{{ relbar() }}{% endblock %}
 
203
 
 
204
<!--
166
205
<header id="page-header"> 
167
206
  <div class="container" > 
168
207
    <nav id="main-nav"> 
170
209
    </nav> 
171
210
  </div> 
172
211
</header>
 
212
-->
173
213
 
174
214
{%- block header %}{% endblock %}
175
215
 
176
 
{%- block relbar1 %}{{ relbar() }}{% endblock %}
177
 
 
178
216
{%- block content %}
179
 
  {%- block sidebar1 %} {# possible location for sidebar #} {% endblock %}
180
 
 
181
 
     <section id="main-section">
 
217
  
 
218
<div id="content" class="container-12">
 
219
  <div class="grid-12">
 
220
 
 
221
{%- block sidebar1 %} {# possible location for sidebar #} {% endblock %}
 
222
 
 
223
     <!--<section id="main-section">-->
182
224
  {%- block document %}
183
 
      <div class="container" > 
184
225
      {%- if render_sidebar %}
185
 
        <section id="content"> 
186
226
      {%- endif %}
187
 
          <div class="body">
188
 
                {%- block sidebar2 %}{{ sidebar() }}{% endblock %}              
 
227
 
 
228
    <div class="grid-9 alpha">
 
229
                
189
230
    {% block body %} {% endblock %}
190
231
        <div class="divide"></div>
191
232
 
192
233
          </div>
 
234
 
 
235
      {%- block sidebar2 %}{{ sidebar() }}{% endblock %}            
193
236
      {%- if render_sidebar %}
194
 
        </section>
195
237
      {%- endif %}
196
 
      </div>
197
238
  {%- endblock %}
198
 
    </section>
 
239
    <!--</section>-->
 
240
  </div>
 
241
</div>
199
242
{%- endblock %}
200
243
 
201
244
{%- block footer %}
202
 
   <footer id="page-footer"> 
203
 
   <div class="container">
204
 
        <div class="copyright"> 
 
245
<div class="shadow"></div>
 
246
<footer>
 
247
  <div>
 
248
    <nav role="navigation" class="clearfix">
 
249
      <ul>
 
250
        <li><a href="/get-started">Get started</a></li>
 
251
        <li class="page_item page-item-16"><a href="http://developer.ubuntu.com/get-started/quickly-workflow/" title="Quickly workflow">Quickly workflow</a></li>
 
252
<li class="page_item page-item-18"><a href="http://developer.ubuntu.com/get-started/qt-creator/" title="Qt Creator">Qt Creator</a></li>
 
253
<li class="page_item page-item-20"><a href="http://developer.ubuntu.com/get-started/eclipse/" title="Eclipse">Eclipse</a></li>
 
254
<li class="page_item page-item-22"><a href="http://developer.ubuntu.com/get-started/monodevelop/" title="MonoDevelop">MonoDevelop</a></li>
 
255
      </ul>
 
256
      <ul>
 
257
        <li><a href="/resources">Resources</a></li>
 
258
        <li><a href="/resources/tools/quickly">Quickly</a></li>
 
259
        <li><a href="/resources/platform/api">API</a></li>
 
260
        <li><a href="/resources/platform/documentation/platform-diagram">Platform overview</a></li>
 
261
      </ul>
 
262
      <ul>
 
263
        <li><a href="/publish">Publish</a></li>
 
264
        <li class="page_item page-item-24"><a href="http://developer.ubuntu.com/publish/commercial-software-faqs/" title="Commercial software FAQs">Commercial software FAQs</a></li>
 
265
<li class="page_item page-item-34"><a href="http://developer.ubuntu.com/publish/application-states/" title="Application states">Application states</a></li>
 
266
<li class="page_item page-item-577"><a href="http://developer.ubuntu.com/publish/my-apps-packages/" title="My Apps packages">My Apps packages</a></li>
 
267
<li class="page_item page-item-404"><a href="http://developer.ubuntu.com/publish/ubuntu-software-centre/" title="Ubuntu Software Centre">Ubuntu Software Centre</a></li>
 
268
<li class="page_item page-item-427"><a href="http://developer.ubuntu.com/publish/licence-key-infrastructure/" title="Licence key infrastructure">Licence key infrastructure</a></li>
 
269
      </ul>
 
270
      <ul>
 
271
        <li><a href="/community">Community</a></li>
 
272
        <li class="page_item page-item-28"><a href="http://developer.ubuntu.com/community/app-developer-blog/" title="App Developer Blog">App Developer Blog</a></li>
 
273
<li class="page_item page-item-30"><a href="http://developer.ubuntu.com/community/submit-a-tutorial/" title="Submit a tutorial">Submit a tutorial</a></li>
 
274
<li class="page_item page-item-32"><a href="http://developer.ubuntu.com/community/app-review-board-charter/" title="App Review Board charter">App Review Board charter</a></li>
 
275
      </ul>
 
276
      <ul class="last">
 
277
        <li><a href="https://myapps.developer.ubuntu.com/dev">My Apps</a></li>
 
278
        <li><a href="https://myapps.developer.ubuntu.com/openid/login/?next=/dev">Sign in or register</a></li>
 
279
        <li><a href="https://myapps.developer.ubuntu.com/dev/account">My account</a></li>
 
280
      </ul>
 
281
    </nav>
205
282
    {%- if show_copyright %}
206
283
      {%- if hasdoc('copyright') %}
207
284
        {% trans path=pathto('copyright'), copyright=copyright|e %}&copy; <a href="{{ path }}">Copyright</a> {{ copyright }}.{% endtrans %}
217
294
    {%- if show_sphinx %}
218
295
      {% trans sphinx_version=sphinx_version|e %}Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> {{ sphinx_version }}.{% endtrans %}
219
296
    {%- endif %}
220
 
        </div> 
221
 
    </div>
222
 
    </footer>
 
297
 
 
298
    <!--<p>&copy; 2012 Canonical Ltd. Ubuntu and Canonical are registered trademarks of Canonical Ltd. <a class="link-bug" href="https://bugs.launchpad.net/ubuntudeveloperportal/+filebug">Report a bug on this site</a></p>-->
 
299
  </div>
 
300
</footer>
223
301
{%- endblock %}
224
302
  </body>
225
303
</html>