* XHTML validity.
This commit is contained in:
parent
56beebc9c6
commit
7a8903ea54
|
@ -32,16 +32,16 @@
|
|||
<td>
|
||||
[% IF build.finished %]
|
||||
[% IF build.resultInfo.buildstatus == 0 %]
|
||||
<img src="/static/images/success.gif" />
|
||||
<img src="/static/images/success.gif" alt="Succeeded" />
|
||||
<strong>Success</strong>
|
||||
[% ELSIF build.resultInfo.buildstatus == 1 %]
|
||||
<img src="/static/images/failure.gif" />
|
||||
<img src="/static/images/failure.gif" alt="Failed" />
|
||||
<span class="error">Build returned a non-zero exit code</span>
|
||||
[% ELSIF build.resultInfo.buildstatus == 2 %]
|
||||
<img src="/static/images/failure.gif" />
|
||||
<img src="/static/images/failure.gif" alt="Failed" />
|
||||
<span class="error">A dependency of the build failed</span>
|
||||
[% ELSE %]
|
||||
<img src="/static/images/failure.gif" />
|
||||
<img src="/static/images/failure.gif" alt="Failed" />
|
||||
<span class="error">Build failed</span>
|
||||
(see <a href="#nix-error">below</a>)
|
||||
<form action="[% c.uri_for('/build' build.id 'restart') %]" method="post" class="inline">
|
||||
|
|
|
@ -4,11 +4,30 @@
|
|||
|
||||
<h1>Channel <tt>[% channelName %]</tt></h1>
|
||||
|
||||
<p>You can subscribe to this channel by doing
|
||||
<p>This page provides a <em>channel</em> for the <a
|
||||
href="http://nixos.org/">Nix package manager</a>. If you have Nix
|
||||
installed, you can subscribe to this channel by once executing</p>
|
||||
|
||||
<pre>$ nix-channel --add [% curUri %]</pre>
|
||||
<pre>
|
||||
$ nix-channel --add [% curUri %]
|
||||
$ nix-channel --update</pre>
|
||||
|
||||
</p>
|
||||
<p>You can then query and install packages in the normal way, e.g.,</p>
|
||||
|
||||
<pre>
|
||||
$ nix-env -qa '*'
|
||||
$ nix-env -i foo</pre>
|
||||
|
||||
<p>You can update to the latest versions of the packages in this channel by executing</p>
|
||||
|
||||
<pre>
|
||||
$ nix-channel --update
|
||||
$ nix-env -u '*'</pre>
|
||||
|
||||
<p>Alternatively, if youhave associated the
|
||||
<tt>application/nix-package</tt> MIME type with the
|
||||
<tt>nix-install-package</tt> program in your web browser, you can
|
||||
install the package simply by clicking on the packages below.</p>
|
||||
|
||||
|
||||
<h2>Packages</h2>
|
||||
|
|
|
@ -46,9 +46,9 @@
|
|||
[% IF !hideResultInfo %]
|
||||
<td>
|
||||
[% IF build.resultInfo.buildstatus == 0 %]
|
||||
<img src="/static/images/success.gif" />
|
||||
<img src="/static/images/success.gif" alt="Succeeded" />
|
||||
[% ELSE %]
|
||||
<img src="/static/images/failure.gif" />
|
||||
<img src="/static/images/failure.gif" alt="Failed" />
|
||||
[% END %]
|
||||
</td>
|
||||
[% END %]
|
||||
|
@ -77,11 +77,11 @@
|
|||
<td>[% finishedBuilds %]</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><img src="/static/images/success.gif" /> Succeeded builds:</th>
|
||||
<th><img src="/static/images/success.gif" alt="Succeeded" /> Succeeded builds:</th>
|
||||
<td>[% succeededBuilds %]</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><img src="/static/images/failure.gif" /> Failed builds:</th>
|
||||
<th><img src="/static/images/failure.gif" alt="Failed" /> Failed builds:</th>
|
||||
<td>[% finishedBuilds - succeededBuilds %]</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
|
|
@ -66,7 +66,7 @@
|
|||
</table>
|
||||
|
||||
|
||||
<script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
var id = [% n %];
|
||||
|
||||
|
@ -90,7 +90,7 @@
|
|||
<p><button id="delete-project" type="submit"><img src="/static/images/failure.gif" />Delete this release set</button></p>
|
||||
</form>
|
||||
|
||||
<script>
|
||||
<script type="text/javascript">
|
||||
$("#delete-project").click(function() {
|
||||
return confirm("Are you sure you want to delete this release set?");
|
||||
});
|
||||
|
|
|
@ -4,12 +4,17 @@
|
|||
|
||||
[% PROCESS common.tt %]
|
||||
|
||||
[% BLOCK makeLink %]
|
||||
[% BLOCK makeLinkWrapped %]
|
||||
<li [% IF curUri == uri %]class="active"[% END %]>
|
||||
<div class="title"><a href="[% uri %]">[% title %]</a></div>
|
||||
[% content %]
|
||||
</li>
|
||||
[% END %]
|
||||
|
||||
[% BLOCK makeLink -%]
|
||||
[% INCLUDE makeLinkWrapped content="" -%]
|
||||
[% END %]
|
||||
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
|
@ -101,21 +106,22 @@
|
|||
<ul class="subsubmenu">
|
||||
[% INCLUDE makeLink uri = c.uri_for('/project' project.name 'jobstatus') title = "Job status" %]
|
||||
[% INCLUDE makeLink uri = c.uri_for('/project' project.name 'all') title = "All builds" %]
|
||||
[% INCLUDE makeLink uri = c.uri_for('/releasesets' project.name) title = "Releases" %]
|
||||
|
||||
[% IF project.releasesets && project.releasesets.size > 0 %]
|
||||
<ul class="subsubsubmenu">
|
||||
[% FOREACH releaseset IN project.releasesets %]
|
||||
[% myUri = c.uri_for('/releases' project.name releaseset.name) %]
|
||||
<li [% IF curUri == myUri %]class="active"[% END %]>
|
||||
<div class="title"><a href="[% myUri %]">
|
||||
[% HTML.escape(releaseset.description ? releaseset.description : releaseset.name) %]
|
||||
</a></div>
|
||||
</li>
|
||||
[% END %]
|
||||
</ul>
|
||||
[% WRAPPER makeLinkWrapped uri = c.uri_for('/releasesets' project.name) title = "Releases" %]
|
||||
[% IF project.releasesets && project.releasesets.size > 0 %]
|
||||
<ul class="subsubsubmenu">
|
||||
[% FOREACH releaseset IN project.releasesets %]
|
||||
[% myUri = c.uri_for('/releases' project.name releaseset.name) %]
|
||||
<li [% IF curUri == myUri %]class="active"[% END %]>
|
||||
<div class="title"><a href="[% myUri %]">
|
||||
[% HTML.escape(releaseset.description ? releaseset.description : releaseset.name) %]
|
||||
</a></div>
|
||||
</li>
|
||||
[% END %]
|
||||
</ul>
|
||||
[% END %]
|
||||
[% END %]
|
||||
|
||||
|
||||
[% INCLUDE makeLink uri = c.uri_for('/project' project.name 'edit') title = "Edit" %]
|
||||
</ul>
|
||||
[% END %]
|
||||
|
|
|
@ -26,12 +26,10 @@
|
|||
the <tt>application/nix-package</tt> MIME type associated
|
||||
with the <tt>nix-install-package</tt> program in your web
|
||||
browser. Alternatively, you can install it from the
|
||||
command-line:
|
||||
command-line:</p>
|
||||
|
||||
<pre>$ nix-install-package --non-interactive --url [% uri %]</pre>
|
||||
|
||||
</p>
|
||||
|
||||
<p>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 <tt>root</tt>.
|
||||
|
@ -59,16 +57,16 @@
|
|||
|
||||
<pre>$ gunzip < [% filename %] | nix-store --import</pre>
|
||||
|
||||
or to download and unpack in one command:
|
||||
<p>or to download and unpack in one command:</p>
|
||||
|
||||
<pre>$ curl [% uri %] | gunzip | nix-store --import</pre>
|
||||
|
||||
<p>The package can then be found in the path <tt>[%
|
||||
product.path %]</tt>. You’ll probably also want to do
|
||||
product.path %]</tt>. You’ll probably also want to do</p>
|
||||
|
||||
<pre>$ nix-env -i [% product.path %]</pre>
|
||||
|
||||
to actually install the package in your Nix user environment.</p>
|
||||
<p>to actually install the package in your Nix user environment.</p>
|
||||
|
||||
<p>If you get the error message “imported
|
||||
archive lacks a signature”, you should make sure that you have
|
||||
|
@ -161,7 +159,7 @@
|
|||
|
||||
[% END %]
|
||||
|
||||
<script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
$('.productDetailsToggle').toggle(
|
||||
function () { $(".productDetails", $(this).parents(".product")).fadeIn(); },
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
|
||||
[% BLOCK renderInput %]
|
||||
|
||||
<tr class="input [% extraClass %]" id="[% id %]">
|
||||
<tr class="input [% extraClass %]" [% IF id %]id="[% id %]"[% END %]>
|
||||
<td>
|
||||
[% IF edit %]<button type="button" onclick='$(this).parents(".input").remove()'><img src="/static/images/failure.gif" alt="Delete input" /></button>[% END -%]
|
||||
<tt>[% INCLUDE maybeEditString param="$baseName-name" value=input.name extraClass="shortString" %]</tt>
|
||||
|
@ -222,7 +222,7 @@
|
|||
[% INCLUDE renderInputAlt alt=alt %]
|
||||
</tt>
|
||||
|
||||
<script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
var id = 0;
|
||||
|
||||
|
@ -281,7 +281,7 @@
|
|||
<p><button id="delete-project" type="submit"><img src="/static/images/failure.gif" />Delete this project</button></p>
|
||||
</form>
|
||||
|
||||
<script>
|
||||
<script type="text/javascript">
|
||||
$("#delete-project").click(function() {
|
||||
return confirm("Are you sure you want to delete this project?");
|
||||
});
|
||||
|
|
|
@ -386,7 +386,7 @@ h1 {
|
|||
}
|
||||
|
||||
#leftnavbar ul.subsubsubmenu > li {
|
||||
font-size: 80%;
|
||||
font-size: 90%;
|
||||
list-style: none;
|
||||
margin: 0 0 0 0;
|
||||
padding: 0 0 0 0;
|
||||
|
|
Loading…
Reference in a new issue