Files
Phoenix/docs/sphinx/_templates/searchbox.html
Robin Dunn 23edbb8eb1 Move a few things around on the page layout.
* Move the search box to the sidebar
 * Move the next/prev/etc. in the topbar to the first row, and remove the 2nd row in the topbar
 * Adjust the margins of the sidebar and doc body up to the new size of the topbar
 * Remove the Next/Prev items from the sidebar
 * Move the "show page source" to the bottom of the sidebar and reduce the font
2016-06-11 00:39:36 -07:00

22 lines
742 B
HTML

{#
basic/searchbox.html
~~~~~~~~~~~~~~~~~~~~
Sphinx sidebar template: quick search box.
:copyright: Copyright 2007-2016 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
#}
{%- if pagename != "search" and builder != "singlehtml" %}
<div id="searchbox" style="display: none" role="search">
<h4>{{ _('Search') }}</h4>
<form class="search" action="{{ pathto('search') }}" method="get">
<input type="text" name="q" />
<input type="submit" value="{{ _('Go') }}" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
{%- endif %}