btcpayserver/BTCPayServer/Views/Stores/TestWebhook.cshtml

27 lines
869 B
Plaintext
Raw Normal View History

2021-04-19 02:53:57 +02:00
@model EditWebhookViewModel
@using BTCPayServer.Client.Models;
@{
Layout = "../Shared/_NavLayout.cshtml";
2021-04-19 07:52:32 +02:00
ViewData.SetActivePageAndTitle(StoreNavPages.Webhooks, "Send a test event to a webhook endpoint", Context.GetStoreData().StoreName);
2021-04-19 02:53:57 +02:00
}
<div class="row">
<div class="col-lg-8">
<form method="post">
<h4 class="mb-3">@ViewData["PageTitle"]</h4>
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">Send test webhook</button>
2021-04-19 02:53:57 +02:00
</form>
</div>
</div>