Use popovers for the product list help/details
[?]
Apr 26, 2013, 3:47 PM
3ZAJ2ZRPMG62ZTRYBUXXO3TLVMVX3YB6UZNNU77H5COQ5MR45XAQCDependencies
- [2]
S5GCSCNSUpdate bootstrap to 2.3.1 - [3]
OIBSCXGIUse a popover to show how to use the build reproduction script - [4]
VVDQKVNL - [5]
ELABMHJI* hydra: layout changes - [6]
GPRYAAFPhydra: change icon for positive failures - [7]
QCGCX2BRGeneralize lazy tabs - [8]
Y35C6GHH* One-click installs. - [9]
NDL67SQT* XHTML validity. - [10]
74VYRQ6WAdd an icon for binary distributions - [11]
JFZNAYJX* Showing releases. - [12]
XJFHFZCA* Provide some redirects to build products by type so that we can for - [13]
HZWUT4YNAllow users to reproduce builds on their own systems - [14]
A4ZMBK7D* Icon for ISOs. - [15]
3PNG7NIBRemove trailing whitespace - [16]
OEPUOUNBUsing twitter bootstrap for more consistent looks for Hydra - [17]
NUIKDEHL* A quick hack to list the contents of various types of files (RPM, - [18]
LL36GPHAadded help, removed nix closure from 'failed build with output' productlist - [19]
E3X3C5LKReplace ugly link with nice small buttons - [*]
J5UVLXOK* Start of a basic Catalyst web interface. - [*]
IK53RV4V - [*]
PZL3SZM3Give every page a consistent title - [*]
TLJC6BJ3Add a menu item for deleting jobsets
Change contents
- replacement in src/root/build.tt at line 81
[% WRAPPER makePopover title="Reproduce locally" %][% WRAPPER makePopover title="Reproduce locally" classes="btn-info pull-right" placement="left" %] - replacement in src/root/build.tt at line 94
bash <(curl <a [% HTML.attributes(href => url) %]>[% HTML.escape(url) %]</a>)<span class="shell-prompt">$ </span>bash <(curl <a [% HTML.attributes(href => url) %]>[% HTML.escape(url) %]</a>) - replacement in src/root/common.tt at line 496
<div class="btn btn-info pull-right hydra-popover" data-toggle="popover" data-placement="left" data-html="true" [% HTML.attributes('data-content' => content) %]><div class="btn hydra-popover [% classes %]" data-toggle="popover" data-html="true" [% HTML.attributes('data-content' => content, 'data-placement' => placement || 'bottom') %]> - edit in src/root/layout.tt at line 26[23.3141][24.0]
<style>.popover { max-width: 40%; }</style> - replacement in src/root/product-list.tt at line 27[4.301]→[4.1216:1301](∅→∅),[4.1301]→[4.7927:7978](∅→∅),[4.209]→[4.7927:7978](∅→∅),[4.7978]→[4.255:443](∅→∅),[4.255]→[4.255:443](∅→∅),[4.443]→[4.31264:31265](∅→∅),[4.31265]→[4.452:528](∅→∅),[4.452]→[4.452:528](∅→∅)
<a class="productDetailsToggle btn btn-mini" href="javascript:">help</a><div class="well hide productDetails"><p>If you have Nix installed on your machine, this failed build output andall its dependencies can be unpacked into your local Nix store by doing:</p><pre>$ curl [% uri %] | gunzip | nix-store --import</pre>[% WRAPPER makePopover title="Help" classes="btn-mini" %]<p>If you have Nix installed on your machine, this failed build output andall its dependencies can be unpacked into your local Nix store by doing:</p> - replacement in src/root/product-list.tt at line 31
<p>The build output can then be found in the path <tt>[% product.path %]</tt>.</p><pre><span class="shell-prompt">$ </span>curl [% uri %] | gunzip | nix-store --import</pre> - replacement in src/root/product-list.tt at line 33
</p></div><p>The build output can then be found in the path <tt>[% product.path %]</tt>.</p>[% END %] - replacement in src/root/product-list.tt at line 46
<a class="productDetailsToggle btn btn-mini" href="javascript:">help</a> <a class="btn btn-mini" href="[% contents %]">contents</a><div class="well hide productDetails">[% WRAPPER makePopover title="Help" classes="btn-mini" %] - replacement in src/root/product-list.tt at line 55
<pre>$ nix-install-package --non-interactive --url [% uri %]</pre><pre><span class="shell-prompt">$ </span>nix-install-package --non-interactive --url [% uri %]</pre> - replacement in src/root/product-list.tt at line 59[4.1590]→[4.1590:1659](∅→∅),[4.1659]→[4.31276:31277](∅→∅),[4.31277]→[4.1674:1712](∅→∅),[4.1674]→[4.1674:1712](∅→∅),[4.1712]→[4.31278:31279](∅→∅)
the Nix store, e.g., run the command as <tt>root</tt>.</p></div>the Nix store, e.g., run the command as <tt>root</tt>.</p>[% END %] - replacement in src/root/product-list.tt at line 74[4.31285]→[4.1447:1532](∅→∅),[4.1091]→[4.1447:1532](∅→∅),[4.1532]→[4.8031:8082](∅→∅),[4.1165]→[4.8031:8082](∅→∅)
<a class="productDetailsToggle btn btn-mini" href="javascript:">help</a><div class="well hide productDetails">[% WRAPPER makePopover title="Help" classes="btn-mini" %] - replacement in src/root/product-list.tt at line 79
<pre>$ gunzip < [% filename %] | nix-store --import</pre><pre><span class="shell-prompt">$ </span>gunzip < [% filename %] | nix-store --import</pre> - replacement in src/root/product-list.tt at line 83
<pre>$ curl [% uri %] | gunzip | nix-store --import</pre><pre><span class="shell-prompt">$ </span>curl [% uri %] | gunzip | nix-store --import</pre> - replacement in src/root/product-list.tt at line 88
<pre>$ nix-env -i [% product.path %]</pre><pre><span class="shell-prompt">$ </span>nix-env -i [% product.path %]</pre> - replacement in src/root/product-list.tt at line 96
</div>[% END %] - replacement in src/root/product-list.tt at line 125[4.5093]→[4.1533:1676](∅→∅),[4.1676]→[4.8083:8130](∅→∅),[4.2031]→[4.8083:8130](∅→∅),[4.8130]→[4.5203:5221](∅→∅),[4.5203]→[4.5203:5221](∅→∅)
<a class="productDetailsToggle btn btn-mini" href="javascript:">details</a> <a class="btn btn-mini" href="[% contents %]">contents</a><div class="well hide productDetails"><table>[% WRAPPER makePopover title="Details" classes="btn-mini" %]<table class="info-table"> - replacement in src/root/product-list.tt at line 153
</div>[% END %] - edit in src/root/product-list.tt at line 212[4.6935]→[4.6935:6936](∅→∅),[4.6936]→[4.2679:2711](∅→∅),[4.2711]→[4.6945:7203](∅→∅),[4.6945]→[4.6945:7203](∅→∅)
<script type="text/javascript">$(document).ready(function() {$('.productDetailsToggle').toggle(function () { $(".productDetails", $(this).parents(".product")).fadeIn(); },function () { $(".productDetails", $(this).parents(".product")).hide(); });});</script> - edit in src/root/static/css/hydra.css at line 81
}.shell-prompt {color: gray;