添加daily report生成

This commit is contained in:
pengtao 2019-10-22 15:23:31 +08:00
parent cc519a280a
commit 5462e02bca

View File

@ -37,17 +37,18 @@
<td>新增</td> <td>新增</td>
<td>分享</td> <td>分享</td>
<td>K值</td> <td>K值</td>
<br>
</tr> </tr>
{% for line in data.get('input') %} {% for line in data.get('input') %}
<br>
<tr> <tr>
{%for item in line%} {%for item in line%}
<th>{{ item }}</th> <th>{{ item }}</th>
{% endfor %} {% endfor %}
</tr> </tr>
<br>
{% endfor %} {% endfor %}
<h1>导出数据:</h1>> <h1>导出数据:</h1>>
@ -56,15 +57,18 @@
<td>跳转目标</td> <td>跳转目标</td>
<td>跳转次数</td> <td>跳转次数</td>
<td>跳转人数</td> <td>跳转人数</td>
<br>
</tr> </tr>
{% for line in data.get('output') %} {% for line in data.get('output') %}
<br>
<tr> <tr>
{% for item in line %} {% for item in line %}
<th>{{ item }}</th> <th>{{ item }}</th>
{% endfor %} {% endfor %}
</tr> </tr>
<br>
{% endfor %} {% endfor %}
</body> </body>