about summary refs log tree commit diff
path: root/web/panettone/src/css.lisp
diff options
context:
space:
mode:
authorGriffin Smith <grfn@gws.fyi>2020-08-01T16·10-0400
committerglittershark <grfn@gws.fyi>2020-08-02T02·08+0000
commitb6bab664db5202bb179fede2cb53260324352390 (patch)
tree52476cc42b6f2616f4697adbea0aedfd0864cba7 /web/panettone/src/css.lisp
parent2646e57aae5aedc3d07d8596aa6a61048b312e54 (diff)
feat(web/panettone): Allow editing issues r/1539
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 <mail@tazj.in>
Diffstat (limited to 'web/panettone/src/css.lisp')
-rw-r--r--web/panettone/src/css.lisp16
1 files changed, 15 insertions, 1 deletions
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))))