Make some more tables clickable

[?]
Feb 22, 2013, 5:11 PM
WYMEG4VPYR4AE54S5KJYL6WDILJ4GDVJA23AHKUZDLTFFZOPAIBAC

Dependencies

  • [2] LCLXI7PT Search: Mark disabled projects/jobsets/jobs
  • [3] SZYDW2DG hydra: added some user admin
  • [4] 6KIJX24R Get rid of unnecessary [%- and -%] tags
  • [5] 75XUS62Y * Added a page to quickly see all failed builds and failed evaluations
  • [6] 4WZQW2N6 Fix indentation and get rid of some unnecessary whitespace in the output
  • [7] GNIEG2GC * Disambiguate jobs by jobset name. I.e. jobs with the same name in
  • [8] 3PNG7NIB Remove trailing whitespace
  • [9] OEPUOUNB Using twitter bootstrap for more consistent looks for Hydra
  • [10] JLDUSNUO * Unify rendering of finished and scheduled builds.
  • [11] G5YSUSNZ In build tables, hide the project, jobset and/or job name if they're constant
  • [12] DE2DNCOI Allow comparing an evaluation with an arbitrary other evaluation
  • [13] E5DMQRPO Remove unnecessary whitespace in the HTML output
  • [14] JARRBLZD Bootstrapify the Hydra forms (except the project and jobset edit pages)
  • [15] UICHT2PS Add a search feature
  • [16] WUCOEIFA Search: Limit the number of results
  • [*] IK53RV4V

