From 7a8903ea54b3baf440603f87a1e133175d6d9c55 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 4 Mar 2009 15:25:35 +0000 Subject: [PATCH] * XHTML validity. --- src/Hydra/root/build.tt | 8 +++---- src/Hydra/root/channel-contents.tt | 25 ++++++++++++++++++--- src/Hydra/root/common.tt | 8 +++---- src/Hydra/root/edit-releaseset.tt | 4 ++-- src/Hydra/root/layout.tt | 34 +++++++++++++++++------------ src/Hydra/root/product-list.tt | 12 +++++----- src/Hydra/root/project.tt | 6 ++--- src/Hydra/root/static/css/hydra.css | 2 +- 8 files changed, 61 insertions(+), 38 deletions(-) diff --git a/src/Hydra/root/build.tt b/src/Hydra/root/build.tt index 4c1d639d..28209841 100644 --- a/src/Hydra/root/build.tt +++ b/src/Hydra/root/build.tt @@ -32,16 +32,16 @@ [% IF build.finished %] [% IF build.resultInfo.buildstatus == 0 %] - + Succeeded Success [% ELSIF build.resultInfo.buildstatus == 1 %] - + Failed Build returned a non-zero exit code [% ELSIF build.resultInfo.buildstatus == 2 %] - + Failed A dependency of the build failed [% ELSE %] - + Failed Build failed (see below)
diff --git a/src/Hydra/root/channel-contents.tt b/src/Hydra/root/channel-contents.tt index 2c1959e5..9737474b 100644 --- a/src/Hydra/root/channel-contents.tt +++ b/src/Hydra/root/channel-contents.tt @@ -4,11 +4,30 @@

Channel [% channelName %]

-

You can subscribe to this channel by doing +

This page provides a channel for the Nix package manager. If you have Nix +installed, you can subscribe to this channel by once executing

-
$ nix-channel --add [% curUri %]
+
+$ nix-channel --add [% curUri %]
+$ nix-channel --update
-

+

You can then query and install packages in the normal way, e.g.,

+ +
+$ nix-env -qa '*'
+$ nix-env -i foo
+ +

You can update to the latest versions of the packages in this channel by executing

+ +
+$ nix-channel --update 
+$ nix-env -u '*'
+ +

Alternatively, if youhave associated the +application/nix-package MIME type with the +nix-install-package program in your web browser, you can +install the package simply by clicking on the packages below.

Packages

diff --git a/src/Hydra/root/common.tt b/src/Hydra/root/common.tt index 64cd0b25..435651f6 100644 --- a/src/Hydra/root/common.tt +++ b/src/Hydra/root/common.tt @@ -46,9 +46,9 @@ [% IF !hideResultInfo %] [% IF build.resultInfo.buildstatus == 0 %] - + Succeeded [% ELSE %] - + Failed [% END %] [% END %] @@ -77,11 +77,11 @@ [% finishedBuilds %] - Succeeded builds: + Succeeded Succeeded builds: [% succeededBuilds %] - Failed builds: + Failed Failed builds: [% finishedBuilds - succeededBuilds %] diff --git a/src/Hydra/root/edit-releaseset.tt b/src/Hydra/root/edit-releaseset.tt index 4d8dc1ae..90ed6dfe 100644 --- a/src/Hydra/root/edit-releaseset.tt +++ b/src/Hydra/root/edit-releaseset.tt @@ -66,7 +66,7 @@ -