btcpayserver/BTCPayServer/Views/Shared/Confirm.cshtml
d11n 06db29dd43
Delete confirmation modals (#2614)
* Refactor confirm view: separate modal

* Add delete confirmation modals for apps and FIDO2

* Add delete confirmation modals for 2FA actions

* Add delete confirmation modals for api keys and webhooks

* Add delete confirmation modals for stores and store users

* Add delete confirmation modals for LND seed and SSH

* Add delete confirmation modals for rate rule scripting

* Test fixes and improvements

* Add delete confirmation modals for dynamic DNS

* Add delete confirmation modals for store access tokens

* Add confirmation modals for pull payment archiving

* Refactor confirm modal code

* Add confirmation input, update wording

* Update modal styles

* Upgrade ChromeDriver

* Simplify and unify confirmation input

* Test fixes

* Fix wording

* Add modals for wallet replace and removal
2021-09-07 11:55:53 +09:00

25 lines
531 B
Plaintext

@model ConfirmModel
@{
ViewData["Title"] = Model.Title;
Layout = "_LayoutSimple";
}
@section PageHeadContent {
<style>
body > .content-wrapper { display: flex; min-height: 100vh; }
.modal-dialog .btn-close { display: none; }
</style>
}
@section PageFootContent {
<script>
document.getElementById('ConfirmCancel').addEventListener('click', function () {
history.back();
return false;
})
</script>
}
<partial name="ConfirmModal" model="Model" />