diff --git a/src/root/product-list.tt b/src/root/product-list.tt index 17e2911e..53194794 100644 --- a/src/root/product-list.tt +++ b/src/root/product-list.tt @@ -19,7 +19,13 @@ [% BLOCK renderProductList %] - +
+ + + + + + [% FOREACH product IN build.buildproducts %] @@ -37,82 +43,100 @@ [% uri = c.uri_for('/build' build.id 'nix' 'closure' filename ) %] + + + [% ELSE %] + + + + + + [% END %] @@ -120,41 +144,67 @@ [% CASE ["file", "channel"] %] - + + [% CASE "rpm" %] + + + [% CASE "srpm" %] + + + [% CASE "deb" %] + + + [% CASE "iso" %] + + + [% CASE "binary-dist" %] + + + [% CASE DEFAULT %] + [% IF product.type == "channel" %] + + + [% ELSE %] + + [% END %] - - [% WRAPPER makePopover title="Details" classes="btn-mini" %] -
IconTypeLinkActions
- Source - Failed build produced output. Click here to inspect the output. - - [% 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:

+
+ Error + + + Failed build produced output. Click here to inspect the output. + + + [% 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 %].

- [% END %] +

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

+ [% END %]
- [% uri = c.uri_for('/build' build.id 'nix' 'pkg' "${build.nixname}-${build.system}.nixpkg") %] - Source - One-click install of Nix package [% build.nixname %] - - [% 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 - the application/nix-package MIME type associated - with the nix-install-package program in your web - browser. Alternatively, you can install it from the - command-line:

+
+ One-Click install + + [% uri = c.uri_for('/build' build.id 'nix' 'pkg' "${build.nixname}-${build.system}.nixpkg") %] + + [% build.nixname %] + + + [% 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 + the application/nix-package MIME type associated + with the nix-install-package program in your web + 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.

- [% END %] - Contents +

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.

+ [% END %] + Contents
- - [% filename = build.nixname _ (product.subtype ? "-" _ product.subtype : "") _ ".closure.gz" %] - [% uri = c.uri_for('/build' build.id 'nix' 'closure' filename ) %] - - Source - Nix closure of path [% product.path %] - + + Nix closure + + [% filename = build.nixname _ (product.subtype ? "-" _ product.subtype : "") _ ".closure.gz" %] + [% uri = c.uri_for('/build' build.id 'nix' 'closure' filename ) %] - [% 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:

+ + [% product.path %] + +
+ [% 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:

+

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

+

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.

- -

If you get the error message “imported - 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 %] +

to actually install the package in your Nix user environment.

+

If you get the error message “imported + 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 %]
- - [% SWITCH product.subtype %] - [% CASE "source-dist" %] - Source Source distribution [% product.name %] - [% CASE "rpm" %] - RPM RPM package [% product.name %] - [% CASE "srpm" %] - Source RPM Source RPM package [% product.name %] - [% CASE "deb" %] - RPM Debian package [% product.name %] - [% CASE "iso" %] - ISO ISO-9660 CD/DVD image [% product.name %] - [% CASE "binary-dist" %] - Binary distribution Binary distribution [% product.name %] - [% CASE DEFAULT %] - [% IF product.type == "channel" %] + [% SWITCH product.subtype %] + [% CASE "source-dist" %] + + Source + Source distribution + RPM + RPM package + Source RPM + Source RPM package + DEB + Debian package + ISO + ISO-9660 CD/DVD image + Binary distribution + Binary distribution Channel - Channel expression tarball [% product.name %] + + Channel expression tarball [% IF product.subtype != "-" %]for [% product.subtype %][% END %] - [% ELSE %] - File [% product.name %] of type [% product.subtype %] - [% END %] + File[% product.subtype %]
- [% INCLUDE renderProductLinks %] - - - - -
File size:[% product.filesize %] bytes ([% mibs(product.filesize / (1024 * 1024)) %] MiB)
SHA-1 hash:[% product.sha1hash %]
SHA-256 hash:[% product.sha256hash %]
Full path:[% product.path %]
[% END %] - Contents + + + [% product.name %] + + + + [% WRAPPER makePopover title="Details" classes="btn-mini" %] + + [% INCLUDE renderProductLinks %] + + + + +
File size:[% product.filesize %] bytes ([% mibs(product.filesize / (1024 * 1024)) %] MiB)
SHA-1 hash:[% product.sha1hash %]
SHA-256 hash:[% product.sha256hash %]
Full path:[% product.path %]
+ [% END %] + Contents @@ -162,28 +212,42 @@ - Report - [% SWITCH product.subtype %] - [% CASE "coverage" %] - Code coverage analysis report - [% CASE DEFAULT %] - Report of type [% product.subtype %] - [% END %] - + [% SWITCH product.subtype %] + [% CASE "coverage" %] + Code coverage + + + Analysis report + + + [% CASE DEFAULT %] + Report + + + [% product.subtype %] + + + [% END %] + [% CASE ["doc", "doc-pdf"] %] - [% IF product.type == "doc-pdf" %] PDF document [% ELSE %] Document [% END %] + + + Documentation + + + [% SWITCH product.subtype %] [% CASE "readme" %] Read Me! @@ -192,14 +256,16 @@ [% CASE "release-notes" %] Release notes [% CASE DEFAULT %] - Documentation of type [% product.subtype %] + [% product.subtype %] [% END %] - [% WRAPPER makePopover title="Details" classes="btn-mini" %] - - [% INCLUDE renderProductLinks %] -
- [% END %] + + + [% WRAPPER makePopover title="Details" classes="btn-mini" %] + + [% INCLUDE renderProductLinks %] +
+ [% END %] @@ -207,7 +273,14 @@ - Something of type [% product.type %] [% product %] + [% product.type %] + + + + + [% product %] + + diff --git a/src/root/static/css/hydra.css b/src/root/static/css/hydra.css index 51fdfaf5..597b61ab 100644 --- a/src/root/static/css/hydra.css +++ b/src/root/static/css/hydra.css @@ -24,11 +24,6 @@ th { display: none; } -table.productList { - border-collapse: separate; - border-spacing: 0em 1em; -} - table.table-small { width: auto !important; }