Sha256: aa71c0c541345bb5611472766790c37606c7f248830627341da57f9817e7c2c1

Contents?: true

Size: 1.9 KB

Versions: 17

Compression:

Stored size: 1.9 KB

Contents

  <% if @presenter.history? && @presenter.display_history_details?%>
      <div id="availability-history" class="status-section">
        <h3><%= t('qa_server.monitor_status.history.title') %></h3>
        <p class="status-update-dtstamp"><%= t('qa_server.monitor_status.history.since', date: @presenter.first_updated) %></p>
        <%#= column_chart @presenter.historical_summary, stacked: true, colors: ["green", "red"], xtitle: 'Authority', ytitle: 'Pass-Fail', legend: 'bottom' %>
        <% if @presenter.display_historical_graph? %>
          <%= image_tag(@presenter.historical_graph, alt: 'History Graph Unavailable') %>
        <% end %>

        <% if @presenter.display_historical_datatable? %>
          <table class="status">
            <tr>
              <th><%= t('qa_server.monitor_status.history.authority') %></th>
              <th><%= t('qa_server.monitor_status.history.days_tested') %></th>
              <th><%= t('qa_server.monitor_status.history.days_passing') %></th>
              <th><%= t('qa_server.monitor_status.history.days_failing') %></th>
              <th><%= t('qa_server.monitor_status.history.percent_failing') %></th>
            </tr>
            <% @presenter.historical_summary.each do |entry| %>
                <tr>
                  <td><%= @presenter.historical_data_authority_name(entry) %></td>
                  <td class="status-neutral"><%= @presenter.days_authority_tested(entry) %></td>
                  <td class="<%= @presenter.passing_style_class(entry) %>"><%= @presenter.days_authority_passing(entry) %></td>
                  <td class="<%= @presenter.failure_style_class(entry) %>"><%= @presenter.days_authority_failing(entry) %></td>
                  <td class="<%= @presenter.failure_style_class(entry) %>"><%= @presenter.percent_authority_failing_str(entry) %></td>
                </tr>
            <% end %>
          </table>
        <% end %>
      </div>
  <% end %>

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
qa_server-5.5.0 app/views/qa_server/monitor_status/_test_history.html.erb
qa_server-5.4.0 app/views/qa_server/monitor_status/_test_history.html.erb
qa_server-5.3.0 app/views/qa_server/monitor_status/_test_history.html.erb
qa_server-5.2.1 app/views/qa_server/monitor_status/_test_history.html.erb
qa_server-5.2.0 app/views/qa_server/monitor_status/_test_history.html.erb
qa_server-5.1.0 app/views/qa_server/monitor_status/_test_history.html.erb
qa_server-5.0.3 app/views/qa_server/monitor_status/_test_history.html.erb
qa_server-5.0.2 app/views/qa_server/monitor_status/_test_history.html.erb
qa_server-5.0.1 app/views/qa_server/monitor_status/_test_history.html.erb
qa_server-5.0.0 app/views/qa_server/monitor_status/_test_history.html.erb
qa_server-4.0.0 app/views/qa_server/monitor_status/_test_history.html.erb
qa_server-3.0.3 app/views/qa_server/monitor_status/_test_history.html.erb
qa_server-3.0.2 app/views/qa_server/monitor_status/_test_history.html.erb
qa_server-3.0.1 app/views/qa_server/monitor_status/_test_history.html.erb
qa_server-3.0.0 app/views/qa_server/monitor_status/_test_history.html.erb
qa_server-2.2.3 app/views/qa_server/monitor_status/_test_history.html.erb
qa_server-2.2.2 app/views/qa_server/monitor_status/_test_history.html.erb