|
| 1 | +{% extends "!layout.html" %} |
| 2 | +{%- macro secondnav() %} |
| 3 | + {%- if prev %} |
| 4 | + «<ahref="{{ prev.link|e }}"title="{{ prev.title|e }}">previous</a> |
| 5 | + {{ reldelim2 }} |
| 6 | + {%- endif %} |
| 7 | + {%- if parents %} |
| 8 | +<ahref="{{ parents.0.link|e }}"title="{{ parents.0.title|e }}"accesskey="U">up</a> |
| 9 | + {%- else %} |
| 10 | +<atitle="{{ docstitle }}"href="{{ pathto('index') }}"accesskey="U">up</a> |
| 11 | + {%- endif %} |
| 12 | + {%- if next %} |
| 13 | + {{ reldelim2 }} |
| 14 | +<ahref="{{ next.link|e }}"title="{{ next.title|e }}">next</a> » |
| 15 | + {%- endif %} |
| 16 | +{%- endmacro %} |
| 17 | + |
| 18 | +{% block extrahead %} |
| 19 | +<scripttype="text/javascript"> |
| 20 | + |
| 21 | +var_gaq=_gaq||[]; |
| 22 | +_gaq.push(['_setAccount','UA-19815738-1']); |
| 23 | +_gaq.push(['_trackPageview']); |
| 24 | + |
| 25 | +(function(){ |
| 26 | +varga=document.createElement('script');ga.type='text/javascript';ga.async=true; |
| 27 | +ga.src=('https:'==document.location.protocol ?'https://ssl' :'http://www')+'.google-analytics.com/ga.js'; |
| 28 | +vars=document.getElementsByTagName('script')[0];s.parentNode.insertBefore(ga,s); |
| 29 | +})(); |
| 30 | + |
| 31 | +</script> |
| 32 | +{% endblock %} |
| 33 | + |
| 34 | +{% block document %} |
| 35 | +<divid="custom-doc"class="{% block bodyclass %}{{ 'yui-t4' if pagename != 'index' else '' }}{% endblock %}"> |
| 36 | +<divid="hd"> |
| 37 | +<h1><ahref="{{ pathto('index') }}">{{ docstitle }}</a></h1> |
| 38 | +<divid="global-nav"> |
| 39 | +<atitle="Home page"href="{{ pathto('index') }}">Home</a> {{ reldelim2 }} |
| 40 | +<atitle="Table of contents"href="{{ pathto('contents') }}">Table of contents</a> | |
| 41 | +<atitle="What's new"href="{{ pathto('whats_new') }}">What's new</a> | |
| 42 | +<atitle="Getting started"href="{{ pathto('getting_started') }}">Getting started</a> | |
| 43 | +<atitle="Examples"href="{{ pathto('examples') }}">Examples</a> | |
| 44 | +<atitle="In depth"href="{{ pathto('in_depth') }}">In depth</a> | |
| 45 | +<atitle="Reference"href="{{ pathto('reference') }}">Reference</a> |
| 46 | +</div> |
| 47 | +<divclass="nav">{{ secondnav() }}</div> |
| 48 | +</div> |
| 49 | + |
| 50 | +<divid="bd"> |
| 51 | +<divid="yui-main"> |
| 52 | +<divclass="yui-b"> |
| 53 | +<divclass="yui-g"id="{{ pagename|replace('/', '-') }}"> |
| 54 | + {% block body %}{% endblock %} |
| 55 | +</div> |
| 56 | +</div> |
| 57 | +</div> |
| 58 | + {% block sidebarwrapper %} |
| 59 | + {% if pagename != 'index' %} |
| 60 | +<divclass="yui-b"id="sidebar"> |
| 61 | + {{ sidebar() }} |
| 62 | + {%- if last_updated %} |
| 63 | +<h3>Last update:</h3> |
| 64 | +<pclass="topless">{{ last_updated }}</p> |
| 65 | + {%- endif %} |
| 66 | +</div> |
| 67 | + {%- endif %} |
| 68 | + {% endblock %} |
| 69 | +</div> |
| 70 | + |
| 71 | +<divid="ft"> |
| 72 | +<divclass="nav">{{ secondnav() }}</div> |
| 73 | +</div> |
| 74 | +</div> |
| 75 | +{% endblock %} |
| 76 | + |
| 77 | +{% block sidebarrel %} |
| 78 | +<h3>Browse</h3> |
| 79 | +<ul> |
| 80 | + {% if prev %} |
| 81 | +<li>Prev:<ahref="{{ prev.link }}">{{ prev.title }}</a></li> |
| 82 | + {% endif %} |
| 83 | + {% if next %} |
| 84 | +<li>Next:<ahref="{{ next.link }}">{{ next.title }}</a></li> |
| 85 | + {% endif %} |
| 86 | +</ul> |
| 87 | +<h3>You are here:</h3> |
| 88 | +<ul> |
| 89 | +<li> |
| 90 | +<ahref="{{ pathto('index') }}">{{ docstitle }}</a> |
| 91 | + {% for p in parents %} |
| 92 | +<ul><li><ahref="{{ p.link }}">{{ p.title }}</a> |
| 93 | + {% endfor %} |
| 94 | +<ul><li>{{ title }}</li></ul> |
| 95 | + {% for p in parents %}</li></ul>{% endfor %} |
| 96 | +</li> |
| 97 | +</ul> |
| 98 | +{% endblock %} |
| 99 | + |
| 100 | +{# Empty some default blocks out #} |
| 101 | +{% block relbar1 %}{% endblock %} |
| 102 | +{% block relbar2 %}{% endblock %} |
| 103 | +{% block sidebar1 %}{% endblock %} |
| 104 | +{% block sidebar2 %}{% endblock %} |
| 105 | +{% block footer %} |
| 106 | +<divclass="footer"> |
| 107 | + documentation automatically generated by<ahref="http://sphinx.pocoo.org">Sphinx</a> | style mostly stolen from<ahref="http://lettuce.it">lettuce.it</a> |
| 108 | +</div> |
| 109 | +{% endblock %} |