aboutsummaryrefslogtreecommitdiffstats
path: root/doc/_themes/pysidedocs/searchbox.html
diff options
context:
space:
mode:
authorDidier Raboud <odyx@debian.org>2011-08-08 13:32:35 +0200
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-09 19:10:18 -0300
commit44a69e123dd2f610f0b7ecdd505a61130152e58c (patch)
treeea58b7d8639db3f4e31ec2e6a3b2543832761dc4 /doc/_themes/pysidedocs/searchbox.html
parent0540c82e917293ec97b73760ecf6ceb7fb06425c (diff)
Update pysidedocs theme to rely more on sphinx's base theme:
- Drop files that are redundant with sphinx. - Add _templates/layout.html to add the needed customisation. - Update theme.conf to ensure theme inheritance. - Update pysidedocs.css to fit the theme with sphinx's basic theme. Reviewer: Hugo Parente Lima <hugo.lima@openbossa.org> Renato Araújo <renato.filho@openbossa.org>
Diffstat (limited to 'doc/_themes/pysidedocs/searchbox.html')
-rw-r--r--doc/_themes/pysidedocs/searchbox.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/_themes/pysidedocs/searchbox.html b/doc/_themes/pysidedocs/searchbox.html
new file mode 100644
index 000000000..55a972156
--- /dev/null
+++ b/doc/_themes/pysidedocs/searchbox.html
@@ -0,0 +1,12 @@
+{%- if pagename != "search" %}
+<div id="searchbox" style="display: none">
+ <h3>{{ _('Quick search') }}</h3>
+ <form class="search" action="{{ pathto('search') }}" method="get">
+ <input type="text" name="q" id="q" size="18" />
+ <input type="submit" value="{{ _('Go') }}" id="search_button" />
+ <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 %}