bigbiff | d006b30 | 2015-03-06 18:36:03 -0500 | [diff] [blame^] | 1 | --- |
| 2 | layout: page |
| 3 | --- |
| 4 | |
| 5 | <div class='page-heading'>Search for TWRP for your device here:</div> |
| 6 | <hr /> |
| 7 | <script src="/js/jekyll-search.js"></script> |
| 8 | <input type="text" id="search-input" placeholder="Search.."> |
| 9 | <div id="results"></div> |
| 10 | <script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js'></script> |
| 11 | <script type="text/javascript"> |
| 12 | SimpleJekyllSearch.init({ |
| 13 | searchInput: document.getElementById('search-input'), |
| 14 | resultsContainer: document.getElementById('results'), |
| 15 | dataSource: 'http://twrp.me/search.json', |
| 16 | searchResultTemplate: '<li><a href="{url}" title="{desc}">{title}</a></li>', |
| 17 | noResultsText: 'No results found', |
| 18 | fuzzy: false, |
| 19 | }) |
| 20 | </script> |