Add buttons to scroll the page on the job page
As the page can be quite long, so jumping to the top and bottom is really useful.
This commit is contained in:
parent
54b9922466
commit
44b9d5658b
1 changed files with 19 additions and 2 deletions
|
|
@ -88,7 +88,8 @@
|
||||||
(media "screen")
|
(media "screen")
|
||||||
(type "text/css")
|
(type "text/css")
|
||||||
(href "/assets/css/screen.css"))))
|
(href "/assets/css/screen.css"))))
|
||||||
(body ,@body
|
(body (a (@ (id "top")))
|
||||||
|
,@body
|
||||||
(footer
|
(footer
|
||||||
(p "Copyright © 2016—2019 by the GNU Guix community."
|
(p "Copyright © 2016—2019 by the GNU Guix community."
|
||||||
(br)
|
(br)
|
||||||
|
|
@ -1010,7 +1011,23 @@
|
||||||
(div
|
(div
|
||||||
(@ (class "row"))
|
(@ (class "row"))
|
||||||
(div
|
(div
|
||||||
(pre (raw ,log))))))))
|
(@ (class "col-sm-12"))
|
||||||
|
(a (@ (class "btn btn-default btn-lg pull-right")
|
||||||
|
(style "margin-bottom: 20px;")
|
||||||
|
(href "#bottom"))
|
||||||
|
"Scroll to the bottom of the page")))
|
||||||
|
(div
|
||||||
|
(@ (class "row"))
|
||||||
|
(div
|
||||||
|
(pre (raw ,log))
|
||||||
|
(a (@ (id "bottom")))))
|
||||||
|
(div
|
||||||
|
(@ (class "row"))
|
||||||
|
(div
|
||||||
|
(@ (class "col-sm-12"))
|
||||||
|
(a (@ (class "btn btn-default btn-lg pull-right")
|
||||||
|
(href "#top"))
|
||||||
|
"Scroll to the top of the page")))))))
|
||||||
|
|
||||||
(define (view-derivation derivation derivation-inputs derivation-outputs
|
(define (view-derivation derivation derivation-inputs derivation-outputs
|
||||||
builds)
|
builds)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue