Group some menu items together under a "Status" menu

[?]
Feb 20, 2013, 3:24 PM
JZVRK5QJGPDT7HNQLC2UOJRG6V6QO4NJJ5V5QEMQ6VUTUIQWHG5AC

Dependencies

  • [2] 7ZQAHJQM Fix indentation
  • [3] JARRBLZD Bootstrapify the Hydra forms (except the project and jobset edit pages)
  • [4] GEL2WHSU Move channel link to top menu of Project and Jobset.
  • [5] Q4VDOA76 Replace last 5 builds on jobset page with last 5 evaluations. Moved hide/unhide and evaluate options to jobset topmenu.
  • [6] E3X3C5LK Replace ugly link with nice small buttons
  • [7] OEPUOUNB Using twitter bootstrap for more consistent looks for Hydra
  • [8] PZL3SZM3 Give every page a consistent title
  • [9] TP3PFR5K
  • [10] IHU3IMC6 Revert changeset 4399683fa0e9abb64f63affc7caca7f77abea1b7, make jobset options available to project members as well
  • [11] 3PNG7NIB Remove trailing whitespace
  • [12] WRIU3S5E * UI for cloning builds (not functional yet).
  • [13] TVGN5QT5 add link to status page on queue page
  • [14] ZLQL62FK Only show "Running build steps" if there are running build steps
  • [*] QL55ECJ6 - adapted ui for hydra, more in line with nixos.org website

Change contents

  • edit in src/root/queue.tt at line 3
    [3.15842][3.0:1](),[3.92][3.0:1](),[3.1][3.15843:15923]()
    <p><a class="btn" href="[% c.uri_for('/status') %]">Running build steps</a></p>
  • replacement in src/root/topbar.tt at line 28
    [2.269][2.269:535]()
    [% INCLUDE makeLink
    uri = c.uri_for(c.controller('Root').action_for('queue'))
    title = "Queue ("_ nrRunningBuilds _"/"_ nrQueuedBuilds _")" %]
    [% INCLUDE makeLink
    uri = c.uri_for(c.controller('Root').action_for('all'))
    title = "All builds" %]
    [2.269]
    [3.11148]
    [% WRAPPER makeSubMenu title="Status" %]
    [% INCLUDE makeLink
    uri = c.uri_for(c.controller('Root').action_for('queue'))
    title = "Queue ("_ nrRunningBuilds _"/"_ nrQueuedBuilds _")" %]
    [% INCLUDE makeLink
    uri = c.uri_for(c.controller(Root).action_for('status'))
    title = "Active build steps" %]
    [% INCLUDE makeLink
    uri = c.uri_for(c.controller('Admin').action_for('index'))
    title = "Machine status" %]
    [% INCLUDE makeLink
    uri = c.uri_for(c.controller('Root').action_for('all'))
    title = "Recent builds" %]
    [% END %]
  • replacement in src/root/topbar.tt at line 45
    [3.11168][3.11168:11260]()
    [% WRAPPER makeSubMenu title=("Project: " _ project.name) collapsed=(jobset || job) %]
    [3.11168]
    [3.11260]
    [% WRAPPER makeSubMenu title=("Project: " _ project.name) %]
  • replacement in src/root/topbar.tt at line 67
    [3.12283][3.12283:12360]()
    [% WRAPPER makeSubMenu title=("Jobset: " _ jobset.name) collapsed=job %]
    [3.12283]
    [3.12360]
    [% WRAPPER makeSubMenu title=("Jobset: " _ jobset.name) %]
  • edit in src/root/topbar.tt at line 154
    [3.14584][3.14584:14745]()
    uri = c.uri_for(c.controller('Admin').action_for('index'))
    title = "Machine status" %]
    <li class="divider"></li>
    [% INCLUDE makeLink