2
0
Fork 0
mirror of git://git.savannah.gnu.org/guix/data-service.git synced 2023-12-14 03:23:03 +01:00

Remove the compare form from the index page

It isn't very useful, as you have to know the commits. Now that there's Git
branch information, it should be possible to access this in a more useful way.
This commit is contained in:
Christopher Baines 2019-06-20 14:34:00 +02:00
parent d07e3d9ba8
commit 6e1a6c9808

View file

@ -228,45 +228,6 @@
(div
(@ (class "col-sm-12"))
(h1 "Guix Data Service")))
(div
(@ (class "row"))
(div
(@ (class "col-sm-12"))
(form
(@ (id "compare")
(action "/compare"))
(div
(@ (class "col-md-6"))
(div
(@ (class "form-group form-group-lg"))
(label (@ (class "control-label")
(style "font-size: 18px;")
(for "base_commit"))
"Base commit")
(input (@ (type "text")
(class "form-control")
(style "font-family: monospace;")
(id "base_commit")
(name "base_commit")
(placeholder "base commit"))))
(div
(@ (class "form-group form-group-lg"))
(label (@ (class "control-label")
(style "font-size: 18px;")
(for "target_commit"))
"Target commit")
(input (@ (type "text")
(class "form-control")
(style "font-family: monospace;")
(id "target_commit")
(name "target_commit")
(placeholder "target commit")))))
(div
(@ (class "col-md-6"))
(button
(@ (type "submit")
(class "btn btn-lg btn-primary"))
"Compare")))))
,@(map
(match-lambda
(((id label url) . revisions)