Using twitter bootstrap for more consistent looks for Hydra
This commit is contained in:
@ -61,7 +61,7 @@
|
||||
|
||||
|
||||
[%- BLOCK renderBuildListHeader -%]
|
||||
<table class="buildList [% IF !unsortable %]tablesorter[% END %] [% IF !showSchedulingInfo %] clean[% END %]">
|
||||
<table class="buildList table table-striped table-condensed [% IF !unsortable %]tablesorter[% END %] [% IF !showSchedulingInfo %] clean[% END %]">
|
||||
<thead>
|
||||
<tr>
|
||||
[%- IF !hideResultInfo -%]
|
||||
@ -186,6 +186,9 @@
|
||||
[% IF uri %]<a [% HTML.attributes(href => uri) %][% IF confirmmsg %]onclick="javascript:return confirm('[% confirmmsg %]')"[% END %]>[% content %]</a>[% ELSE; content; END -%]
|
||||
[% END -%]
|
||||
|
||||
[% BLOCK maybeButton -%]
|
||||
[% IF uri %]<a class="btn btn-mini" [% HTML.attributes(href => uri) %][% IF confirmmsg %]onclick="javascript:return confirm('[% confirmmsg %]')"[% END %]>[% content %]</a>[% ELSE; content; END -%]
|
||||
[% END -%]
|
||||
|
||||
[% BLOCK renderSelection %]
|
||||
[% IF edit %]
|
||||
@ -321,7 +324,7 @@
|
||||
[% END %]
|
||||
|
||||
[% BLOCK renderInputDiff; %]
|
||||
<table class="tablesorter clean">
|
||||
<table class="table table-striped table-condensed">
|
||||
[% IF !nestedDiff %]
|
||||
<tr><th>Input</th><th>Changes</th></tr>
|
||||
[% END %]
|
||||
@ -366,7 +369,7 @@
|
||||
[% END %]
|
||||
|
||||
[% BLOCK hydraStatus %]
|
||||
<table class="tablesorter">
|
||||
<table class="tablesorter table table-striped table-condensed">
|
||||
<thead>
|
||||
<tr><th>Machine</th><th>Job</th><th>Type</th><th>Build</th><th>Step</th><th>What</th><th>Since</th></tr>
|
||||
</thead>
|
||||
@ -388,8 +391,16 @@
|
||||
|
||||
|
||||
[% BLOCK renderPager %]
|
||||
<ul class="pagination">
|
||||
<li><a href="[% "$baseUri?page=1" %]">First</a></li>
|
||||
|
||||
<li [% IF page == 1 %]class="disabled"[% END %]><a href="[% "$baseUri?page="; (page - 1) %]">Previous</a></li>
|
||||
<li [% IF page * resultsPerPage < total %]class="disabled"[% END %]><a href="[% "$baseUri?page="; (page + 1) %]">Next</a></li>
|
||||
<li><a href="[% "$baseUri?page="; (total - 1) div resultsPerPage + 1 %]">Last</a></li>
|
||||
</ul>
|
||||
<!--
|
||||
<p>
|
||||
[<a href="[% "$baseUri?page=1" %]">First</a>]
|
||||
[]
|
||||
[% IF page > 1 %]
|
||||
[<a href="[% "$baseUri?page="; (page - 1) %]">Prev</a>]
|
||||
[% END %]
|
||||
@ -398,6 +409,7 @@
|
||||
[% END %]
|
||||
[<a href="[% "$baseUri?page="; (total - 1) div resultsPerPage + 1 %]">Last</a>]
|
||||
</p>
|
||||
-->
|
||||
[% END %]
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user