aboutsummaryrefslogtreecommitdiffstats
path: root/docs/source/_better_theme/searchbox.html
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2014-08-27 23:12:09 -0400
committerbnewbold <bnewbold@robocracy.org>2014-08-28 00:03:08 -0400
commit6702e7412828729c7a5df776d014f25deabf2274 (patch)
tree6a31c4d1e13aae59634bf941e3dd62855c0f7d77 /docs/source/_better_theme/searchbox.html
parentb50a15e6d705a2eead061618f84bdc066ec5c6f4 (diff)
downloadlibrambutan-6702e7412828729c7a5df776d014f25deabf2274.tar.gz
librambutan-6702e7412828729c7a5df776d014f25deabf2274.zip
docs: initial rambutan theme
Still needs bundled fonts and polish.
Diffstat (limited to 'docs/source/_better_theme/searchbox.html')
-rw-r--r--docs/source/_better_theme/searchbox.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/source/_better_theme/searchbox.html b/docs/source/_better_theme/searchbox.html
new file mode 100644
index 0000000..f761ce8
--- /dev/null
+++ b/docs/source/_better_theme/searchbox.html
@@ -0,0 +1,11 @@
+{%- if pagename != "search" %}
+<form class="search" action="{{ pathto('search') }}" method="get">
+ <input type="text" name="q"
+ placeholder="{{ _('type to search') }}" />
+ {#- I have not been able to make this look good. #}
+ {#- <input type="submit" value="{{ _('Search') }}" /> #}
+ <input type="hidden" name="check_keywords" value="yes" />
+ <input type="hidden" name="area" value="default" />
+</form>
+<script type="text/javascript">$('#searchbox').show(0);</script>
+{%- endif %}