22
22
{%- macro relbar() %}
23
<aside id="page-related">
24
<div class="container" id="sub-nav-container" >
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">
28
<nav role="navigation">
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>
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>
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>
37
41
{%- block relbaritems %} {% endblock %}
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 %}
49
56
<p class="logo"><a href="{{ pathto(master_doc) }}">
91
98
{%- block htmltitle %}
92
99
<title>{{ title|striptags|e }}{{ titlesuffix }}</title>
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" />
177
<div class="header-login">
179
<li><a href="https://myapps.developer.ubuntu.com/openid/login/?next=/dev">Sign in or register</a></li>
183
<div class="header-navigation">
185
<nav role="navigation">
187
<li class="page_item current_page_item"><a title="Index" href="index.html">Index</a>
189
<form id="form-search" method="get" action="/">
191
<input id="input-search" type="text" name="s" value="Search" />
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>
202
{%- block relbar1 %}{{ relbar() }}{% endblock %}
166
205
<header id="page-header">
167
206
<div class="container" >
168
207
<nav id="main-nav">
174
214
{%- block header %}{% endblock %}
176
{%- block relbar1 %}{{ relbar() }}{% endblock %}
178
216
{%- block content %}
179
{%- block sidebar1 %} {# possible location for sidebar #} {% endblock %}
181
<section id="main-section">
218
<div id="content" class="container-12">
219
<div class="grid-12">
221
{%- block sidebar1 %} {# possible location for sidebar #} {% endblock %}
223
<!--<section id="main-section">-->
182
224
{%- block document %}
183
<div class="container" >
184
225
{%- if render_sidebar %}
185
<section id="content">
188
{%- block sidebar2 %}{{ sidebar() }}{% endblock %}
228
<div class="grid-9 alpha">
189
230
{% block body %} {% endblock %}
190
231
<div class="divide"></div>
235
{%- block sidebar2 %}{{ sidebar() }}{% endblock %}
193
236
{%- if render_sidebar %}
201
244
{%- block footer %}
202
<footer id="page-footer">
203
<div class="container">
204
<div class="copyright">
245
<div class="shadow"></div>
248
<nav role="navigation" class="clearfix">
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>
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>
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>
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>
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>
205
282
{%- if show_copyright %}
206
283
{%- if hasdoc('copyright') %}
207
284
{% trans path=pathto('copyright'), copyright=copyright|e %}© <a href="{{ path }}">Copyright</a> {{ copyright }}.{% endtrans %}