mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-23 22:46:49 +01:00
* Unit test to check for (possibly) external links * Add rel="noreferrer noopener" to all external links so unit test passes * Update BTCPayServer.Tests/UnitTest1.cs Co-authored-by: Andrew Camilleri <evilkukka@gmail.com> * Update BTCPayServer.Tests/UnitTest1.cs Co-authored-by: Andrew Camilleri <evilkukka@gmail.com> * Fixed bad merge from master * PascalCasing Co-authored-by: Andrew Camilleri <evilkukka@gmail.com>
42 lines
1.3 KiB
Text
42 lines
1.3 KiB
Text
@model ConfirmModel
|
|
|
|
@{
|
|
ViewData["Title"] = Model.Title;
|
|
Layout = null;
|
|
}
|
|
|
|
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<partial name="LayoutHead" />
|
|
</head>
|
|
<body class="bg-light">
|
|
<div class="modal-dialog modal-dialog-centered min-vh-100">
|
|
<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
|
|
{
|
|
@Model.Description
|
|
}
|
|
</div>
|
|
|
|
@if (!string.IsNullOrEmpty(Model.Action))
|
|
{
|
|
<form method="post" class="modal-footer justify-content-center" action="@Model.ActionUrl" rel="noreferrer noopener">
|
|
<button type="submit" class="btn @Model.ButtonClass xmx-2" id="continue" style="min-width:25%;">@Model.Action</button>
|
|
<button type="submit" class="btn btn-secondary mx-2" onclick="history.back(); return false;" style="min-width:25%;">Go back</button>
|
|
</form>
|
|
}
|
|
</div>
|
|
</div>
|
|
<partial name="LayoutFoot" />
|
|
</body>
|
|
</html>
|