diff --git a/Teknik/Areas/Help/Controllers/HelpController.cs b/Teknik/Areas/Help/Controllers/HelpController.cs index a1b7691..eccc96c 100644 --- a/Teknik/Areas/Help/Controllers/HelpController.cs +++ b/Teknik/Areas/Help/Controllers/HelpController.cs @@ -75,6 +75,15 @@ namespace Teknik.Areas.Help.Controllers return View("~/Areas/Help/Views/Help/Mail.cshtml", model); } + [TrackPageView] + [AllowAnonymous] + public ActionResult Markdown() + { + ViewBag.Title = "Markdown Help - " + Config.Title; + HelpViewModel model = new HelpViewModel(); + return View("~/Areas/Help/Views/Help/Markdown.cshtml", model); + } + [TrackPageView] [AllowAnonymous] public ActionResult Mumble() @@ -93,6 +102,15 @@ namespace Teknik.Areas.Help.Controllers return View("~/Areas/Help/Views/Help/RSS.cshtml", model); } + [TrackPageView] + [AllowAnonymous] + public ActionResult Tools() + { + ViewBag.Title = "Tool Help - " + Config.Title; + HelpViewModel model = new HelpViewModel(); + return View("~/Areas/Help/Views/Help/Tools.cshtml", model); + } + [TrackPageView] [AllowAnonymous] public ActionResult Upload() @@ -101,14 +119,5 @@ namespace Teknik.Areas.Help.Controllers HelpViewModel model = new HelpViewModel(); return View("~/Areas/Help/Views/Help/Upload.cshtml", model); } - - [TrackPageView] - [AllowAnonymous] - public ActionResult Markdown() - { - ViewBag.Title = "Markdown Help - " + Config.Title; - HelpViewModel model = new HelpViewModel(); - return View("~/Areas/Help/Views/Help/Markdown.cshtml", model); - } } } \ No newline at end of file diff --git a/Teknik/Areas/Help/HelpAreaRegistration.cs b/Teknik/Areas/Help/HelpAreaRegistration.cs index 8b09ecd..21a6070 100644 --- a/Teknik/Areas/Help/HelpAreaRegistration.cs +++ b/Teknik/Areas/Help/HelpAreaRegistration.cs @@ -66,6 +66,14 @@ namespace Teknik.Areas.Help new { controller = "Help", action = "Mail" }, // Parameter defaults new[] { typeof(Controllers.HelpController).Namespace } ); + context.MapSubdomainRoute( + "Help.Markdown", // Route name + new List() { "help" }, // Subdomains + new List() { config.Host }, // domains + "Markdown", // URL with parameters + new { controller = "Help", action = "Markdown" }, // Parameter defaults + new[] { typeof(Controllers.HelpController).Namespace } + ); context.MapSubdomainRoute( "Help.Mumble", // Route name new List() { "help" }, // Subdomains @@ -82,6 +90,14 @@ namespace Teknik.Areas.Help new { controller = "Help", action = "RSS" }, // Parameter defaults new[] { typeof(Controllers.HelpController).Namespace } ); + context.MapSubdomainRoute( + "Help.Tools", // Route name + new List() { "help" }, // Subdomains + new List() { config.Host }, // domains + "Tools", // URL with parameters + new { controller = "Help", action = "Tools" }, // Parameter defaults + new[] { typeof(Controllers.HelpController).Namespace } + ); context.MapSubdomainRoute( "Help.Upload", // Route name new List() { "help" }, // Subdomains @@ -90,14 +106,6 @@ namespace Teknik.Areas.Help new { controller = "Help", action = "Upload" }, // Parameter defaults new[] { typeof(Controllers.HelpController).Namespace } ); - context.MapSubdomainRoute( - "Help.Markdown", // Route name - new List() { "help" }, // Subdomains - new List() { config.Host }, // domains - "Markdown", // URL with parameters - new { controller = "Help", action = "Markdown" }, // Parameter defaults - new[] { typeof(Controllers.HelpController).Namespace } - ); // Register Style Bundles BundleTable.Bundles.Add(new StyleBundle("~/Content/help").Include( diff --git a/Teknik/Areas/Help/Views/Help/Index.cshtml b/Teknik/Areas/Help/Views/Help/Index.cshtml index d98b473..d34f947 100644 --- a/Teknik/Areas/Help/Views/Help/Index.cshtml +++ b/Teknik/Areas/Help/Views/Help/Index.cshtml @@ -27,12 +27,14 @@
IRC network that uses the Teknik userbase for nickname authentication.
Mail Server
Mail service with IMAP and POP3 support with 1 GB storage.
-
Mumble Chat Server
-
The public Mumble server and configuration settings needed.
-
Uploads
-
How the Upload service works and special considerations.
Markdown
Markdown syntax used throughout the site.
+
Mumble Chat Server
+
The public Mumble server and configuration settings needed.
+
Tools
+
Internal and 3rd Party Tools for interfacing with our services.
+
Uploads
+
How the Upload service works and special considerations.
diff --git a/Teknik/Areas/Help/Views/Help/Tools.cshtml b/Teknik/Areas/Help/Views/Help/Tools.cshtml new file mode 100644 index 0000000..090989e --- /dev/null +++ b/Teknik/Areas/Help/Views/Help/Tools.cshtml @@ -0,0 +1,62 @@ +@model Teknik.Areas.Help.ViewModels.HelpViewModel + + diff --git a/Teknik/Areas/Paste/Views/Paste/Index.cshtml b/Teknik/Areas/Paste/Views/Paste/Index.cshtml index 77a9d7a..d16f6d8 100644 --- a/Teknik/Areas/Paste/Views/Paste/Index.cshtml +++ b/Teknik/Areas/Paste/Views/Paste/Index.cshtml @@ -75,6 +75,9 @@ +
+ Useful Tools: Paste Scripts and Utilities +