btcpayserver/BTCPayServer/Views/Shared/Confirm.cshtml

50 lines
1.6 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>
2019-10-31 07:10:00 +01:00
<div class="modal-body">
<div class="row">
<div class="col-lg-12 text-center">
2020-07-13 08:13:27 +02:00
<p>
@if (Model.DescriptionHtml)
{
@Safe.Raw(Model.Description)
}
else
{
@Model.Description
}
</p>
2019-10-31 07:10:00 +01:00
</div>
</div>
@if (!String.IsNullOrEmpty(Model.Action))
{
<div class="row">
<div class="col-lg-12 text-center">
2020-02-26 10:26:38 +01:00
<form method="post" action="@Model.ActionUrl">
<button id="continue" type="submit" class="btn @Model.ButtonClass w-25">@Model.Action</button>
2019-10-31 07:10:00 +01:00
<button type="submit" class="btn btn-secondary w-25" onclick="history.back(); return false;">Go back</button>
</form>
</div>
</div>
}
</div>
</div>
</div>
2019-10-31 07:10:00 +01:00
</body>
</html>