Move the "Cancel build" button to the menu

[?]
Apr 17, 2012, 9:39 AM
WW6BFSNFHUDK26SUK6LSZCZTFMBXZZMYZ6BYCHXLHH6JDH7OXQTQC

Dependencies

  • [2] 4IKSSKNL Restructure build menu
  • [3] ZI535LI6 * hydra: 'new' UI for project/jobset/job/build
  • [4] T6KISLR6 Fix indentation
  • [5] MOX7XJ2E Merge the BuildSchedulingInfo table into the Builds table
  • [*] IK53RV4V
  • [*] QL55ECJ6 - adapted ui for hydra, more in line with nixos.org website
  • [*] NAJJDIK6 Move 'keep build' and 'restart' to toplevel menu

Change contents

  • edit in src/root/common.tt at line 276
    [3.3027][3.3027:3235]()
    [% IF c.user_exists %]
    <form action="[% c.uri_for('/build' build.id 'cancel') %]" method="post" class="inline">
    <button id="cancel" type="submit">Cancel</button>
    </form>
    [% END %]
  • edit in src/root/topbar.tt at line 148
    [2.633]
    [9.318]
    [% INCLUDE makeLink
    uri = c.uri_for('/build' build.id 'cancel')
    title = "Cancel build" %]