This is Pluto, the webhook server.
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 

44 строки
1.4 KiB

{% extends "base.html" %}
{% block title %}Pluto - Logs{% endblock %}
{% block content %}
<p>
Here are the most recent {{ n }} entries in the debug log:
</p>
<table id="logs" class="debug">
<tr>
<th>Time</th>
<th>Path</th>
<th>Headers</th>
<th>Data</th>
<th>Hook</th>
<th>Actor</th>
<th>Success</th>
<th>Message</th>
</tr>
{% for log in logs %}
<tr>
<td class="time">{{ log.time | ctime }}</td>
<td class="path">{{ log.path }}</td>
<td class="headers">{{ log.headers | hloads | pprint(True) }}</td>
<td class="data">{{ log.data | jloads | pprint(True) }}</td>
<td class="hook">{{ macros.hook_id(log.hook) }}</td>
<td class="actor">
{% if log.cond %}
{{ macros.cond_id(log.cond) }}
{% elif log.act %}
{{ macros.act_id(log.act) }}
{% else %}
{{ macros.hook_id(log.hook) }}
{% endif %}
</td>
<td class="success">{{ macros.yesno(log.success) }}</td>
<td class="message">{{ log.message }}</td>
</tr>
{% else %}
<tr>
<td colspan="8" class="nodata">No data.</td>
</tr>
{% endfor %}
</table>
{% endblock %}