2021-04-19 02:53:57 +02:00
|
|
|
@model EditWebhookViewModel
|
|
|
|
@using BTCPayServer.Client.Models;
|
|
|
|
@{
|
|
|
|
Layout = "../Shared/_NavLayout.cshtml";
|
2021-12-31 08:36:38 +01:00
|
|
|
ViewData.SetActivePage(StoreNavPages.Webhooks, "Send a test event to a webhook endpoint", Context.GetStoreData().Id);
|
2021-04-19 02:53:57 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-lg-8">
|
|
|
|
<form method="post">
|
2022-01-18 02:19:27 +01:00
|
|
|
<h3 class="mb-3">@ViewData["Title"]</h3>
|
2021-04-19 07:52:32 +02:00
|
|
|
<div class="form-group">
|
2021-06-04 06:15:53 +02:00
|
|
|
<label for="Type" class="form-label">Event type</label>
|
|
|
|
<select
|
|
|
|
asp-items="Html.GetEnumSelectList<WebhookEventType>()"
|
|
|
|
name="Type"
|
|
|
|
id="Type"
|
|
|
|
class="form-select w-auto"
|
|
|
|
></select>
|
2021-04-19 07:52:32 +02:00
|
|
|
</div>
|
2022-01-18 02:19:27 +01:00
|
|
|
<button type="submit" class="btn btn-primary mt-3">Send test webhook</button>
|
2021-04-19 02:53:57 +02:00
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|