Tweaks

[?]
Feb 21, 2013, 12:26 AM
I4K2UPCWTK4EEPPQYBZ6UEGLF2HIUR5X6GJH34JEKPVKRBVWFCVAC

Dependencies

  • [2] TLJC6BJ3 Add a menu item for deleting jobsets
  • [3] JY7BXXOP Split viewing and editing a project
  • [4] IHU3IMC6 Revert changeset 4399683fa0e9abb64f63affc7caca7f77abea1b7, make jobset options available to project members as well
  • [5] 2DTJNAMX Allow project members to create jobsets, regression introduced by bootstrap make-over. Currently all logged in users see these options, however, only on performing the action the privileges are checked. Need to change that in the future.
  • [6] 7ZQAHJQM Fix indentation
  • [7] OEPUOUNB Using twitter bootstrap for more consistent looks for Hydra
  • [8] JARRBLZD Bootstrapify the Hydra forms (except the project and jobset edit pages)
  • [*] QL55ECJ6 - adapted ui for hydra, more in line with nixos.org website

Change contents

  • replacement in src/root/edit-project.tt at line 1
    [3.285][3.286:375]()
    [% WRAPPER layout.tt title=(create ? "New Project" : "Editing project $project.name") %]
    [3.285]
    [3.375]
    [% WRAPPER layout.tt title=(create ? "New project" : "Editing project $project.name") %]
  • replacement in src/root/topbar.tt at line 54
    [4.570][2.5825:5931](),[2.5931][4.570:714](),[4.570][4.570:714]()
    [% INCLUDE menuItem uri = c.uri_for('/project' project.name 'edit') title="Edit configuration" %]
    [% INCLUDE menuItem uri = c.uri_for(c.controller('Project').action_for('create_jobset'), [project.name]) title = "Create new jobset" %]
    [4.570]
    [4.814]
    [% INCLUDE menuItem uri = c.uri_for('/project' project.name 'edit') title="Edit" %]
  • edit in src/root/topbar.tt at line 60
    [4.1079]
    [4.12219]
    [% INCLUDE menuItem uri = c.uri_for(c.controller('Project').action_for('create_jobset'), [project.name]) title = "Create jobset" %]
  • replacement in src/root/topbar.tt at line 86
    [4.1114][2.5932:6049]()
    [% INCLUDE menuItem uri = c.uri_for('/jobset' project.name jobset.name 'edit') title="Edit configuration" %]
    [4.1114]
    [2.6049]
    [% INCLUDE menuItem uri = c.uri_for('/jobset' project.name jobset.name 'edit') title="Edit" %]
  • edit in src/root/topbar.tt at line 165
    [4.14558]
    [4.14558]
    [% IF c.check_user_roles('admin') %]
    [% INCLUDE menuItem uri = c.uri_for(c.controller('Project').action_for('create')) title = "Create project" %]
    <li class="divider"></li>
    [% END %]
  • edit in src/root/topbar.tt at line 189
    [4.2592][4.15631:15706](),[4.15631][4.15631:15706](),[4.15706][4.2593:2715](),[4.2715][4.15830:15846](),[4.15830][4.15830:15846]()
    <li class="divider"></li>
    [% IF c.check_user_roles('admin') %]
    [% INCLUDE menuItem uri = c.uri_for(c.controller('Project').action_for('create')) title = "Create new project" %]
    [% END %]