equal
deleted
inserted
replaced
|
1 {% extends "cone_base.html" %} |
|
2 {% block title %}API info{% endblock %} |
|
3 {% block content %} |
|
4 <h1>Configuration API info</h1><br> |
|
5 |
|
6 <table class="report"> |
|
7 <tr> |
|
8 <th class="featureName">File</th> |
|
9 {% for item in data.api_data.columns %} |
|
10 <th class="featureName">{{ data.api_data.columns[item] }}</th> |
|
11 {% endfor %} |
|
12 </tr> |
|
13 {% for row in data.api_data.data %} |
|
14 {% if row['type'] != '' %} |
|
15 <tr> |
|
16 <td><a href="file://{{row['file']}}">{{row['file']}}</a></td> |
|
17 {% for colname in data.api_data.columns %} |
|
18 <td>{{ row[colname]|replace('\n', '<br/>') }}</td> |
|
19 {% endfor %} |
|
20 </tr> |
|
21 {% endif %} |
|
22 {% endfor %} |
|
23 |
|
24 </table> |
|
25 {% endblock %} |