use search input type for documentation search

- see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/search
pull/9250/head
LB Johnston 2022-09-19 19:48:09 +10:00 zatwierdzone przez LB (Ben Johnston)
rodzic 204951337a
commit 935fead9a3
3 zmienionych plików z 3 dodań i 1 usunięć
docs
_templates
releases

Wyświetl plik

@ -26,6 +26,7 @@ Changelog
* Avoid assuming an integer PK named 'id' on multiple upload views (Matt Westcott)
* Add a toggle to collapse/expand all page panels at once (Helen Chapman)
* Improve the GitHub Workflows (CI) security (Alex (sashashura))
* Use `search` type input in documentation search (LB (Ben) Johnston)
* Fix: Prevent `PageQuerySet.not_public` from returning all pages when no page restrictions exist (Mehrdad Moradizadeh)
* Fix: Ensure that duplicate block ids are unique when duplicating stream blocks in the page editor (Joshua Munn)
* Fix: Revise colour usage so that privacy & locked indicators can be seen in Windows High Contrast mode (LB (Ben Johnston))

Wyświetl plik

@ -5,7 +5,7 @@
<div class="input-group-prepend">
<div class="input-group-text border-right-0 bg-white py-3 pl-3 pr-2"><span class="fas fa-search"></span></div>
</div>
<input class="form-control py-3 pr-3 pl-3 h-100 border-left-0" type="text" name="q" placeholder="Search" aria-label="Search" id="searchinput" />
<input class="form-control py-3 pr-3 pl-3 h-100 border-left-0" type="search" name="q" placeholder="Search" aria-label="Search" id="searchinput" />
</div>
<input type="submit" style="visibility:hidden;position:absolute;display:block;">
</form>

Wyświetl plik

@ -38,6 +38,7 @@ Scheduled publishing settings can now be found within the Status side panel of t
* Avoid assuming an integer PK named 'id' on multiple upload views (Matt Westcott)
* Add a toggle to collapse/expand all page panels at once (Helen Chapman)
* Improve the GitHub Workflows (CI) security (Alex (sashashura))
* Use `search` type input in documentation search (LB (Ben) Johnston)
### Bug fixes