2014-01-26 05:11:21 +00:00
|
|
|
{#
|
|
|
|
/**
|
2014-04-23 04:01:59 +00:00
|
|
|
* @file
|
2014-01-26 05:11:21 +00:00
|
|
|
* Default theme implementation for the status report.
|
|
|
|
*
|
|
|
|
* Available variables:
|
|
|
|
* - requirements: Contains multiple requirement instances.
|
|
|
|
* Each requirement contains:
|
|
|
|
* - title: The title of the requirement.
|
|
|
|
* - value: (optional) The requirement's status.
|
|
|
|
* - description: (optional) The requirement's description.
|
|
|
|
* - severity_title: The title of the severity.
|
2014-10-05 15:56:28 +00:00
|
|
|
* - severity_status: Indicates the severity status.
|
2014-01-26 05:11:21 +00:00
|
|
|
*
|
|
|
|
* @see template_preprocess_status_report()
|
|
|
|
*
|
|
|
|
* @ingroup themeable
|
|
|
|
*/
|
|
|
|
#}
|
|
|
|
<table class="system-status-report">
|
2015-11-03 11:31:00 +00:00
|
|
|
<tbody>
|
2014-01-26 05:11:21 +00:00
|
|
|
{% for requirement in requirements %}
|
Issue #1591744 by MathieuSpil, pguillard, droplet, rudraram, DeeLay, LewisNyman, mansspams, Aleksandar_P, Manjit.Singh, cchanana, lauriii: Clean up CSS and markup for status report
2015-09-10 12:36:04 +00:00
|
|
|
<tr class="system-status-report__entry system-status-report__entry--{{ requirement.severity_status }} color-{{ requirement.severity_status }}">
|
|
|
|
{% if requirement.severity_status in ['warning', 'error'] %}
|
|
|
|
<th class="system-status-report__status-title system-status-report__status-icon system-status-report__status-icon--{{ requirement.severity_status }}">
|
|
|
|
<span class="visually-hidden">{{ requirement.severity_title }}</span>
|
|
|
|
{% else %}
|
|
|
|
<th class="system-status-report__status-title">
|
|
|
|
{% endif %}
|
|
|
|
{{ requirement.title }}
|
|
|
|
</th>
|
|
|
|
<td>
|
|
|
|
{{ requirement.value }}
|
|
|
|
{% if requirement.description %}
|
|
|
|
<div class="description">{{ requirement.description }}</div>
|
|
|
|
{% endif %}
|
|
|
|
</td>
|
|
|
|
</tr>
|
2014-01-26 05:11:21 +00:00
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
</table>
|