Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| c11ad6f6f7 | |||
| 1301fe9545 | |||
| 03abcc1340 |
@@ -10,7 +10,7 @@ import (
|
||||
"golang.org/x/mod/semver"
|
||||
)
|
||||
|
||||
const Tag = "v0.0.33"
|
||||
const Tag = "v0.0.34"
|
||||
|
||||
type Info struct {
|
||||
Local struct {
|
||||
|
||||
@@ -1,13 +1,15 @@
|
||||
<div class="grid-x grid-padding-x">
|
||||
<div class="large-6 medium-12 cell">
|
||||
|
||||
|
||||
<h5>System information</h5>
|
||||
<table>
|
||||
<tr><th>Memory in use</th><td>{{ meminfo }}</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>Words in index</th><td>{{ .stats.MostRecentBookmarkInfo.IndexedWords }}</td></tr>
|
||||
<tr><th>Total searches</th><td>{{ .stats.Searches }}</td></tr>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
<div class="large-6 medium-12 cell">
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
<div class="large-12 cell">
|
||||
<label>Free text</label>
|
||||
<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" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user