Show the number of searches ever performed, and increase the typing timeout on searching slightly.
This commit is contained in:
parent
e8936beea0
commit
03abcc1340
@ -7,6 +7,8 @@
|
|||||||
<tr><th>Database disk size</th><td>{{ niceSizeMB .stats.FileSize }}Mb</td></tr>
|
<tr><th>Database disk size</th><td>{{ niceSizeMB .stats.FileSize }}Mb</td></tr>
|
||||||
<tr><th>Bookmarks</th><td>{{ .stats.MostRecentBookmarkInfo.Bookmarks }}</td></tr>
|
<tr><th>Bookmarks</th><td>{{ .stats.MostRecentBookmarkInfo.Bookmarks }}</td></tr>
|
||||||
<tr><th>Words in index</th><td>{{ .stats.MostRecentBookmarkInfo.IndexedWords }}</td></tr>
|
<tr><th>Words in index</th><td>{{ .stats.MostRecentBookmarkInfo.IndexedWords }}</td></tr>
|
||||||
|
<tr><th>Total searches</th><td>{{ .stats.Searches }}</td></tr>
|
||||||
|
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<div class="large-6 medium-12 cell">
|
<div class="large-6 medium-12 cell">
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
<div class="large-12 cell">
|
<div class="large-12 cell">
|
||||||
<label>Free text</label>
|
<label>Free text</label>
|
||||||
<input type="text" name="query" placeholder="" hx-post="/search"
|
<input type="text" name="query" placeholder="" hx-post="/search"
|
||||||
hx-trigger="keyup changed delay:50ms, search" hx-target="#search-results"
|
hx-trigger="keyup changed delay:250ms, search" hx-target="#search-results"
|
||||||
hx-indicator="#htmx-indicator-search" />
|
hx-indicator="#htmx-indicator-search" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user