You are here

monitoring-overview-summary.html.twig in Monitoring 8

Default theme implementation for monitoring overview summary.

File

templates/monitoring-overview-summary.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation for monitoring overview summary.
  5. *
  6. * @ingroup themeable
  7. */
  8. #}
  9. <div class="monitoring-overview-summary">
  10. {% trans %}<span class="monitoring-summary-time">Request execution time: <strong>{{ time_non_cached }}ms</strong> (including cached <strong>{{ time_total }}ms</strong>)</span>, <span class="monitoring-summary-ok">&nbsp;</span> {{ ok }} OK, <span class="monitoring-summary-info">&nbsp;</span> {{ info }} Info, <span class="monitoring-summary-warning">&nbsp;</span> {{ warning }} Warning, <span class="monitoring-summary-critical">&nbsp;</span> {{ critical }} Critical, <span class="monitoring-summary-unknown">&nbsp;</span> {{ unknown }} Unknown{% endtrans %}
  11. </div>
  12. {% if has_force_run_permission %}
  13. <div class="monitoring-overview-summary-actions-right">
  14. <a href="{{ path('monitoring.force_run_all') }}" class="button button-action button--primary button--small">{{ 'Force execute all'|t }}</a>
  15. </div>
  16. {% endif %}
  17. <div class="monitoring-overview-summary-actions-right">
  18. {% if oldest_sensor_label %}
  19. {% trans %}Sensor {{ oldest_sensor_label|placeholder }} ({{ oldest_sensor_category|placeholder }}) cached before {{ oldest_sensor_called_before }}{% endtrans %}
  20. {% else %}
  21. {{ 'No sensor cached.'|t }}
  22. {% endif %}
  23. </div>