summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2022-12-20 22:34:10 +0100
committerRicardo Wurmus <rekado@elephly.net>2022-12-20 22:34:10 +0100
commit7222358051680aeca25f9d8d3ffeb6ea89e9e08c (patch)
tree1f0c76bcb38d8f37e84ba22f237a68adf66e2109
parent1265a44e991a22100678c84c7d9da7edda456412 (diff)
html: Remove extra classes.
-rw-r--r--mumi/web/view/html.scm21
1 files changed, 8 insertions, 13 deletions
diff --git a/mumi/web/view/html.scm b/mumi/web/view/html.scm
index 3f1f956..aa00203 100644
--- a/mumi/web/view/html.scm
+++ b/mumi/web/view/html.scm
@@ -82,9 +82,7 @@
'(class "form-inline"))
(action "/search"))
(div
- (@ (class ,(if standalone?
- "input-group input-group-lg"
- "input-group")))
+ (@ (class "input-group"))
(input (@ (type "search")
(id "query")
(name "query")
@@ -95,7 +93,6 @@
(p "You can improve the search results by making use of the
simple query language. Here is a list of supported query terms:")
(table
- (@ (class "table table-sm table-borderless"))
(tbody
,@(map (match-lambda
((term description)
@@ -263,7 +260,7 @@ simple query language. Here is a list of supported query terms:")
(h4 "Recent activity "
(small (a (@ (href "recent")) "(More)")))
(table
- (@ (role "grid") (class "js-sort-table"))
+ (@ (class "js-sort-table"))
(thead
(tr (@ (class "heading"))
(th (@ (class "js-sort-number")) "ID")
@@ -277,7 +274,7 @@ simple query language. Here is a list of supported query terms:")
(h4 "Forgotten issues "
(small (a (@ (href "forgotten")) "(More)")))
(table
- (@ (role "grid") (class "js-sort-table"))
+ (@ (class "js-sort-table"))
(thead
(tr (@ (class "heading"))
(th (@ (class "js-sort-number")) "ID")
@@ -290,7 +287,7 @@ simple query language. Here is a list of supported query terms:")
(article
(h4 "Priority bugs")
(table
- (@ (role "grid") (class "js-sort-table"))
+ (@ (class "js-sort-table"))
(thead
(tr (@ (class "heading"))
(th (@ (class "js-sort-number")) "ID")
@@ -312,7 +309,6 @@ simple query language. Here is a list of supported query terms:")
simple query language. Here is a list of supported query terms with
some examples.")
(table
- (@ (class "table"))
(thead
(tr
(th "Filter")
@@ -735,8 +731,7 @@ m1 3H6v5h2V4zm0 6H6v2h2v-2z")))))
(map (lambda (tag)
`(a (@ (href ,(string-append "search?query=tag:" tag)))
(span
- (@ (class ,(string-append "badge badge-info mr-1 "
- tag)))
+ (@ (class ,(string-append "badge badge-info " tag)))
,tag)))
(string-split tags #\space))))
'())
@@ -763,7 +758,7 @@ m1 3H6v5h2V4zm0 6H6v2h2v-2z")))))
(@ (class "container"))
(h1 "Recent issues")
(table
- (@ (class "table table-borderless table-hover js-sort-table"))
+ (@ (class "js-sort-table"))
(thead
(tr (@ (class "heading"))
(th (@ (class "js-sort-number")) "ID")
@@ -781,7 +776,7 @@ m1 3H6v5h2V4zm0 6H6v2h2v-2z")))))
(@ (class "container"))
(h1 "Forgotten issues")
(table
- (@ (class "table table-borderless table-hover js-sort-table"))
+ (@ (class "js-sort-table"))
(thead
(tr (@ (class "heading"))
(th (@ (class "js-sort-number")) "ID")
@@ -811,7 +806,7 @@ m1 3H6v5h2V4zm0 6H6v2h2v-2z")))))
(a (@ (href "/"))
"Try searching for something else?")))
`(table
- (@ (class "table table-borderless table-hover js-sort-table"))
+ (@ (class "js-sort-table"))
(thead
(tr (@ (class "heading"))
(th (@ (class "js-sort-number")) "ID")