configurationengine/source/scripts/tests/testdata/info/custom_value_report_template.html
equal
deleted
inserted
replaced
|
1 {% extends "cone_base.html" %} |
|
2 {% block title %}Data value info{% endblock %} |
|
3 {% block content %} |
|
4 <h1>Configuration data value info (custom template)</h1><br> |
|
5 |
|
6 <table class="report"> |
|
7 <tr> |
|
8 <th class="featureName">Ref</th> |
|
9 <th class="featureName">Name</th> |
|
10 <th class="featureName">Type</th> |
|
11 {% for config in data.value_data.configs %} |
|
12 <th class="featureName">{{ config.path }}</th> |
|
13 {% endfor %} |
|
14 </tr> |
|
15 {% for feature_group in data.value_data.feature_groups %} |
|
16 <tr><th colspan="{{ data.value_data.configs | length + 3 }}">{{ feature_group.name }}</th></tr> |
|
17 {% for feature in feature_group.features %} |
|
18 {% if feature.modified %}<tr bgcolor="#CCCCFF">{% else %}<tr>{% endif %} |
|
19 <td>{{ feature.ref }}</td> |
|
20 <td>{{ feature.name }}</td> |
|
21 <td>{{ feature.type }}</td> |
|
22 |
|
23 {% for config in data.value_data.configs %} |
|
24 <td>{{ config.values[feature.ref] }}</td> |
|
25 {% endfor %} |
|
26 |
|
27 </tr> |
|
28 {% endfor -%} |
|
29 {% endfor %} |
|
30 |
|
31 </table> |
|
32 {% endblock %} |