aboutsummaryrefslogtreecommitdiff
path: root/guix-data-service/web/view
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2019-03-16 19:01:21 +0000
committerChristopher Baines <mail@cbaines.net>2019-03-16 19:01:21 +0000
commita0f4f153a9950443b319e8af8c6b5e2da30d7335 (patch)
treeabf6e0e2accca197462b0b087abdb77cd0607196 /guix-data-service/web/view
parent33e6b3597252a2d836bd3a8e8126410bca2db0cb (diff)
downloaddata-service-a0f4f153a9950443b319e8af8c6b5e2da30d7335.tar
data-service-a0f4f153a9950443b319e8af8c6b5e2da30d7335.tar.gz
Improve the display of the show revision page
Diffstat (limited to 'guix-data-service/web/view')
-rw-r--r--guix-data-service/web/view/html.scm13
1 files changed, 8 insertions, 5 deletions
diff --git a/guix-data-service/web/view/html.scm b/guix-data-service/web/view/html.scm
index dcd2f15..665e9e7 100644
--- a/guix-data-service/web/view/html.scm
+++ b/guix-data-service/web/view/html.scm
@@ -237,7 +237,10 @@
(@ (class "container"))
(div
(@ (class "row"))
- (h1 "Revision " (samp ,commit-hash)))
+ (div
+ (@ (class "col-md-12"))
+ (h1 (@ (style "white-space: nowrap;"))
+ "Revision " (samp ,commit-hash))))
(div
(@ (class "row"))
(div
@@ -246,20 +249,20 @@
(strong (@ (class "text-center")
(style "font-size: 2em; display: block;"))
,packages-count)
- (a (@ (class "btn btn-default btn-lg")
- (href ,(string-append "/revision/" commit-hash
+ (a (@ (href ,(string-append "/revision/" commit-hash
"/packages")))
"View packages"))
(div
(@ (class "col-md-6"))
(h3 "Derivations")
(table
- (@ (class "table"))
+ (@ (class "table")
+ (style "white-space: nowrap;"))
(thead
(tr
(th "System")
(th "Target")
- (th "Distinct derivations")))
+ (th "Derivations")))
(tbody
,@(map (match-lambda
((system target count)