mirror of
https://github.com/kiwix/libkiwix.git
synced 2025-06-26 10:11:30 +00:00
Add search form for /nojs endpoint
Adds an html form to search books by the q= parameter
This commit is contained in:
@ -61,6 +61,12 @@
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class='kiwixNav'>
|
||||
<form id='kiwixSearchForm' class='kiwixNav__SearchForm' action="{{root}}/nojs">
|
||||
<input type="text" name="q" placeholder="Search" id="searchFilter" class='kiwixSearch filter' value="{{searchQuery}}">
|
||||
<input type="submit" class="kiwixButton kiwixButtonHover" value="Search"/>
|
||||
</form>
|
||||
</div>
|
||||
<div class="kiwixHomeBody">
|
||||
<div class="book__list">
|
||||
{{#books}}
|
||||
|
Reference in New Issue
Block a user