forked from lix-project/hydra
Update button styles as btn-mini is no more
This commit is contained in:
parent
1e34cd3d3d
commit
70df5e6312
|
@ -236,9 +236,9 @@ END;
|
||||||
<th>Logfile:</th>
|
<th>Logfile:</th>
|
||||||
<td>
|
<td>
|
||||||
[% actualLog = cachedBuildStep ? c.uri_for('/build' cachedBuild.id 'nixlog' cachedBuildStep.stepnr) : c.uri_for('/build' build.id 'log') %]
|
[% actualLog = cachedBuildStep ? c.uri_for('/build' cachedBuild.id 'nixlog' cachedBuildStep.stepnr) : c.uri_for('/build' build.id 'log') %]
|
||||||
<a class="btn btn-mini" href="[%actualLog%]">pretty</a>
|
<a class="btn btn-secondary btn-sm" href="[%actualLog%]">pretty</a>
|
||||||
<a class="btn btn-mini" href="[%actualLog%]/raw">raw</a>
|
<a class="btn btn-secondary btn-sm" href="[%actualLog%]/raw">raw</a>
|
||||||
<a class="btn btn-mini" href="[%actualLog%]/tail">tail</a>
|
<a class="btn btn-secondary btn-sm" href="[%actualLog%]/tail">tail</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
[% END %]
|
[% END %]
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
<tr>
|
<tr>
|
||||||
<td>[% INCLUDE renderDateTime timestamp=i.createtime %]</td>
|
<td>[% INCLUDE renderDateTime timestamp=i.createtime %]</td>
|
||||||
<td>[% contents.replace('\n','<br />\n') %]</td>
|
<td>[% contents.replace('\n','<br />\n') %]</td>
|
||||||
<td>[% INCLUDE maybeLink uri = c.uri_for(c.controller('Admin').action_for('news_delete') i.id) content = "Delete" confirmmsg = "Are you sure you want to delete this news item?" class = "btn btn-mini btn-danger" %]</td>
|
<td>[% INCLUDE maybeLink uri = c.uri_for(c.controller('Admin').action_for('news_delete') i.id) content = "Delete" confirmmsg = "Are you sure you want to delete this news item?" class = "btn btn-sm btn-danger" %]</td>
|
||||||
</tr>
|
</tr>
|
||||||
[% END %]
|
[% END %]
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<p>The following projects are hosted on this server:
|
<p>The following projects are hosted on this server:
|
||||||
<label id="show-disabled" class="btn btn-small pull-right" data-toggle="button">Show disabled projects</label>
|
<label id="show-disabled" class="btn btn-secondary btn-sm float-right" data-toggle="button">Show disabled projects</label>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<table class="table table-condensed table-striped clickable-rows">
|
<table class="table table-condensed table-striped clickable-rows">
|
||||||
|
|
|
@ -54,7 +54,7 @@
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
[% WRAPPER makePopover title="Help" classes="btn-mini" %]
|
[% WRAPPER makePopover title="Help" classes="btn-secondary btn-sm" %]
|
||||||
<p>If you have Nix installed on your machine, this failed build output and
|
<p>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:</p>
|
all its dependencies can be unpacked into your local Nix store by doing:</p>
|
||||||
|
|
||||||
|
@ -77,14 +77,14 @@
|
||||||
<tt>[% HTML.escape(build.nixname) %]</tt>
|
<tt>[% HTML.escape(build.nixname) %]</tt>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
[% WRAPPER makePopover title="Help" classes="btn-mini"
|
[% WRAPPER makePopover title="Help" classes="btn-secondary btn-sm"
|
||||||
%] <p>You can install this package using the Nix package
|
%] <p>You can install this package using the Nix package
|
||||||
manager from the command-line:</p>
|
manager from the command-line:</p>
|
||||||
|
|
||||||
<pre><span class="shell-prompt">$ </span>nix-env -i [%HTML.escape(product.path)%][% IF binaryCachePublicUri %] --option binary-caches [% HTML.escape(binaryCachePublicUri) %][% END %]</pre>
|
<pre><span class="shell-prompt">$ </span>nix-env -i [%HTML.escape(product.path)%][% IF binaryCachePublicUri %] --option binary-caches [% HTML.escape(binaryCachePublicUri) %][% END %]</pre>
|
||||||
[% END %]
|
[% END %]
|
||||||
[% IF localStore %]
|
[% IF localStore %]
|
||||||
<a class="btn btn-mini" href="[% contents %]">Contents</a>
|
<a class="btn btn-secondary btn-sm" href="[% contents %]">Contents</a>
|
||||||
[% END %]
|
[% END %]
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -105,7 +105,7 @@
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
[% WRAPPER makePopover title="Help" classes="btn-mini" %]
|
[% WRAPPER makePopover title="Help" classes="btn-secondary btn-sm" %]
|
||||||
<p>If you have Nix installed on your machine, this build and
|
<p>If you have Nix installed on your machine, this build and
|
||||||
all its dependencies can be unpacked into your local Nix
|
all its dependencies can be unpacked into your local Nix
|
||||||
store by doing:</p>
|
store by doing:</p>
|
||||||
|
@ -187,7 +187,7 @@
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
[% WRAPPER makePopover title="Details" classes="btn-mini" %]
|
[% WRAPPER makePopover title="Details" classes="btn-secondary btn-sm" %]
|
||||||
<table class="info-table">
|
<table class="info-table">
|
||||||
[% INCLUDE renderProductLinks %]
|
[% INCLUDE renderProductLinks %]
|
||||||
<tr><th>File size:</th><td>[% product.filesize %] bytes ([% mibs(product.filesize / (1024 * 1024)) %] MiB)</td></tr>
|
<tr><th>File size:</th><td>[% product.filesize %] bytes ([% mibs(product.filesize / (1024 * 1024)) %] MiB)</td></tr>
|
||||||
|
@ -196,7 +196,7 @@
|
||||||
</table>
|
</table>
|
||||||
[% END %]
|
[% END %]
|
||||||
[% IF localStore %]
|
[% IF localStore %]
|
||||||
<a class="btn btn-mini" href="[% contents %]">Contents</a>
|
<a class="btn btn-secondary btn-sm" href="[% contents %]">Contents</a>
|
||||||
[% END %]
|
[% END %]
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -254,7 +254,7 @@
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
[% WRAPPER makePopover title="Details" classes="btn-mini" %]
|
[% WRAPPER makePopover title="Details" classes="btn-secondary btn-sm" %]
|
||||||
<table class="info-table">
|
<table class="info-table">
|
||||||
[% INCLUDE renderProductLinks %]
|
[% INCLUDE renderProductLinks %]
|
||||||
</table>
|
</table>
|
||||||
|
|
Loading…
Reference in a new issue