btcpayserver/BTCPayServer/Views/Shared/Confirm.cshtml

42 lines
1.2 KiB
Plaintext
Raw Normal View History

2017-10-23 15:55:46 +02:00
@model ConfirmModel
2019-10-31 07:10:00 +01:00
2017-10-23 15:55:46 +02:00
@{
ViewData["Title"] = Model.Title;
2019-10-31 07:10:00 +01:00
Layout = null;
2017-10-23 15:55:46 +02:00
}
2019-10-31 07:10:00 +01:00
<!DOCTYPE html>
<html lang="en">
<head>
<partial name="Header" />
2019-10-31 07:10:00 +01:00
</head>
<body class="bg-light">
<div class="modal-dialog modal-dialog-centered">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title w-100 text-center">@Model.Title</h4>
</div>
<div class="modal-body text-center">
@if (Model.DescriptionHtml)
{
@Safe.Raw(Model.Description)
}
else
2019-10-31 07:10:00 +01:00
{
@Model.Description
2019-10-31 07:10:00 +01:00
}
</div>
@if (!String.IsNullOrEmpty(Model.Action))
{
<form method="post" class="modal-footer justify-content-center" action="@Model.ActionUrl">
<button type="submit" class="btn @Model.ButtonClass w-25 mx-2" id="continue">@Model.Action</button>
<button type="submit" class="btn btn-secondary w-25 mx-2" onclick="history.back(); return false;">Go back</button>
</form>
}
</div>
</div>
2019-10-31 07:10:00 +01:00
</body>
</html>