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.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
     1
{% extends "cone_base.html" %}
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
     2
{% block title %}API info{% endblock %}
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
     3
{% block content %}
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
     4
    <h1>Configuration API info</h1><br>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
     5
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
     6
    <table class="report">
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
     7
    <tr>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
     8
        <th class="featureName">File</th>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
     9
        {% for item in data.api_data.columns %}
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    10
        <th class="featureName">{{ data.api_data.columns[item] }}</th>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    11
        {% endfor %}
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    12
    </tr>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    13
    {% for row in data.api_data.data %}
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    14
    {% if row['type'] != '' %}
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    15
    <tr>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    16
        <td><a href="file://{{row['file']}}">{{row['file']}}</a></td>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    17
        {% for colname in data.api_data.columns %}
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    18
        <td>{{ row[colname]|replace('\n', '<br/>') }}</td>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    19
        {% endfor %}
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    20
    </tr>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    21
    {% endif %}
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    22
    {% endfor %}
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    23
    
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    24
    </table>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    25
{% endblock %}