.
This commit is contained in:
@@ -2,6 +2,17 @@
|
||||
{% block content %}
|
||||
<h2>Questions</h2>
|
||||
There are {{ questions|length }} question sets.
|
||||
|
||||
<div>Filter by:
|
||||
<textarea type="text" id="search-text" name="search" placeholder="Search text.." rows=5 cols=50 ></textarea>
|
||||
|
||||
<button
|
||||
|
||||
_="on click repeat for el in <li.question/>
|
||||
set p to the first <pre/> in el then
|
||||
if p.title does not contain value of #search-text then hide el">Filter</button>
|
||||
</div>
|
||||
|
||||
<div class="offcanvas offcanvas-end bg-dark" tabindex="-1" id="offcanvasExample" data-bs-scroll="true" data-bs-backdrop="false" aria-labelledby="offcanvasExampleLabel">
|
||||
<div class="offcanvas-header">
|
||||
<h5 class="offcanvas-title" id="offcanvasExampleLabel">Comparisons</h5>
|
||||
|
||||
Reference in New Issue
Block a user