mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-03-10 09:19:24 +01:00
* UI: Move section navigation to sidebar * Scroll active nav link into view * Move CTAs to top right * Server Settings: Make Policies first page * Responsive table fixes * Spacing fixes * Add breadcrumb samples * store settings fixes * payment request fixes * updates pull payment title * adds invoice detail fix * updates server settings breadcrumbs + copy fix * Don't open Server Settings on Plugins page * Add breadcrumbs to pull payment views * adds breadcrumbs to account * server and store breadcrumb fixes * fixes access tokens * Fix payment processor breadcrumbs * fixes webhook 404 * Final touches * Fix test * Add breadcrumb for email rules page * Design system updates --------- Co-authored-by: dstrukt <gfxdsign@gmail.com>
30 lines
950 B
Text
30 lines
950 B
Text
@model GenerateRecoveryCodesViewModel
|
|
@{
|
|
ViewData.SetActivePage(ManageNavPages.TwoFactorAuthentication, "Recovery codes");
|
|
}
|
|
|
|
<h2 class="mb-2 mb-lg-3">@ViewData["Title"]</h2>
|
|
<partial name="_StatusMessage" />
|
|
|
|
<div class="alert alert-warning" role="alert">
|
|
<h5>
|
|
<vc:icon symbol="warning" />
|
|
Put these codes in a safe place
|
|
</h5>
|
|
<p class="mb-0">
|
|
If you lose your device and don't have the recovery codes you will lose access to your account.
|
|
</p>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-12">
|
|
@for(var row = 0; row < Model.RecoveryCodes.Length; row += 2)
|
|
{
|
|
<code>@Model.RecoveryCodes[row]</code><text> </text><code>@Model.RecoveryCodes[row + 1]</code><br />
|
|
}
|
|
</div>
|
|
</div>
|
|
<div class="row mt-4">
|
|
<div class="col-md-12">
|
|
<a asp-action="TwoFactorAuthentication" class="btn btn-primary">I wrote down my recovery codes</a>
|
|
</div>
|
|
</div>
|