mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-19 02:07:07 +01:00
* 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
22 lines
742 B
HTML
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 %}
|