Sha256: 3ba90c7bb223ad51b78ac66433a4ea4fb7f5fcd548df04c79859f5b45db2ee10

Contents?: true

Size: 1.74 KB

Versions: 17

Compression:

Stored size: 1.74 KB

Contents

<% title _('Detail of %s run') % @template_invocation.job_invocation.job_category %>
<% 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), :class => 'btn btn-default') %>
    <%= button_group(link_to_function(_('Toggle command'), '$("div.preview").toggle()', :class => 'btn btn-default'),
                     link_to_function(_('Toggle STDERR'), '$("div.line.stderr").toggle()', :class => 'btn btn-default'),
                     link_to_function(_('Toggle STDOUT'), '$("div.line.stdout").toggle()', :class => 'btn btn-default'),
                     link_to_function(_('Toggle DEBUG'), '$("div.line.debug").toggle()', :class => 'btn btn-default')) %>
    <%= 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) %>">
  <% 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

17 entries across 17 versions & 1 rubygems

Version Path
foreman_remote_execution-1.4.3 app/views/template_invocations/show.html.erb
foreman_remote_execution-1.4.2 app/views/template_invocations/show.html.erb
foreman_remote_execution-1.3.7 app/views/template_invocations/show.html.erb
foreman_remote_execution-1.3.6 app/views/template_invocations/show.html.erb
foreman_remote_execution-1.4.1 app/views/template_invocations/show.html.erb
foreman_remote_execution-1.3.5 app/views/template_invocations/show.html.erb
foreman_remote_execution-1.3.4 app/views/template_invocations/show.html.erb
foreman_remote_execution-1.3.3 app/views/template_invocations/show.html.erb
foreman_remote_execution-1.3.2 app/views/template_invocations/show.html.erb
foreman_remote_execution-1.3.1 app/views/template_invocations/show.html.erb
foreman_remote_execution-1.3.0 app/views/template_invocations/show.html.erb
foreman_remote_execution-1.2.2 app/views/template_invocations/show.html.erb
foreman_remote_execution-1.2.1 app/views/template_invocations/show.html.erb
foreman_remote_execution-1.2.0 app/views/template_invocations/show.html.erb
foreman_remote_execution-1.1.1 app/views/template_invocations/show.html.erb
foreman_remote_execution-1.1.0 app/views/template_invocations/show.html.erb
foreman_remote_execution-1.0.0 app/views/template_invocations/show.html.erb