Custom sidebar

[ci skip]
This commit is contained in:
Mike Helmick 2013-06-08 16:02:41 -04:00
parent dd61841481
commit 4debef7d84
5 changed files with 22 additions and 30 deletions

View file

@ -0,0 +1,18 @@
<h4>{{ _('Donate') }}</h4>
<p>
Find Twython useful? Consider supporting the author on <a href="https://www.gittip.com/ryanmcgrath/">Gittip</a>:
</p>
<p>
<iframe style="border: 0; margin: 0; padding: 0;"
src="https://www.gittip.com/ryanmcgrath/widget.html"
width="48pt" height="20pt"></iframe>
</p>
<h4>{{ _('Links') }}</h4>
<ul>
<li><a href="https://crate.io/packages/twython/">Twython on Crate</a></li>
<li><a href="https://github.com/ryanmcgrath/twython">Twython on GitHub</a></li>
<li><a href="https://github.com/ryanmcgrath/twython/issues">Bug Tracker</a></li>
</ul>

View file

@ -81,12 +81,7 @@
{%- block sidebarrel %}
{%- include "relations.html" %}
{%- endblock %}
{%- block sidebarsourcelink %}
{%- include "sourcelink.html" %}
{%- endblock %}
{%- if customsidebar %}
{%- include customsidebar %}
{%- endif %}
{%- include "customsidebar.html" %}
{%- block sidebarsearch %}
{%- include "searchbox.html" %}
{%- endblock %}
@ -225,26 +220,7 @@
<a class="brand" href="{{ pathto(master_doc) }}">{{ shorttitle|e }}</a>
<div class="nav-collapse collapse">
<ul class="nav pull-right">
{% if not (theme_nosidebar|tobool) %}
{%- for rellink in rellinks %}
<li>
<a href="{{ pathto(rellink[0]) }}" title="{{ rellink[1]|striptags|e }}" {{ accesskey(rellink[2]) }}>{{ rellink[3] }}</a>
</li>
{%- endfor %}
{%- for parent in parents %}
<li>
<a href="{{ parent.link|e }}" {% if loop.last %}{{ accesskey("U") }}{% endif %}>{{ parent.title }}</a>
</li>
{%- endfor %}
{% else %}
{%- if prev %}
<li><a href="{{ prev.link|e }}"><i class="icon icon-double-angle-left"></i>&nbsp;{{ prev.title }}</a></li>
{%- endif %}
<li><a class="uplink" href="{{ pathto(master_doc) }}">{{ _('Contents') }}</a></li>
{%- if next %}
<li><a href="{{ next.link|e }}">{{ next.title }}&nbsp;<i class="icon icon-double-angle-right"></i></a></li>
{%- endif %}
{%- endif %}
</ul>
</div>
</div>

View file

@ -9,7 +9,7 @@
#}
{%- if pagename != "search" %}
<div id="searchbox">
<h3>{{ _('Quick search') }}</h3>
<h4>{{ _('Quick search') }}</h4>
<form class="search form-search" action="{{ pathto('search') }}" method="get">
<div class="input-append">
<input type="text" class="search-query" name="q">

View file

@ -21,8 +21,6 @@ Core Interface
.. _streaming_interface:
.. module:: twython.streaming
Streaming Interface
-------------------

View file

@ -17,7 +17,7 @@ Features
- Timelines
- Direct Messages
- and anything found in `the Twitter API docs <https://dev.twitter.com/docs/api/1.1>`_.
- Image Uploading!
- Image Uploading:
- Update user status with an image
- Change user avatar
- Change user background image