summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/Views
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2017-10-27 19:36:31 -0400
committerJesse Plamondon-Willard <github@jplamondonw.com>2017-10-27 19:36:31 -0400
commit65f0fa625575592639a24a9b39330e4a6b500f22 (patch)
tree3e53748403ffced66f64e830bfb798f650ed5ee2 /src/SMAPI.Web/Views
parent3d8bdacc8cb5c9d5514e052d5d4c1d5f2dbc6e9e (diff)
downloadSMAPI-65f0fa625575592639a24a9b39330e4a6b500f22.tar.gz
SMAPI-65f0fa625575592639a24a9b39330e4a6b500f22.tar.bz2
SMAPI-65f0fa625575592639a24a9b39330e4a6b500f22.zip
add scaffolding for web UI (#358)
Diffstat (limited to 'src/SMAPI.Web/Views')
-rw-r--r--src/SMAPI.Web/Views/Shared/_Layout.cshtml29
-rw-r--r--src/SMAPI.Web/Views/_ViewStart.cshtml3
2 files changed, 32 insertions, 0 deletions
diff --git a/src/SMAPI.Web/Views/Shared/_Layout.cshtml b/src/SMAPI.Web/Views/Shared/_Layout.cshtml
new file mode 100644
index 00000000..89b1866c
--- /dev/null
+++ b/src/SMAPI.Web/Views/Shared/_Layout.cshtml
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <meta charset="utf-8" />
+ <title>@ViewData["Title"] - SMAPI.io</title>
+ <link rel="stylesheet" href="~/Content/main.css" />
+</head>
+<body>
+ <div id="sidebar">
+ <h4>SMAPI</h4>
+ <ul>
+ <li><a href="https://stardewvalleywiki.com/Modding:Index">FAQs & guides</a></li>
+ <li><a href="https://github.com/pathoschild/SMAPI/releases">Download SMAPI</a></li>
+ <li><a href="https://discord.gg/stardewvalley">Get help on Discord</a></li>
+ </ul>
+ </div>
+ <div id="content-column">
+ <div id="content">
+ <h1>@ViewData["Title"]</h1>
+ @RenderBody()
+ </div>
+ <div id="footer">
+ <div id="license">
+ Hi! You can <a href="https://github.com/pathoschild/SMAPI" title="view source">view the source code</a> or <a href="https://github.com/pathoschild/SMAPI/issues" title="report issue">report a bug or suggestion</a>.
+ </div>
+ </div>
+ </div>
+</body>
+</html>
diff --git a/src/SMAPI.Web/Views/_ViewStart.cshtml b/src/SMAPI.Web/Views/_ViewStart.cshtml
new file mode 100644
index 00000000..a5f10045
--- /dev/null
+++ b/src/SMAPI.Web/Views/_ViewStart.cshtml
@@ -0,0 +1,3 @@
+@{
+ Layout = "_Layout";
+}