2022-01-21 02:35:12 +01:00
|
|
|
@using NBitcoin
|
2020-10-16 00:21:37 -05:00
|
|
|
@{
|
2019-09-21 16:28:04 +02:00
|
|
|
Layout = "/Views/Shared/_Layout.cshtml";
|
|
|
|
ViewBag.ShowMenu = ViewBag.ShowMenu ?? true;
|
|
|
|
if (!ViewData.ContainsKey("NavPartialName"))
|
|
|
|
{
|
|
|
|
ViewData["NavPartialName"] = "_Nav";
|
|
|
|
}
|
2017-09-13 23:50:36 +09:00
|
|
|
}
|
|
|
|
|
2021-05-19 04:39:27 +02:00
|
|
|
@section PageHeadContent {
|
|
|
|
@await RenderSectionAsync("PageHeadContent", false)
|
|
|
|
}
|
|
|
|
|
|
|
|
@section PageFootContent {
|
|
|
|
@await RenderSectionAsync("PageFootContent", false)
|
|
|
|
}
|
|
|
|
|
2021-12-11 04:32:23 +01:00
|
|
|
@if (ViewBag.ShowMenu)
|
|
|
|
{
|
2022-01-21 02:35:12 +01:00
|
|
|
<partial name="@ViewData["NavPartialName"].ToString()" />
|
|
|
|
<script>
|
|
|
|
(function () {
|
|
|
|
const activeEl = document.querySelector('#SectionNav .nav .active')
|
2022-02-06 12:39:52 +01:00
|
|
|
if (activeEl) activeEl.scrollIntoView({ block: 'end', inline: 'center' })
|
2022-01-21 02:35:12 +01:00
|
|
|
})()
|
|
|
|
</script>
|
2021-12-11 04:32:23 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
<partial name="_StatusMessage" />
|
|
|
|
|
|
|
|
@RenderBody()
|