btcpayserver/BTCPayServer/Views/UIStores/TestWebhook.cshtml

25 lines
853 B
Plaintext
Raw Normal View History

2021-04-19 02:53:57 +02:00
@model EditWebhookViewModel
@using BTCPayServer.Client.Models;
@{
Layout = "../Shared/_NavLayout.cshtml";
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">
<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>
<button type="submit" class="btn btn-primary mt-3">Send test webhook</button>
2021-04-19 02:53:57 +02:00
</form>
</div>
</div>