configurationengine/source/scripts/info_api_report_template.html
author terytkon
Thu, 11 Mar 2010 17:04:37 +0200
changeset 0 2e8eeb919028
child 3 e7e0ae78773e
permissions -rw-r--r--
Adding EPL version of configurationengine.

{% extends "cone_base.html" %}
{% block title %}API info{% endblock %}
{% block content %}
    <h1>Configuration API info</h1><br>

    <table class="report">
    <tr>
        <th class="featureName">File</th>
        {% for item in data.api_data.columns %}
        <th class="featureName">{{ data.api_data.columns[item] }}</th>
        {% endfor %}
    </tr>
    {% for row in data.api_data.data %}
    {% if row['type'] != '' %}
    <tr>
        <td><a href="file://{{row['file']}}">{{row['file']}}</a></td>
        {% for colname in data.api_data.columns %}
        <td>{{ row[colname]|replace('\n', '<br/>') }}</td>
        {% endfor %}
    </tr>
    {% endif %}
    {% endfor %}
    
    </table>
{% endblock %}