diff options
Diffstat (limited to 'Project-Unite/Views')
| -rw-r--r-- | Project-Unite/Views/Bugs/Index.cshtml | 27 | ||||
| -rw-r--r-- | Project-Unite/Views/Bugs/_BugBar.cshtml | 6 | ||||
| -rw-r--r-- | Project-Unite/Views/Bugs/_Sidebar.cshtml | 10 |
3 files changed, 43 insertions, 0 deletions
diff --git a/Project-Unite/Views/Bugs/Index.cshtml b/Project-Unite/Views/Bugs/Index.cshtml new file mode 100644 index 0000000..0e7754d --- /dev/null +++ b/Project-Unite/Views/Bugs/Index.cshtml @@ -0,0 +1,27 @@ +@model IEnumerable<Project_Unite.Models.BugTag> +@{ + ViewBag.Title = "Bugtracker"; +} + +<h2>Bugtracker</h2> + +@{ + Html.RenderPartial("~/Views/Bugs/_BugBar.cshtml"); +} + +<div class="row"> + <div class="col-xs-3"> +@{ + Html.RenderPartial("~/Views/Bugs/_Sidebar.cshtml", Model); +} + </div> + + <div class="col-xs-9"> + <h3>Welcome to the ShiftOS bug tracker.</h3> + + <p>ShiftOS is a game about an evolving operating system, and an evolving world. However, ShiftOS itself is evolving with new features everyday.</p> + + <p>We at ShiftOS strive to create a stable experience and most bugs are taken care of before they ever leave the development environment. However, sometimes we make mistakes. I mean, we're all human, right? Anyways, if you find a mistake we've made in ShiftOS, this is the best spot to place it.</p> + + </div> +</div>
\ No newline at end of file diff --git a/Project-Unite/Views/Bugs/_BugBar.cshtml b/Project-Unite/Views/Bugs/_BugBar.cshtml new file mode 100644 index 0000000..ec3d7c2 --- /dev/null +++ b/Project-Unite/Views/Bugs/_BugBar.cshtml @@ -0,0 +1,6 @@ +@if (Request.IsAuthenticated) +{ + <ul class="nav nav-pills"> + <li><a href="@Url.Action("PostBug")"><span class="glyphicon glyphicon-plus"></span> Post a bug</a></li> + </ul> +}
\ No newline at end of file diff --git a/Project-Unite/Views/Bugs/_Sidebar.cshtml b/Project-Unite/Views/Bugs/_Sidebar.cshtml new file mode 100644 index 0000000..36db4e8 --- /dev/null +++ b/Project-Unite/Views/Bugs/_Sidebar.cshtml @@ -0,0 +1,10 @@ +@model IEnumerable<Project_Unite.Models.BugTag> + +<h3>Categories</h3> + +<ul> + @foreach (var cat in Model) + { + <li><a href="@Url.Action("ViewCategory", new { id = cat.Id })">@cat.Name (@cat.Open.Count())</a></li> + } +</ul>
\ No newline at end of file |
