32 lines
830 B
HTML
32 lines
830 B
HTML
{% extends 'base' %}{% block title %} {{ payload.webhook.gitea_url }}{% endblock title %} {% block nav
|
|
%} {% include "auth_nav" %} {% endblock nav %} {% block main %}
|
|
|
|
<main class="sites__main">
|
|
<div class="add-site__container">
|
|
<section>
|
|
<table>
|
|
<tr>
|
|
<th>Webhook URL</th>
|
|
<td>{{ payload.url }}</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th>Secret</th>
|
|
<td>
|
|
{% if show_gitea_webhook_secret %}
|
|
{{ payload.webhook.gitea_webhook_secret }} <a href="{{ payload.view }}">Hide</a>
|
|
{% else %}
|
|
****
|
|
<a href="{{ payload.view }}?show_gitea_webhook_secret=true">
|
|
Show
|
|
</a>
|
|
{% endif %}
|
|
</td>
|
|
</tr>
|
|
|
|
</table>
|
|
</section>
|
|
</div>
|
|
</main>
|
|
|
|
{% endblock main %}
|