diff options
author | Khloe Leclair <xivkhloeleclair@gmail.com> | 2022-04-12 13:50:51 -0400 |
---|---|---|
committer | Khloe Leclair <xivkhloeleclair@gmail.com> | 2022-04-12 13:50:51 -0400 |
commit | 4f54f517ce3d6fd6e87cfee6b0ce61346d62c3e3 (patch) | |
tree | 8a6a1e62989dd2b197f806466fdee94417699d07 /src/SMAPI.Web/Views/LogParser/Index.cshtml | |
parent | 0b9227564979b3e6e71dbd48ced2a9b7407fd640 (diff) | |
download | SMAPI-4f54f517ce3d6fd6e87cfee6b0ce61346d62c3e3.tar.gz SMAPI-4f54f517ce3d6fd6e87cfee6b0ce61346d62c3e3.tar.bz2 SMAPI-4f54f517ce3d6fd6e87cfee6b0ce61346d62c3e3.zip |
Use an optional section for rendering quick navigation links on the mod viewer, containing them within the #sidebar element.
Diffstat (limited to 'src/SMAPI.Web/Views/LogParser/Index.cshtml')
-rw-r--r-- | src/SMAPI.Web/Views/LogParser/Index.cshtml | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/src/SMAPI.Web/Views/LogParser/Index.cshtml b/src/SMAPI.Web/Views/LogParser/Index.cshtml index d95499b7..d55bfd4d 100644 --- a/src/SMAPI.Web/Views/LogParser/Index.cshtml +++ b/src/SMAPI.Web/Views/LogParser/Index.cshtml @@ -95,16 +95,18 @@ } @* quick navigation links *@ -@if (log != null) -{ - <aside id="quickNav"> - <h4>Scroll To...</h4> - <ul> - <li><a href="#content">Top</a></li> - <li><a href="#filterHolder">Log Start</a></li> - <li><a href="#footer">Bottom</a></li> - </ul> - </aside> +@section SidebarExtra { + @if (log != null) + { + <aside id="quickNav"> + <h4>Scroll To...</h4> + <ul> + <li><a href="#content">Top</a></li> + <li><a href="#filterHolder">Log Start</a></li> + <li><a href="#footer">Bottom</a></li> + </ul> + </aside> + } } @* upload result banner *@ |