<%= render partial: 'search_options' %>
<%= label_tag 'From:' %> <%= render partial: 'naf/shared/date_select', locals: { prefix: 'date_select_from', dropdown_width: 'width: 15%;' } %>
<%= label_tag 'To:' %>     <%= render partial: 'naf/shared/date_select', locals: { prefix: 'date_select_to', dropdown_width: 'width: 15%;' } %>
Job Information <% logical_job = ::Logical::Naf::Job.new(@job) %>
ID Command Server Pid Status
<%= @job.id %> <%= @job.command %><%= logical_job.runner %> <%= @job.pid %> <%= logical_job.status %>

<%= submit_tag("Search the logs", id: 'log_search_submit') %> <%= render partial: 'job_log_download_button', locals: { server: @job.started_on_machine.try(:server_name), status: logical_job.status, link_path: "#{http_protocol}#{logical_job.runner}#{naf.download_log_parsers_path}?record_id=#{@job.id}&record_type=job" } %>     <%= link_to 'Back to Job', { controller: 'historical_jobs', action: 'show', id: @job.id } %>
<%= render partial: 'update_page_title', locals: { title: "Job(#{@job.id}) Logs" } %> <%= render partial: 'naf/shared/auto_resize_width', locals: { div_class: '.scrollable-output-expanded' } %> <%= render partial: 'log_display', locals: { record_id: @job.id, status: logical_job.status, logs_url: "#{http_protocol}#{logical_job.runner}#{naf.logs_log_parsers_path}", record_type: 'job' } %>