summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mumi/web/view/html.scm42
1 files changed, 35 insertions, 7 deletions
diff --git a/mumi/web/view/html.scm b/mumi/web/view/html.scm
index 3098bc3..693eadd 100644
--- a/mumi/web/view/html.scm
+++ b/mumi/web/view/html.scm
@@ -116,14 +116,42 @@
(div
(@ (class "container"))
(h1 "Guix patch tracker")
- (div
- (@ (id "about")
- (class "row"))
- (p "This is a web frontend to the Guix patch tracker. Send email to "
- (a (@ (href ,(string-append "mailto:" (%config 'submission-email-address))))
- ,(%config 'submission-email-address))
- " to submit your patches."))
+ (p (@ (class "row"))
+ "This is a web frontend to the Guix patch tracker. Send email to "
+ (a (@ (href ,(string-append "mailto:" (%config 'submission-email-address))))
+ ,(%config 'submission-email-address))
+ " to submit your patches.")
,(search-form #:standalone? #t)
+ (div
+ (@ (class "row"))
+ (div
+ (@ (class "panel panel-default"))
+ (p (@ (class "panel-body"))
+ (strong "Hint: ")
+ "Refine your search with filters like "
+ (span (@ (class "filter"))
+ "is:open")
+ ", "
+ (span (@ (class "filter"))
+ "author:me")
+ ", "
+ (span (@ (class "filter"))
+ "submitter:me")
+ ", "
+ (span (@ (class "filter"))
+ "date:yesterday..now")
+ ", "
+ (span (@ (class "filter"))
+ "date:2018-04-01..2018-04-02")
+ ", "
+ (span (@ (class "filter"))
+ "date:1m..today")
+ ", "
+ (span (@ (class "filter"))
+ "mdate:2w..12h")
+ ", and "
+ (a (@ (href "help#search"))
+ "many more!"))))
;; TODO: do this via JS?
,@(let ((bugs (recent-bugs 5)))
(if (null? bugs)