Sha256: fb7e008ff32a3ad7f55d4d420108ab97e79f2f52f81d3f38f0730aa879bc482d

Contents?: true

Size: 883 Bytes

Versions: 2

Compression:

Stored size: 883 Bytes

Contents

Listing Builds
%ul
  - @builds.each do |build|
    %li
      %hr
      .name= build.name
      %a.clone_url{href:build.clone_url}= build.clone_url
      .ref= build.ref
      .status
        Status:
        - if build.tested?
          = build.passed? ? "Passed!" : "Failed!"
        - else
          Queued
      .output
        Output:
        %pre= build.output
      .actions
        %a{href:"/build/remove/#{build.id}"} Remove
        %a{href:"/build/retest/#{build.id}"} Retest

%hr

.manual_clone
  To clone manually without waiting for a post-receive hook, enter the following and hit submit
  %form{ :action => "/build/create", :method => "post"}
    %fieldset
      %ol
        %li
          %label{:for => "clone_url"} clone_url:
          %input{:type => "text", :name => "clone_url", :class => "text"}
      %input{:type => "submit", :value => "Go", :class => "button"}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bait-0.3.2 lib/bait/views/builds.haml
bait-0.3.1 lib/bait/views/builds.haml