mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-01-19 05:33:31 +01:00
0f8da123b8
* UI: Move section navigation to sidebar * Scroll active nav link into view * Move CTAs to top right * Server Settings: Make Policies first page * Responsive table fixes * Spacing fixes * Add breadcrumb samples * store settings fixes * payment request fixes * updates pull payment title * adds invoice detail fix * updates server settings breadcrumbs + copy fix * Don't open Server Settings on Plugins page * Add breadcrumbs to pull payment views * adds breadcrumbs to account * server and store breadcrumb fixes * fixes access tokens * Fix payment processor breadcrumbs * fixes webhook 404 * Final touches * Fix test * Add breadcrumb for email rules page * Design system updates --------- Co-authored-by: dstrukt <gfxdsign@gmail.com>
27 lines
958 B
Plaintext
27 lines
958 B
Plaintext
@using BTCPayServer.HostedServices.Webhooks
|
|
@model EditWebhookViewModel
|
|
@inject WebhookSender WebhookSender
|
|
@{
|
|
ViewData.SetActivePage(StoreNavPages.Webhooks, "Send a test event to a webhook endpoint", Context.GetStoreData().Id);
|
|
}
|
|
<form method="post">
|
|
<div class="sticky-header">
|
|
<h2>@ViewData["Title"]</h2>
|
|
<button type="submit" class="btn btn-primary mt-3">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">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>
|