feat(web/panettone): Add a Log Out link to the footer
Generalize the rendering of the footer nav, and add a Log Out button to the right. Change-Id: I107e2370fd8f12949218ecacb611649a48abd738 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1413 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
This commit is contained in:
parent
156c68698b
commit
3e033637b4
2 changed files with 53 additions and 18 deletions
|
|
@ -103,7 +103,18 @@
|
|||
:border "none"
|
||||
:cursor "pointer")
|
||||
|
||||
,@(button '(:and input (:= type "submit")))))
|
||||
,@(button '(:and input (:= type "submit")))
|
||||
|
||||
(.form-link
|
||||
((:and input (:= type "submit"))
|
||||
:background-color "initial"
|
||||
:color "inherit"
|
||||
:padding 0
|
||||
:text-decoration "underline")
|
||||
|
||||
((:and input (:= type "submit")
|
||||
(:or :hover :active :focus))
|
||||
:box-shadow 0 0 0 0))))
|
||||
|
||||
(defparameter issue-styles
|
||||
`((.issue-info
|
||||
|
|
@ -145,13 +156,14 @@
|
|||
:font-size "1.5rem"))
|
||||
|
||||
(nav
|
||||
:display :flex
|
||||
:color ,color/gray)
|
||||
:display "flex"
|
||||
:color ,color/gray
|
||||
:justify-content "space-between")
|
||||
|
||||
(footer
|
||||
:border-top "1px" "solid" ,color/gray
|
||||
:padding-top "1rem"
|
||||
:margin-top "2rem"
|
||||
:margin-top "1rem"
|
||||
:color ,color/gray)
|
||||
|
||||
,@(button '.new-issue)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue