Sha256: 86f37c072f54523b6fa6b2a06f38fd799d2353f91dba3d860ce29e7a13bf42f5

Contents?: true

Size: 1.6 KB

Versions: 6

Compression:

Stored size: 1.6 KB

Contents

<% title _('Detail of %s run') % @template_invocation.job_invocation.job_name %>
<% stylesheet 'template_invocation' %>
<% javascript 'template_invocation' %>

<div id="title_action">
  <div class="btn-toolbar pull-right">
    <%= link_to(_('Back to Job'), job_invocation_path(@template_invocation.job_invocation)) %>
    <%= button_group(link_to_function(_('Toggle command'), '$("div.preview").toggle()'),
                     link_to_function(_('Toggle STDERR'), '$("div.line.stderr").toggle()'),
                     link_to_function(_('Toggle STDOUT'), '$("div.line.stdout").toggle()'),
                     link_to_function(_('Toggle DEBUG'), '$("div.line.debug").toggle()')) %>
    <%= button_group(template_invocation_task_buttons(@template_invocation_task)) %>
  </div>
</div>

<h3><%= _('Target: ') %><%= link_to(@host.name, host_path(@host)) %></h3>

<div class="preview hidden">
  <%= preview_box(@template_invocation, @host) %>
</div>

<div class="terminal" data-refresh-url="<%= template_invocation_path(@template_invocation_task) %>">
  <% if @error %>
    <div class="line error"><%= @error %></div>
  <% else %>
    <%= link_to_function(_('Scroll to bottom'), '$("html, body").animate({ scrollTop: $(document).height() }, "slow");', :class => 'pull-right scroll-link-bottom') %>

    <div class="printable">
      <%= render :partial => 'output_line_set', :collection => @line_sets %>
    </div>

    <%= link_to_function(_('Scroll to top'), '$("html, body").animate({ scrollTop: 0 }, "slow");', :class => 'pull-right scroll-link-top') %>
  <% end %>
</div>

<script>
  <%= render :partial => 'refresh.js' %>
</script>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
foreman_remote_execution-0.1.2 app/views/template_invocations/show.html.erb
foreman_remote_execution-0.1.1 app/views/template_invocations/show.html.erb
foreman_remote_execution-0.1.0 app/views/template_invocations/show.html.erb
foreman_remote_execution-0.0.10 app/views/template_invocations/show.html.erb
foreman_remote_execution-0.0.8 app/views/template_invocations/show.html.erb
foreman_remote_execution-0.0.7 app/views/template_invocations/show.html.erb