This is Pluto, the webhook server.
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 
 

44 lignes
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 %}