[Racket] Ferti hydroponic nutrient solver, redux.
Reduce button size in table.
views.rkt
@@ -110,17 +110,17 @@
110
110
,@(for/list ([m measurements])
111
111
(define maybe-rotation (maybe-rotation-for-measurement m))
112
112
`(tr (td ,(nutrient-measurement-date m))
113
Removed:
(td (a ((class "btn btn-outline-secondary")
113
Added:
(td (a ((class "btn btn-outline-secondary btn-sm")
114
114
(href ,(format "/ferti/measurement/~a" (nutrient-measurement-id m))))
115
115
"Modifier"))
116
116
(td ,(if maybe-rotation
117
Removed:
`(a ((class "btn btn-outline-secondary")
117
Added:
`(a ((class "btn btn-outline-secondary btn-sm")
118
118
(href ,(format "/ferti/rotation/~a" (crop-rotation-id maybe-rotation))))
119
119
"Modifier")
120
Removed:
`(a ((class "btn btn-outline-primary") (href "/ferti/rotation/new"))
120
Added:
`(a ((class "btn btn-outline-primary btn-sm") (href "/ferti/rotation/new"))
121
121
"Ajouter")))
122
122
(td ,(if maybe-rotation
123
Removed:
`(a ((class "btn btn-outline-secondary")
123
Added:
`(a ((class "btn btn-outline-secondary btn-sm")
124
124
(href ,(format "/ferti/recipe/~a" (crop-rotation-date maybe-rotation))))
125
125
"Consulter")
126
126
"—")))))))