This is Pluto, the webhook server.
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 
 

25 rader
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 %}