ntopng/scripts/plugins/endpoints/webhook_alert_endpoint/templates/webhook_endpoint.template
Simone Mainardi 1dce9e5842 Migrates to Bootstrap 5
Adds bootstrap-5.0.0-beta3-dist

Adds bootstrap-5.0.0

Updates bootstrap-5.0.0-beta3-dist to bootstrap-5.0.0-dist

initial migration to bs v5

porting to bs5

improvements on dropdown menu filter

fixed host map dropdown

removed excessive padding

fix button toggle

re-add blog news

removed text decoration for links

fix button layout (#5348)

remove underscore from href (#5347)
2021-05-18 11:39:59 +02:00

35 lines
No EOL
1.3 KiB
Text

<div class="mb-3 row">
<label class="col-form-label col-sm-3">
<b>{{ i18n("webhook_alert_endpoint.url") }}</b>
</label>
<div class="col-sm-5">
<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("webhook_alert_endpoint.shared_secret") }}
</label>
<div class="col-sm-5">
<input name="webhook_sharedsecret" type="text" class="form-control" />
<small class="text-muted">{{ i18n("optional_field") }}</small>
</div>
</div>
<div class="mb-3 row">
<label class="col-form-label col-sm-3">
{{ i18n("webhook_alert_endpoint.username") }}
</label>
<div class="col-sm-5">
<input data-pattern="username" name="webhook_username" type="text" class="form-control" />
<small class="text-muted">{{ i18n("optional_field") }}</small>
</div>
</div>
<div class="mb-3 row">
<label class="col-form-label col-sm-3">
{{ i18n("webhook_alert_endpoint.password") }}
</label>
<div class="col-sm-5">
<input name="webhook_password" type="password" class="form-control" />
<small class="text-muted">{{ i18n("optional_field") }}</small>
</div>
</div>