monitoring-overview-summary.html.twig in Monitoring 8
Default theme implementation for monitoring overview summary.
1 theme call to monitoring-overview-summary.html.twig
- SensorList::content in src/
Controller/ SensorList.php
File
templates/monitoring-overview-summary.html.twigView source
- {#
- /**
- * @file
- * Default theme implementation for monitoring overview summary.
- *
- * @ingroup themeable
- */
- #}
-
- <div class="monitoring-overview-summary">
- {% 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"> </span> {{ ok }} OK, <span class="monitoring-summary-info"> </span> {{ info }} Info, <span class="monitoring-summary-warning"> </span> {{ warning }} Warning, <span class="monitoring-summary-critical"> </span> {{ critical }} Critical, <span class="monitoring-summary-unknown"> </span> {{ unknown }} Unknown{% endtrans %}
- </div>
-
- {% if has_force_run_permission %}
- <div class="monitoring-overview-summary-actions-right">
- <a href="{{ path('monitoring.force_run_all') }}" class="button button-action button--primary button--small">{{ 'Force execute all'|t }}</a>
- </div>
- {% endif %}
-
- <div class="monitoring-overview-summary-actions-right">
- {% if oldest_sensor_label %}
- {% trans %}Sensor {{ oldest_sensor_label|placeholder }} ({{ oldest_sensor_category|placeholder }}) cached before {{ oldest_sensor_called_before }}{% endtrans %}
- {% else %}
- {{ 'No sensor cached.'|t }}
- {% endif %}
- </div>