diff --git a/src/root/build.tt b/src/root/build.tt index be8fdc5e..53dd9ae0 100644 --- a/src/root/build.tt +++ b/src/root/build.tt @@ -78,7 +78,7 @@
[% IF build.nixexprinput %] - [% WRAPPER makePopover title="Reproduce locally" %] + [% WRAPPER makePopover title="Reproduce locally" classes="btn-info pull-right" placement="left" %] [% url = c.uri_for('/build' build.id 'reproduce') %]

You can reproduce this build on your own machine by @@ -91,7 +91,7 @@ run the following command:

-bash <(curl  url) %]>[% HTML.escape(url) %])
+$ bash <(curl  url) %]>[% HTML.escape(url) %])
 
[% END %] diff --git a/src/root/common.tt b/src/root/common.tt index dcc50c9f..f2d4b601 100644 --- a/src/root/common.tt +++ b/src/root/common.tt @@ -493,7 +493,7 @@ BLOCK makeLazyTab %] BLOCK makePopover %] -
content) %]> +
content, 'data-placement' => placement || 'bottom') %]> [% title %]
[% END; diff --git a/src/root/layout.tt b/src/root/layout.tt index addbb0f4..3935cfd1 100644 --- a/src/root/layout.tt +++ b/src/root/layout.tt @@ -24,6 +24,10 @@ + + diff --git a/src/root/product-list.tt b/src/root/product-list.tt index cb12969f..3f3a9d1c 100644 --- a/src/root/product-list.tt +++ b/src/root/product-list.tt @@ -24,17 +24,14 @@ Source Failed build produced output. Click here to inspect the output. - help -
-

If you have Nix installed on your machine, this failed build output and - all its dependencies can be unpacked into your local Nix store by doing:

+ [% WRAPPER makePopover title="Help" classes="btn-mini" %] +

If you have Nix installed on your machine, this failed build output and + all its dependencies can be unpacked into your local Nix store by doing:

-
$ curl [% uri %] | gunzip | nix-store --import
+
$ curl [% uri %] | gunzip | nix-store --import
-

The build output can then be found in the path [% product.path %].

- -

-
+

The build output can then be found in the path [% product.path %].

+ [% END %] @@ -46,8 +43,7 @@ Source One-click install of Nix package [% build.nixname %] - help contents -
+ [% WRAPPER makePopover title="Help" classes="btn-mini" %]

If you have Nix installed on your machine, you can install this package and all its dependencies automatically by clicking on the link above. This requires that you have @@ -56,15 +52,12 @@ browser. Alternatively, you can install it from the command-line:

-
$ nix-install-package --non-interactive --url [% uri %]
+
$ nix-install-package --non-interactive --url [% uri %]

If you get an error message “Permission denied”, you should make sure that you have sufficient access rights to - the Nix store, e.g., run the command as root. - -

-
- + the Nix store, e.g., run the command as root.

+ [% END %] @@ -78,22 +71,21 @@ Nix closure of path [% product.path %] - help -
+ [% WRAPPER makePopover title="Help" classes="btn-mini" %]

If you have Nix installed on your machine, this build and all its dependencies can be unpacked into your local Nix store by doing:

-
$ gunzip < [% filename %] | nix-store --import
+
$ gunzip < [% filename %] | nix-store --import

or to download and unpack in one command:

-
$ curl [% uri %] | gunzip | nix-store --import
+
$ curl [% uri %] | gunzip | nix-store --import

The package can then be found in the path [% product.path %]. You’ll probably also want to do

-
$ nix-env -i [% product.path %]
+
$ nix-env -i [% product.path %]

to actually install the package in your Nix user environment.

@@ -101,7 +93,7 @@ archive lacks a signature”, you should make sure that you have sufficient access rights to the Nix store, e.g., run the command as root.

-
+ [% END %] @@ -130,9 +122,8 @@ File [% product.name %] of type [% product.subtype %] [% END %] - details contents -
- + [% WRAPPER makePopover title="Details" classes="btn-mini" %] +
@@ -159,8 +150,7 @@
URL: [% uri %]
SHA-256 hash:[% product.sha256hash %]
Full path:[% product.path %]
-
- + [% END %] @@ -219,12 +209,3 @@ [% END %] - - diff --git a/src/root/static/css/hydra.css b/src/root/static/css/hydra.css index a162cf6b..67a0a334 100644 --- a/src/root/static/css/hydra.css +++ b/src/root/static/css/hydra.css @@ -79,3 +79,7 @@ div.page-header h1 { div.page-header h1 small { font-size: 45%; } + +.shell-prompt { + color: gray; +}