From b6bab664db5202bb179fede2cb53260324352390 Mon Sep 17 00:00:00 2001 From: Griffin Smith Date: Sat, 1 Aug 2020 12:10:27 -0400 Subject: feat(web/panettone): Allow editing issues Allow editing both the subject and the body of issues, recording events indicating the edit and displaying those events in the issue history. Fixes: #14 Change-Id: I9ed05271ce9bf6bda4e56f15e249c0f28c862b27 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1517 Tested-by: BuildkiteCI Reviewed-by: tazjin --- web/panettone/src/css.lisp | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'web/panettone/src/css.lisp') diff --git a/web/panettone/src/css.lisp b/web/panettone/src/css.lisp index fe6cad66b122..0192b816ea1c 100644 --- a/web/panettone/src/css.lisp +++ b/web/panettone/src/css.lisp @@ -4,6 +4,9 @@ (defparameter color/black "rgb(24, 24, 24)") +(defparameter color/light-gray + "#EEE") + (defparameter color/gray "#8D8D8D") @@ -105,7 +108,8 @@ ((:and input (:= type "submit")) :-webkit-appearance "none" :border "none" - :cursor "pointer") + :cursor "pointer" + :font-size "1rem") ,@(button '(:and input (:= type "submit"))) @@ -126,6 +130,16 @@ :justify-content "space-between" :align-items "center" + ,@(button '.edit-issue) + + (.created-by-at + :flex 1) + + (.edit-issue + :background-color ,color/light-gray + :flex 0 + :margin-right "0.5rem") + (.close-issue :background-color ,color/failure)))) -- cgit 1.4.1