iens

Manager of links to read
git clone https://git.instinctive.eu/iens.git
Log | Files | Refs | README | LICENSE

commit 113a00134f2e909212d8af02400343ea88894755
parent fc53270bdd67c6cd09c2e960a30b38906530e739
Author: Natasha Kerensikova <natgh@instinctive.eu>
Date:   Sat,  3 Oct 2026 18:17:43 +0000

Search gruiks by title in CGI
Diffstat:
Msrc/cgi.scm | 12++++++++++++
1 file changed, 12 insertions(+), 0 deletions(-)

diff --git a/src/cgi.scm b/src/cgi.scm @@ -848,6 +848,17 @@ window.addEventListener(\"beforeunload\", beforeUnloadHandler); (div (@ (class "form-body")) (input (@ (type "text") (name "regexp") (placeholder "^reg.*exp$"))))) + (h2 "Title") + (form (@ (method "GET") (action "title")) + (div (@ (class "form-body")) + (input (@ (type "text") (name "glob") (placeholder "*glob*"))))) + (form (@ (method "GET") (action "title")) + (div (@ (class "form-body")) + (input (@ (type "text") (name "like") (placeholder "%like%"))))) + (form (@ (method "GET") (action "title")) + (div (@ (class "form-body")) + (input (@ (type "text") (name "regexp") + (placeholder "^reg.*exp$"))))) (h2 "URL") (form (@ (method "GET") (action "url")) (div (@ (class "form-body")) @@ -1268,6 +1279,7 @@ window.addEventListener(\"beforeunload\", beforeUnloadHandler); (define route-search-field (sequence* ((fi (any-of (char-seq "description") (char-seq "notes") + (char-seq "title") (char-seq "url"))) (_ (is #\?)) (op (any-of (char-seq "glob")