btcpayserver/BTCPayServer/Views/Shared/_NavLayout.cshtml

35 lines
605 B
Plaintext
Raw Normal View History

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