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.
 
 
 
 

25 lignes
1.3 KiB

{% extends "base.html" %}
{% block title %}Pluto - Hook {{hook.name}}{% endblock %}
{% block content %}
<p>This is hook {{ hook.rowid }}, named "{{ hook.name }}", presently {% if hook.disabled %}<span class="negative">disabled</span>{% else %}<span class="positive">enabled</span>{% endif %}, presently {% if hook.debugged %}<span class="positive">debugged (<a href="/debuglogs">see entries</a>)</span>{% else %}<span class="negative">not debugged</span>{% endif %}.</p>
<div class="neutbutton edbutton hacks-flr"><a href="/hook/{{ hook.rowid }}/edit">Edit</a></div>
<div class="negbutton rembutton hacks-flr"><a href="/hook/{{ hook.rowid }}/delete">Delete</a></div>
<p>Conditions for activation:</p>
<ul>
{% for cond in g.Condition.for_hook(hook) %}
<li>{{ macros.cond(cond) }}</li>
{% else %}
<li class="nodata">No conditions</li>
{% endfor %}
<li class="posbutton addbutton"><a href="/hook/{{ hook.rowid }}/newcond">Add condition</a></li>
</ul>
<p>Actions upon activation:</p>
<ul>
{% for act in g.Action.for_hook(hook) %}
<li>{{ macros.act(act) }}</li>
{% else %}
<li class="nodata">No actions</li>
{% endfor %}
<li class="posbutton addbutton"><a href="/hook/{{ hook.rowid }}/newact">Add action</a></li>
</ul>
{% endblock %}