github.com/swiftstack/ProxyFS@v0.0.0-20210203235616-4017c267d62f/docs/source/theme/swiftopensource/search.html (about) 1 {# 2 basic/search.html 3 ~~~~~~~~~~~~~~~~~ 4 5 Template for the search page. 6 7 :copyright: Copyright 2007-2016 by the Sphinx team, see AUTHORS. 8 :license: BSD, see LICENSE for details. 9 #} 10 {% extends "layout.html" %} 11 {% set title = _('Search') %} 12 {% block extrahead %} 13 {{ super() }} 14 {% endblock %} 15 {% block body %} 16 <div id="fallback" class="admonition warning"> 17 <script type="text/javascript">document.getElementById('fallback').style.display = 'none';</script> 18 <p> 19 {% trans %}Please activate JavaScript to enable the search 20 functionality.{% endtrans %} 21 </p> 22 </div> 23 <p> 24 {% trans %}To search the documentation for {{ project }}, type your query into the 25 box below and press Enter.{% endtrans %} 26 </p> 27 <form action="" method="get"> 28 <input type="text" name="q" value="" /> 29 <input type="submit" value="search" /> 30 <span id="search-progress" style="padding-left: 10px"></span> 31 32 <div id="search-results"> 33 34 </div> 35 {% endblock %} 36 37 {% block script_footer %} 38 <script type="text/javascript"> 39 jQuery(function() { Search.loadIndex("searchindex.js"); }); 40 </script> 41 42 <script type="text/javascript" id="searchindexloader"></script> 43 {% endblock %}