Files
Hasscall/app/templates/callbacks.html
T

24 lines
753 B
HTML

{% extends "base/layout.html" %}
{% block main %}
{{ super() }}
<div>
<h1>Callbacks</h1>
<button onclick="window.location.href='{{ url_for('create_callback') }}';">Create New</button>
<table>
<tr>
<th>Name</th>
<th>Link</th>
</tr>
{% for callback in callbacks %}
<tr>
<td>{{callback.name}}</td>
<td>
<button onclick="window.location.href='{{ url_for('callback', uuid=callback.uuid) }}';">Edit</button>
<button onclick="navigator.clipboard.writeText(window.location.origin + '{{ url_for('hook', uuid=callback.uuid) }}');">Copy URL</button>
</td>
</tr>
{% endfor %}
</table>
</div>
{% endblock %}