mirror of
https://git.teknik.io/Teknikode/Teknik.git
synced 2023-08-02 14:16:22 +02:00
Added tool list help page and referenced it on Upload and Paste pages.
This commit is contained in:
parent
8d270bfcc1
commit
3215fdc230
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
@ -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<string>() { "help" }, // Subdomains
|
||||
new List<string>() { 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<string>() { "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<string>() { "help" }, // Subdomains
|
||||
new List<string>() { 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<string>() { "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<string>() { "help" }, // Subdomains
|
||||
new List<string>() { 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(
|
||||
|
@ -27,12 +27,14 @@
|
||||
<dd>IRC network that uses the Teknik userbase for nickname authentication.</dd>
|
||||
<dt><a href="@Url.SubRouteUrl("help", "Help.Mail")">Mail Server</a></dt>
|
||||
<dd>Mail service with IMAP and POP3 support with <b>1 GB</b> storage.</dd>
|
||||
<dt><a href="@Url.SubRouteUrl("help", "Help.Mumble")">Mumble Chat Server</a></dt>
|
||||
<dd>The public Mumble server and configuration settings needed.</dd>
|
||||
<dt><a href="@Url.SubRouteUrl("help", "Help.Upload")">Uploads</a></dt>
|
||||
<dd>How the Upload service works and special considerations.</dd>
|
||||
<dt><a href="@Url.SubRouteUrl("help", "Help.Markdown")">Markdown</a></dt>
|
||||
<dd>Markdown syntax used throughout the site.</dd>
|
||||
<dt><a href="@Url.SubRouteUrl("help", "Help.Mumble")">Mumble Chat Server</a></dt>
|
||||
<dd>The public Mumble server and configuration settings needed.</dd>
|
||||
<dt><a href="@Url.SubRouteUrl("help", "Help.Tools")">Tools</a></dt>
|
||||
<dd>Internal and 3rd Party Tools for interfacing with our services.</dd>
|
||||
<dt><a href="@Url.SubRouteUrl("help", "Help.Upload")">Uploads</a></dt>
|
||||
<dd>How the Upload service works and special considerations.</dd>
|
||||
</dl>
|
||||
</div>
|
||||
</div>
|
||||
|
62
Teknik/Areas/Help/Views/Help/Tools.cshtml
Normal file
62
Teknik/Areas/Help/Views/Help/Tools.cshtml
Normal file
@ -0,0 +1,62 @@
|
||||
@model Teknik.Areas.Help.ViewModels.HelpViewModel
|
||||
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<h2 class="text-center"><b>Tools Utilizing Teknik Services</b></h2>
|
||||
<hr>
|
||||
<p class="text-center">
|
||||
There are a multitude of internally developed tools and 3rd party tools that utilize the Teknik services.
|
||||
</p>
|
||||
|
||||
<h3 class="text-center">Internal Tools</h3>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-sm-8 col-sm-offset-2">
|
||||
<h4 class="text-center">Uploads</h4>
|
||||
<div class="list-group">
|
||||
<a class="list-group-item" href="https://git.teknik.io/Teknikode/Tools/src/master/Upload/teknik.sh">
|
||||
<h4 class="list-group-item-heading">Upload Script</h4>
|
||||
<p class="list-group-item-text">Upload files/scrots/urls to teknik using Bash</p>
|
||||
</a>
|
||||
<a class="list-group-item" href="https://git.teknik.io/Teknikode/Tools/src/master/Upload/upload.sh">
|
||||
<h4 class="list-group-item-heading">File Upload</h4>
|
||||
<p class="list-group-item-text">Bash script for uploading multiple files</p>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<h4 class="text-center">Pastes</h4>
|
||||
<div class="list-group">
|
||||
<a class="list-group-item" href="https://git.teknik.io/Teknikode/Tools/src/master/Paste/paste.sh">
|
||||
<h4 class="list-group-item-heading">Paste Script</h4>
|
||||
<p class="list-group-item-text">Bash script for creating a paste from text</p>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h3 class="text-center">3rd Party Tools</h3>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-sm-8 col-sm-offset-2">
|
||||
<div class="list-group">
|
||||
<a class="list-group-item" href="https://gitlab.com/DanielFGray/dotfiles/raw/master/local/bin/tekup">
|
||||
<h4 class="list-group-item-heading">Tekup</h4>
|
||||
<p class="list-group-item-text">Bash script that uploads both text files to Paste and other files to Upload. Supports parallel uploading via xargs</p>
|
||||
</a>
|
||||
<a class="list-group-item" href="https://github.com/jschx/uguush">
|
||||
<h4 class="list-group-item-heading">Uguush</h4>
|
||||
<p class="list-group-item-text">Command-line uploader for teknik uploads</p>
|
||||
</a>
|
||||
<a class="list-group-item" href="https://github.com/dylanaraps/neofetch">
|
||||
<h4 class="list-group-item-heading">Neofetch</h4>
|
||||
<p class="list-group-item-text">A fast, highly customizable system info script with support to upload screenshots</p>
|
||||
</a>
|
||||
<a class="list-group-item" href="https://github.com/ShareX/CustomUploaders">
|
||||
<h4 class="list-group-item-heading">Sharex</h4>
|
||||
<p class="list-group-item-text">Screen capture, file sharing and productivity tool</p>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
@ -75,6 +75,9 @@
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<div class="text-center">
|
||||
Useful Tools: <a href="@Url.SubRouteUrl("help", "Help.Tools")">Paste Scripts and Utilities</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
|
@ -72,10 +72,7 @@
|
||||
</p>
|
||||
</div>
|
||||
<div class="text-center">
|
||||
Useful Tools: <a href="http://git.teknik.io/Teknikode/Tools/src/master/Upload">Upload Scripts and Utilities</a> | <a href="https://github.com/jschx/poomf">Poomf Uploader</a>
|
||||
<br />
|
||||
<br />
|
||||
You can now upload your screenshots automatically using <a href="https://github.com/KittyKatt/screenFetch">Screenfetch</a>!
|
||||
Useful Tools: <a href="@Url.SubRouteUrl("help", "Help.Tools")">Upload Scripts and Utilities</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -562,6 +562,7 @@
|
||||
<Content Include="Areas\Blog\Views\Blog\NewPost.cshtml" />
|
||||
<Content Include="Areas\Blog\Views\Blog\EditPost.cshtml" />
|
||||
<Content Include="Areas\Help\Views\Help\Markdown.cshtml" />
|
||||
<Content Include="Areas\Help\Views\Help\Tools.cshtml" />
|
||||
<None Include="Properties\PublishProfiles\Teknik Dev.pubxml" />
|
||||
<None Include="Properties\PublishProfiles\Teknik Production.pubxml" />
|
||||
<None Include="Scripts\jquery-2.1.4.intellisense.js" />
|
||||
|
Loading…
Reference in New Issue
Block a user