configurationengine/source/scripts/tests/testdata/info/custom_value_report_template.html
author terytkon
Thu, 11 Mar 2010 17:04:37 +0200
changeset 0 2e8eeb919028
permissions -rw-r--r--
Adding EPL version of configurationengine.

{% extends "cone_base.html" %}
{% block title %}Data value info{% endblock %}
{% block content %}
    <h1>Configuration data value info (custom template)</h1><br>

    <table class="report">
    <tr>
        <th class="featureName">Ref</th>
        <th class="featureName">Name</th>
        <th class="featureName">Type</th>
        {% for config in data.value_data.configs %}
        <th class="featureName">{{ config.path }}</th>
        {% endfor %}
    </tr>
    {% for feature_group in data.value_data.feature_groups %}
    <tr><th colspan="{{ data.value_data.configs | length + 3 }}">{{ feature_group.name }}</th></tr>
    {% for feature in feature_group.features %}
    {% if feature.modified %}<tr bgcolor="#CCCCFF">{% else %}<tr>{% endif %}
        <td>{{ feature.ref }}</td>
        <td>{{ feature.name }}</td>
        <td>{{ feature.type }}</td>
        
        {% for config in data.value_data.configs %}
        <td>{{ config.values[feature.ref] }}</td>
        {% endfor %}
        
    </tr>
    {% endfor -%}
    {% endfor %}
    
    </table>
{% endblock %}