ntopng/httpdocs/templates/pages/notifications/webhook/webhook_endpoint.template
2025-02-24 18:09:28 +01:00

39 lines
2.2 KiB
Text

<div class="mb-3 row">
<label class="col-form-label col-sm-3">
<b>{{ i18n("notification_endpoint.webhook.url") }}</b>
<a title="{{ i18n('help') }}" target="blank" href="https://www.ntop.org/guides/ntopng/user_interface/shared/alerts/available_endpoints.html#webhook"><i class="fa-regular fa-circle-question"></i></a>
</label>
<div class="col-sm-7">
<input data-pattern="https" name="webhook_url" type="text" class="form-control" required />
</div>
</div>
<div class="mb-3 row">
<label class="col-form-label col-sm-3">
{{ i18n("notification_endpoint.webhook.shared_secret") }}
<a title="{{ i18n('help') }}" target="blank" href="https://www.ntop.org/guides/ntopng/user_interface/shared/alerts/available_endpoints.html#webhook"><i class="fa-regular fa-circle-question"></i></a>
</label>
<div class="col-sm-7">
<input name="webhook_sharedsecret" type="text" class="form-control" />
<small class="text-muted">{{ i18n("notification_endpoint.optional_field") }}</small>
</div>
</div>
<div class="mb-3 row">
<label class="col-form-label col-sm-3">
{{ i18n("notification_endpoint.webhook.username") }}
<a title="{{ i18n('help') }}" target="blank" href="https://www.ntop.org/guides/ntopng/user_interface/shared/alerts/available_endpoints.html#webhook"><i class="fa-regular fa-circle-question"></i></a>
</label>
<div class="col-sm-7">
<input data-pattern="username" name="webhook_username" type="text" class="form-control" />
<small class="text-muted">{{ i18n("notification_endpoint.optional_field") }}</small>
</div>
</div>
<div class="mb-3 row">
<label class="col-form-label col-sm-3">
{{ i18n("notification_endpoint.webhook.password") }}
<a title="{{ i18n('help') }}" target="blank" href="https://www.ntop.org/guides/ntopng/user_interface/shared/alerts/available_endpoints.html#webhook"><i class="fa-regular fa-circle-question"></i></a>
</label>
<div class="col-sm-7">
<input name="webhook_password" type="password" autocomplete="off" class="form-control" />
<small class="text-muted">{{ i18n("notification_endpoint.optional_field") }}</small>
</div>
</div>