summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/Views
diff options
context:
space:
mode:
Diffstat (limited to 'src/SMAPI.Web/Views')
-rw-r--r--src/SMAPI.Web/Views/LogParser/Index.cshtml22
-rw-r--r--src/SMAPI.Web/Views/Shared/_Layout.cshtml2
2 files changed, 14 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 *@
diff --git a/src/SMAPI.Web/Views/Shared/_Layout.cshtml b/src/SMAPI.Web/Views/Shared/_Layout.cshtml
index 7c86a68c..248cc7ef 100644
--- a/src/SMAPI.Web/Views/Shared/_Layout.cshtml
+++ b/src/SMAPI.Web/Views/Shared/_Layout.cshtml
@@ -30,6 +30,8 @@
<li><a href="@Url.PlainAction("Index", "LogParser", values: null)">Log parser</a></li>
<li><a href="@Url.PlainAction("Index", "JsonValidator", values: null)">JSON validator</a></li>
</ul>
+
+ @RenderSection("SidebarExtra", required: false)
</div>
<div id="content-column">
<div id="content">