Change contents

  • replacement in src/root/common.tt at line 37
    [3.731][3.731:807]()
    <a href="[% c.uri_for('/job' project jobset job) %]"><tt>[% job %]</tt></a>
    [3.731]
    [3.807]
    <a [% IF inRow %]class="row-link"[% END %] href="[% c.uri_for('/job' project jobset job) %]"><tt>[% job %]</tt></a>
  • replacement in src/root/common.tt at line 42
    [3.846][3.1613:1685](),[3.1075][3.1613:1685](),[3.249][3.1613:1685]()
    <tt>[% INCLUDE renderProjectName %]:[% INCLUDE renderJobsetName %]</tt>
    [3.846]
    [3.847]
    <tt>[% INCLUDE renderProjectName inRow=0 %]:[% INCLUDE renderJobsetName %]</tt>
  • replacement in src/root/common.tt at line 47
    [3.883][3.182:333](),[3.1117][3.182:333](),[3.282][3.182:333]()
    <tt>[% IF !hideProjectName; INCLUDE renderProjectName %]:[% END; IF !hideJobsetName; INCLUDE renderJobsetName %]:[% END; INCLUDE renderJobName %]</tt>
    [3.883]
    [3.884]
    <tt>[% IF !hideProjectName; INCLUDE renderProjectName inRow=0 %]:[% END; IF !hideJobsetName; INCLUDE renderJobsetName inRow=0 %]:[% END; INCLUDE renderJobName %]</tt>
  • replacement in src/root/search.tt at line 8
    [3.1249][3.1249:1303]()
    <table class="table table-striped table-condensed">
    [3.1249]
    [3.1303]
    <table class="table table-striped table-condensed clickable-rows">
  • replacement in src/root/search.tt at line 15
    [3.1439][2.354:486]()
    <td><span class="[% IF !p.enabled %]disabled-project[% END %]">[% INCLUDE renderProjectName project=p.name %]</span></td>
    [3.1439]
    [3.1505]
    <td><span class="[% IF !p.enabled %]disabled-project[% END %]">[% INCLUDE renderProjectName project=p.name inRow=1 %]</span></td>
  • replacement in src/root/search.tt at line 28
    [3.1713][3.1713:1767]()
    <table class="table table-striped table-condensed">
    [3.1713]
    [3.1767]
    <table class="table table-striped table-condensed clickable-rows">
  • replacement in src/root/search.tt at line 35
    [3.1901][2.487:652]()
    <td><span class="[% IF !j.enabled %]disabled-jobset[% END %]">[% INCLUDE renderFullJobsetName project=j.get_column('project') jobset=j.name %]</span></td>
    [3.1901]
    [3.2001]
    <td><span class="[% IF !j.enabled %]disabled-jobset[% END %]">[% INCLUDE renderFullJobsetName project=j.get_column('project') jobset=j.name inRow=1 %]</span></td>
  • replacement in src/root/search.tt at line 48
    [3.2203][3.2203:2257]()
    <table class="table table-striped table-condensed">
    [3.2203]
    [3.2257]
    <table class="table table-striped table-condensed clickable-rows">
  • replacement in src/root/search.tt at line 55
    [3.2365][2.653:853]()
    <td><span class="[% IF !j.get_column('enabled') %]disabled-job[% END %]">[% INCLUDE renderFullJobName project=j.get_column('project') jobset=j.get_column('jobset') job=j.name %]</span></td>
    [3.2365]
    [3.2489]
    <td><span class="[% IF !j.get_column('enabled') %]disabled-job[% END %]">[% INCLUDE renderFullJobName project=j.get_column('project') jobset=j.get_column('jobset') job=j.name inRow=1 %]</span></td>
  • replacement in src/root/users.tt at line 4
    [3.6830][3.15895:15947](),[3.15947][3.6838:7128](),[3.6838][3.6838:7128](),[3.7128][3.19404:19533](),[3.19533][3.7271:7501](),[3.7271][3.7271:7501](),[3.7501][3.19534:19785](),[3.19785][3.7733:7778](),[3.7733][3.7733:7778](),[3.7778][3.37562:37563]()
    <table class="table table-striped table-condensed">
    <thead>
    <tr>
    <th>Username</th>
    <th>Name</th>
    <th>Email</th>
    <th>Roles</th>
    <th>Eval. notifications</th>
    <th>Options</th>
    </tr>
    </thead>
    <tbody>
    [% FOREACH u IN users %]
    <tr>
    <td><a href="[% c.uri_for(c.controller('Admin').action_for('user_edit'), [u.username]) %]">[% u.username %]</a></td>
    <td>[% u.fullname %]</td>
    <td>[% u.emailaddress %]</td>
    <td>[% FOREACH r IN u.userroles %]<i>[% r.role %]</i> [% END %]</td>
    <td>[% IF u.emailonerror %]Yes[% ELSE %]No[% END %]</td>
    <td>[% INCLUDE maybeLink uri = c.uri_for(c.controller('Admin').action_for('reset_password'), [u.username]) content = "Reset password" confirmmsg = "Are you sure you want to reset the password for this user?" class = "btn btn-mini" %]</td>
    </tr>
    [% END %]
    </tbody>
    [3.6830]
    [3.7783]
    <table class="table table-striped table-condensed clickable-rows">
    <thead>
    <tr>
    <th>Username</th>
    <th>Name</th>
    <th>Email</th>
    <th>Roles</th>
    <th>Eval. notifications</th>
    <th>Options</th>
    </tr>
    </thead>
    <tbody>
    [% FOREACH u IN users %]
    <tr>
    <td><a class="row-link" href="[% c.uri_for(c.controller('Admin').action_for('user_edit'), [u.username]) %]">[% u.username %]</a></td>
    <td>[% u.fullname %]</td>
    <td>[% u.emailaddress %]</td>
    <td>[% FOREACH r IN u.userroles %]<i>[% r.role %]</i> [% END %]</td>
    <td>[% IF u.emailonerror %]Yes[% ELSE %]No[% END %]</td>
    <td>[% INCLUDE maybeLink uri = c.uri_for(c.controller('Admin').action_for('reset_password'), [u.username]) content = "Reset password" confirmmsg = "Are you sure you want to reset the password for this user?" class = "btn btn-mini" %]</td>
    </tr>
    [% END %]
    </tbody>