mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-01-19 05:33:31 +01:00
77fba4aee3
* Newlines * Dashboard * Add more translations * Moar * Remove from translated texts * Dictionary controller translations * Batch 1 of controller updates * Batch 2 of controller updates * Component translations * Batch 3 of controller updates * Fixes
27 lines
1.0 KiB
Plaintext
27 lines
1.0 KiB
Plaintext
@using BTCPayServer.HostedServices.Webhooks
|
|
@model EditWebhookViewModel
|
|
@inject WebhookSender WebhookSender
|
|
@{
|
|
ViewData.SetActivePage(StoreNavPages.Webhooks, StringLocalizer["Send a test event to a webhook endpoint"], Context.GetStoreData().Id);
|
|
}
|
|
<form method="post">
|
|
<div class="sticky-header">
|
|
<h2 text-translate="true">@ViewData["Title"]</h2>
|
|
<button id="page-primary" type="submit" class="btn btn-primary mt-3" text-translate="true">Send test webhook</button>
|
|
</div>
|
|
<partial name="_StatusMessage" />
|
|
<div class="row">
|
|
<div class="col-lg-8">
|
|
<div class="form-group">
|
|
<label for="Type" class="form-label" text-translate="true">Event type</label>
|
|
<select
|
|
asp-items="@WebhookSender.GetSupportedWebhookTypes().Select(s => new SelectListItem(s.Value,s.Key))"
|
|
name="Type"
|
|
id="Type"
|
|
class="form-select w-auto"
|
|
></select>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</form>
|