btcpayserver/BTCPayServer/Views/UIStores/TestWebhook.cshtml
dstrukt c3f73c0de3
Content Consistency Updates (1.4.0) (#3316)
* updates

* updates

* updates

* updates

* updates

* moves api key CTA to top right

* updates

* more updates

* more updates

* Fix active state when "Account" is selected

* Update wording in subnav: Profile becomes Account

* Fix email test

* Update Emails wording

* Try to fix email test

* Make General first tab in store settings

Co-authored-by: Dennis Reimann <mail@dennisreimann.de>
2022-01-18 10:19:27 +09:00

25 lines
853 B
Plaintext

@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);
}
<div class="row">
<div class="col-lg-8">
<form method="post">
<h3 class="mb-3">@ViewData["Title"]</h3>
<div class="form-group">
<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>
</div>
<button type="submit" class="btn btn-primary mt-3">Send test webhook</button>
</form>
</div>
</div>