btcpayserver/BTCPayServer/Views/Shared/_NavLayout.cshtml
2017-10-17 13:52:30 +09:00

35 lines
605 B
Plaintext

@{
Layout = "/Views/Shared/_Layout.cshtml";
ViewBag.ShowMenu = ViewBag.ShowMenu ?? true;
}
<section>
<div class="container">
<div class="row">
<div class="col-lg-12 text-center">
<h2 class="section-heading">@ViewData["MainTitle"]</h2>
<hr class="primary">
</div>
</div>
<div>
<div class="row">
<div class="col-md-3">
@if(ViewBag.ShowMenu)
{
@await Html.PartialAsync("_Nav")
}
</div>
<div class="col-md-9">
@RenderBody()
</div>
</div>
</div>
</div>
</section>
@section Scripts {
@RenderSection("Scripts", required: false)
}