<commit_before><% add_to_head do %>
  <link href="<%= root_path %>sidekiq-statistic.css" media="screen" rel="stylesheet" type="text/css" />
<% end %>

<script type="text/javascript" src="<%= root_path %>statistic.js"></script>

<div class='statistic'>
  <h2><%= t('WorkerInformation', worker: @name) %></h2>

  <ul class="nav nav-tabs">
    <li class="active"><a href="#" class="statistic__tab" data-target=".statistic__table"><%= t('InformationTable') %></a></li>
    <li><a href="#" class="statistic__tab" data-target=".statistic__log"><%= t('WorkerLog') %></a></li>
  </ul>

  <div class="statistic__container live-reload">
    <div class="statistic__table">
      <div class='statistic__datepicker'>
      <%= t('InformationTable') %>: <input id='datepicker_from' />
      <%= t('End') %>: <input id='datepicker_to' />
      </div>

      <h2><%= t('WorkerTablePerDay') %></h2>
      <div class="table_container">
        <table class="statistic__table table table-hover table-bordered table-striped table-white">
          <thead>
            <th><%= t('Date') %></th>
            <th><%= t('LastRun') %></th>
            <th><%= t('Success') %></th>
            <th><%= t('Failure') %></th>
            <th><%= t('Total') %></th>
            <th><%= t('TimeSec') %></th>
            <th><%= t('Average_Sec') %></th>
            <th><%= t('MinTimeSec') %></th>
            <th><%= t('MaxTimeSec') %></th>
            <th><%= t('LastJobStatus') %></th>
          </thead>
          <% @worker_statistic.each do |worker| %>
            <tr>
              <td class="worker"><%= formate_date worker[:date], '%e %B %Y' %></td>
              <td class="worker"><%= formate_date worker[:runtime][:last] %></td>
              <td class="worker"><%= worker[:success] %></td>
              <td class="worker"><%= worker[:failure] %></td>
              <td class="worker"><%= worker[:total] %></td>
              <td class="worker"><%= worker[:runtime][:total] %></td>
              <td class="worker"><%= worker[:runtime][:average] %></td>
              <td class="worker"><%= worker[:runtime][:min] %></td>
              <td class="worker"><%= worker[:runtime][:max] %></td>
              <td class="worker"><%= worker[:last_job_status] %></td>
            </tr>
          <% end %>
        </table>
      </div>
    </div>

    <div class="statistic__log">
      <input type='text' name='' id='statistic__search' value='' placeholder='Search text in log file'/>
      <% @worker_log.each do |line| %>
        <p class="statistic__i"><%= line %></p>
      <% end %><commit_msg>fix translation for header of worker info table<commit_after><% add_to_head do %>
  <link href="<%= root_path %>sidekiq-statistic.css" media="screen" rel="stylesheet" type="text/css" />
<% end %>

<script type="text/javascript" src="<%= root_path %>statistic.js"></script>

<div class='statistic'>
  <h2><%= t('WorkerInformation', worker: @name) %></h2>

  <ul class="nav nav-tabs">
    <li class="active"><a href="#" class="statistic__tab" data-target=".statistic__table"><%= t('InformationTable') %></a></li>
    <li><a href="#" class="statistic__tab" data-target=".statistic__log"><%= t('WorkerLog') %></a></li>
  </ul>

  <div class="statistic__container live-reload">
    <div class="statistic__table">
      <div class='statistic__datepicker'>
      <%= t('InformationTable') %>: <input id='datepicker_from' />
      <%= t('End') %>: <input id='datepicker_to' />
      </div>

      <h2><%= t('WorkerTablePerDay') %></h2>
      <div class="table_container">
        <table class="statistic__table table table-hover table-bordered table-striped table-white">
          <thead>
            <th><%= t('Date') %></th>
            <th><%= t('LastRun') %></th>
            <th><%= t('Success') %></th>
            <th><%= t('Failure') %></th>
            <th><%= t('Total') %></th>
            <th><%= t('TimeSec') %></th>
            <th><%= t('AverageSec') %></th>
            <th><%= t('MinTimeSec') %></th>
            <th><%= t('MaxTimeSec') %></th>
            <th><%= t('LastJobStatus') %></th>
          </thead>
          <% @worker_statistic.each do |worker| %>
            <tr>
              <td class="worker"><%= formate_date worker[:date], '%e %B %Y' %></td>
              <td class="worker"><%= formate_date worker[:runtime][:last] %></td>
              <td class="worker"><%= worker[:success] %></td>
              <td class="worker"><%= worker[:failure] %></td>
              <td class="worker"><%= worker[:total] %></td>
              <td class="worker"><%= worker[:runtime][:total] %></td>
              <td class="worker"><%= worker[:runtime][:average] %></td>
              <td class="worker"><%= worker[:runtime][:min] %></td>
              <td class="worker"><%= worker[:runtime][:max] %></td>
              <td class="worker"><%= worker[:last_job_status] %></td>
            </tr>
          <% end %>
        </table>
      </div>
    </div>

    <div class="statistic__log">
      <input type='text' name='' id='statistic__search' value='' placeholder='Search text in log file'/>
      <% @worker_log.each do |line| %>
        <p class="statistic__i"><%= line %></p>
      <% end %>
{'fraction_non_alphanumeric': 0.24203821656050956, 'fraction_numerical': 0.0015441034549314803, 'mean_word_length': 2.738816738816739, 'pattern_counts': {'":': 0, '<': 227, '<?xml version=': 0, '>': 227, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4808590', 'n_tokens_mistral': 1768, 'n_tokens_neox': 1658, 'n_words': 351}