Skip to content

Commit

Permalink
added download page
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe Harrison committed Feb 10, 2015
1 parent f246a7a commit bf13045
Show file tree
Hide file tree
Showing 5 changed files with 60 additions and 0 deletions.
2 changes: 2 additions & 0 deletions MVCGridExample/Content/Site.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,5 @@ select,
textarea {
max-width: 280px;
}


17 changes: 17 additions & 0 deletions MVCGridExample/Controllers/DownloadController.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace MVCGrid.Web.Controllers
{
public class DownloadController : Controller
{
// GET: Download
public ActionResult Index()
{
return View();
}
}
}
2 changes: 2 additions & 0 deletions MVCGridExample/MVCGridExample.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@
<Compile Include="App_Start\RouteConfig.cs" />
<Compile Include="Controllers\DemoController.cs" />
<Compile Include="Controllers\DocumentationController.cs" />
<Compile Include="Controllers\DownloadController.cs" />
<Compile Include="Controllers\GettingStartedController.cs" />
<Compile Include="Controllers\HomeController.cs" />
<Compile Include="Controllers\ItemController.cs" />
Expand Down Expand Up @@ -263,6 +264,7 @@
<Content Include="Views\Demo\Export.cshtml" />
<Content Include="Views\GettingStarted\Index.cshtml" />
<Content Include="Views\Documentation\Index.cshtml" />
<Content Include="Views\Download\Index.cshtml" />
</ItemGroup>
<ItemGroup>
<Folder Include="Views\Detail\" />
Expand Down
37 changes: 37 additions & 0 deletions MVCGridExample/Views/Download/Index.cshtml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@

@section head{
<style type="text/css">
.nuget-badge code {
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
background-color: #202020;
border: 4px solid silver;
border-radius: 5px;
box-shadow: 2px 2px 3px #6e6e6e;
color: #e2e2e2;
display: block;
font: 1.5em 'andale mono','lucida console',monospace;
line-height: 1.5em;
overflow: auto;
padding: 15px;
}
</style>
}
@{
ViewBag.Title = "Download";
}

<h2>NuGet</h2>

<p>Available from NuGet: <a href="https://www.nuget.org/packages/MVCGrid.Net">https://www.nuget.org/packages/MVCGrid.Net</a></p>

<div class="nuget-badge">
<p>
<code>
PM&gt; Install-Package MVCGrid.Net
</code>
</p>
</div>

<h2>Source</h2>
<p>Source on GitHub: <a href="https://github.com/bigjoe714/MVCGrid.Net">https://github.com/bigjoe714/MVCGrid.Net</a></p>
2 changes: 2 additions & 0 deletions MVCGridExample/Views/Shared/_Layout.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
@Scripts.Render("~/bundles/modernizr")
<link href="~/Content/sh/shCore.css" rel="stylesheet" />
<link href="~/Content/sh/shThemeDefault.css" rel="stylesheet" />
@RenderSection("head", required: false)
</head>
<body>
<div class="navbar navbar-inverse navbar-fixed-top">
Expand All @@ -26,6 +27,7 @@
<li>@Html.ActionLink("Getting Started", "Index", "gettingstarted")</li>
<li>@Html.ActionLink("Demos", "index", "demo")</li>
<li>@Html.ActionLink("Documentation", "index", "documentation")</li>
<li>@Html.ActionLink("Download", "index", "download")</li>
</ul>
</div>
</div>
Expand Down

0 comments on commit bf13045

Please sign in to comment.