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-07-23T22·50-0400
committerglittershark <grfn@gws.fyi>2020-07-24T01·01+0000
commit943a4c92149b366d24a7485f0ff547fbbedc5d44 (patch)
treed158ad9f4dce748a5655511d709428b268dfe2e9 /web/panettone/src/css.lisp
parent280ec4a46c01e26f9316a029d9099e05ee882a94 (diff)
feat(web/panettone): Disallow issues with an empty subject r/1448
Disallow creating issues with an empty subject, and render a nice(ish)
alert box indicating the error.

Change-Id: I2857923dc0eb7702c85cd1974a73270ca27720fc
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1404
Reviewed-by: kanepyork <rikingcoding@gmail.com>
Tested-by: BuildkiteCI
Diffstat (limited to 'web/panettone/src/css.lisp')
-rw-r--r--web/panettone/src/css.lisp5
1 files changed, 5 insertions, 0 deletions
diff --git a/web/panettone/src/css.lisp b/web/panettone/src/css.lisp
index 9829c33d2e8e..8cf8509a71ef 100644
--- a/web/panettone/src/css.lisp
+++ b/web/panettone/src/css.lisp
@@ -146,6 +146,11 @@
 
     ,@(button '.new-issue)
 
+    (.alert
+     :padding "0.5rem"
+     :margin-bottom "1rem"
+     :background-color ,color/failure)
+
     (.login-form
      :width "300px"
      :margin "0 auto")