Use bootstrap's pager (instead of pagination) class

[?]
Apr 26, 2013, 12:44 PM
XGNERX6C5VDBUJFN3OIQISHPLIST7SZTU6SEH5TCVPWNIF25AQDQC

Dependencies

  • [2] QBT7FA7R Compatibility with latest bootstrap
  • [3] 7Z3YOKCV * PROCESS -> INCLUDE in most cases. INCLUDE does proper scoping of
  • [4] 4WZQW2N6 Fix indentation and get rid of some unnecessary whitespace in the output
  • [5] DE2DNCOI Allow comparing an evaluation with an arbitrary other evaluation
  • [6] RWFCW6ZN In the jobset evals lists, show what inputs changed between consecutive evals
  • [7] 22JB5HNE make changes section more compact/readable
  • [8] OEPUOUNB Using twitter bootstrap for more consistent looks for Hydra
  • [9] YTSIRIMK * Separate job status and all builds pages.
  • [10] PMNWRTGJ Add multiple output support
  • [11] U4TD3AIQ Add support for viewing jobset evaluations
  • [12] G5YSUSNZ In build tables, hide the project, jobset and/or job name if they're constant
  • [13] Q4VDOA76 Replace last 5 builds on jobset page with last 5 evaluations. Moved hide/unhide and evaluate options to jobset topmenu.
  • [14] QL55ECJ6 - adapted ui for hydra, more in line with nixos.org website
  • [*] IK53RV4V

Change contents

  • edit in src/root/all.tt at line 9
    [3.1298][3.4020:4046]()
    [% INCLUDE renderPager %]
  • edit in src/root/all.tt at line 10
    [3.92]
    [3.143]
    [% INCLUDE renderPager %]
  • replacement in src/root/common.tt at line 388
    [3.9472][2.0:458]()
    <div class="pagination">
    <ul>
    <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>
    </div>
    [3.9472]
    [3.9507]
    <ul class="pager">
    <li [% IF page == 1 %]class="disabled"[% END %]><a href="[% "$baseUri?page=1" %]">&laquo; First</a></li>
    <li [% IF page == 1 %]class="disabled"[% END %]><a href="[% "$baseUri?page="; (page - 1) %]">&lsaquo; Previous</a></li>
    <li [% IF page * resultsPerPage >= total %]class="disabled"[% END %]><a href="[% "$baseUri?page="; (page + 1) %]">Next &rsaquo;</a></li>
    <li [% IF page * resultsPerPage >= total %]class="disabled"[% END %]><a href="[% "$baseUri?page="; (total - 1) div resultsPerPage + 1 %]">Last &raquo;</a></li>
    </ul>
  • edit in src/root/evals.tt at line 9
    [3.2134][3.6765:6792](),[3.2804][3.6765:6792](),[3.6765][3.6765:6792]()
    [% INCLUDE renderPager %]
  • edit in src/root/evals.tt at line 11
    [3.2404]
    [3.7892]
    [% INCLUDE renderPager %]