configurationengine/source/scripts/info_api_report_template.html
changeset 0 2e8eeb919028
child 3 e7e0ae78773e
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/configurationengine/source/scripts/info_api_report_template.html	Thu Mar 11 17:04:37 2010 +0200
@@ -0,0 +1,25 @@
+{% 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 %}
\ No newline at end of file