diff options
| author | Michael <[email protected]> | 2017-04-14 14:22:51 -0400 |
|---|---|---|
| committer | Michael <[email protected]> | 2017-04-14 14:22:51 -0400 |
| commit | 52245ffb86b6d1585c4e4c82e6bf1b3c03c8846a (patch) | |
| tree | ab8d55e8f76bdfa1f34705b60286a5da1a77bcc2 /Project-Unite/Views/Bugs | |
| parent | c5506fc9f9efcf960cced980230d6c038b226f1a (diff) | |
| download | project-unite-52245ffb86b6d1585c4e4c82e6bf1b3c03c8846a.tar.gz project-unite-52245ffb86b6d1585c4e4c82e6bf1b3c03c8846a.tar.bz2 project-unite-52245ffb86b6d1585c4e4c82e6bf1b3c03c8846a.zip | |
Bugtracker work
Diffstat (limited to 'Project-Unite/Views/Bugs')
| -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 |
