btcpayserver/BTCPayServer/Views/Shared/_LayoutSimple.cshtml
2022-01-11 18:56:30 +01:00

30 lines
1.0 KiB
Plaintext

@inject BTCPayServer.Services.BTCPayServerEnvironment env
@{
Layout = null;
}
<!DOCTYPE html>
<html lang="en"@(env.IsDeveloping ? " data-devenv" : "")>
<head>
<partial name="LayoutHead" />
@await RenderSectionAsync("PageHeadContent", false)
<style>
.btcpay-footer { max-width: 600px; margin-left: auto; margin-right: auto; }
.btcpay-footer .flex-xl-row { flex-direction: column !important; }
.btcpay-footer .justify-content-xl-start { justify-content: center !important; }
.btcpay-footer .mb-xl-0 { margin-bottom: 0.5rem !important; }
</style>
</head>
<body class="d-flex flex-column min-vh-100">
<section class="content-wrapper flex-grow-1">
@*Dummy navbar-brand, hackish way to keep test AssertNoError passing*@
<div class="navbar-brand d-none"></div>
<div class="container">
@RenderBody()
</div>
</section>
<partial name="_Footer"/>
<partial name="LayoutFoot" />
@await RenderSectionAsync("PageFootContent", false)
</body>
</html>