hydra: minor improvements in hydra ui

[?]
Feb 9, 2010, 1:43 PM
TJPIS3UPRE4ZIPXGRO7B4KOPR7P6UDYWUKCNY6UHJQEQDXWS4XVAC

Dependencies

  • [2] FZVIDIEP
  • [3] ZI535LI6 * hydra: 'new' UI for project/jobset/job/build
  • [4] 3HZY24CX * Make jobsets viewable under
  • [5] 75XUS62Y * Added a page to quickly see all failed builds and failed evaluations
  • [6] ODNCGFQ5 * Improved the navigation bar: don't include all projects (since that
  • [7] SFUSIKUY * Use isCurrent to determine the inactive jobs.
  • [8] AKAXJDMW * Disable the statistics on the project, jobset and job pages for now
  • [*] J5UVLXOK * Start of a basic Catalyst web interface.

Change contents

  • edit in src/lib/Hydra/Controller/Jobset.pm at line 23
    [4.702]
    [4.702]
    sub jobsetIndex {
    my ($self, $c, $forceStatus) = @_;
  • replacement in src/lib/Hydra/Controller/Jobset.pm at line 26
    [4.703][4.703:781]()
    sub index : Chained('jobset') PathPart('') Args(0) {
    my ($self, $c) = @_;
    [4.703]
    [4.225]
    print STDERR "index\n";
  • replacement in src/lib/Hydra/Controller/Jobset.pm at line 50
    [3.278][3.278:329]()
    if(scalar(@{$c->stash->{activeJobs}}) <= 20) {
    [3.278]
    [3.329]
    if($forceStatus || scalar(@{$c->stash->{activeJobs}}) <= 20) {
  • edit in src/lib/Hydra/Controller/Jobset.pm at line 75
    [4.822]
    [4.822]
    sub index : Chained('jobset') PathPart('') Args(0) {
    my ($self, $c) = @_;
    jobsetIndex($self, $c, 0);
    }
    sub indexWithStatus : Chained('jobset') PathPart('') Args(1) {
    my ($self, $c, $forceStatus) = @_;
    jobsetIndex($self, $c, 1);
    }
  • edit in src/lib/Hydra/Controller/Jobset.pm at line 85
    [4.823]
    [4.823]
  • replacement in src/root/jobset.tt at line 82
    [3.20170][3.20170:20256]()
    [% IF jobset.errormsg -%]<li><a href="#tabs-errors">Errors</a></li>[% END %]
    [3.20170]
    [3.20256]
    [% IF jobset.errormsg -%]<li><a href="#tabs-errors">Evaluation errors</a></li>[% END %]
  • edit in src/root/jobset.tt at line 92
    [3.20547]
    [3.20547]
    [% IF jobset.errormsg && !edit -%]
    <table class="layoutTable"><tr><td><img src="/static/images/failure.gif" /></td><td><a href="#tabs-errors" id="error-link">There are evaluation errors!</a></td></tr></table>
    <script type="text/javascript">
    $('#error-link').click(function() {
    $("#generic-tabs").tabs('select', 1);
    return false;
    });
    </script>
    [% END %]
  • edit in src/root/jobset.tt at line 136
    [3.21951]
    [4.11599]
    [% IF !edit && !activeJobsStatus -%]
    <h2>Status</h2>
    <p>
    [ <a href="[% c.uri_for('/jobset' project.name jobset.name 'with-status' ) %]">Show status overview</a> ]
    </p>
    [% END %]
  • edit in src/root/static/css/hydra.css at line 50
    [2.27]
    [10.10609]
    }
    a#error-link {
    color: red;