Show results on notes's search-box.
This commit is contained in:
parent
a616d903fb
commit
d81db05633
3 changed files with 93 additions and 5 deletions
|
@ -483,12 +483,12 @@ def as_document(html, title):
|
|||
<body>
|
||||
<nav>
|
||||
<h1><a href="/">Código para llevar [Notes]</a></h1>
|
||||
<input type="text" id="searchbox" disabled="true" placeholder="Search in notes (requires JS)" />
|
||||
<input type="text" id="searchbox" disabled="true" placeholder="Search (requires JS)" />
|
||||
</nav>
|
||||
{html}
|
||||
|
||||
<script src="../static/search-box.js"></script>
|
||||
<script tye="text/javascript">_codigoparallevar_enable_search_box('#searchbox', {{placeholder: 'Search in notes...'}})</script>
|
||||
<script tye="text/javascript">_codigoparallevar_enable_search_box('#searchbox', {{placeholder: 'Search...'}})</script>
|
||||
</body>
|
||||
</html>
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue