From 15f1eef6f2e24ce6ef1ea0317845293329dbb189 Mon Sep 17 00:00:00 2001 From: Michael Date: Mon, 22 May 2017 11:42:05 -0400 Subject: slight devcp ui revamp --- Project-Unite/Views/Developer/index.cshtml | 74 +++++++++++------------------- 1 file changed, 28 insertions(+), 46 deletions(-) (limited to 'Project-Unite/Views') diff --git a/Project-Unite/Views/Developer/index.cshtml b/Project-Unite/Views/Developer/index.cshtml index f371d32..8c5daee 100644 --- a/Project-Unite/Views/Developer/index.cshtml +++ b/Project-Unite/Views/Developer/index.cshtml @@ -1,57 +1,39 @@  @{ ViewBag.Title = "Dev Control Panel"; + string homeclass = (ViewBag.Page == "home") ? "active" : ""; + string releasesclass = (ViewBag.Page == "releases") ? "active" : ""; + string wikiclass = (ViewBag.Page == "wiki") ? "active" : ""; var db = new Project_Unite.Models.ApplicationDbContext(); - int fixedbugs = db.Bugs.Where(x => x.Open == false).Count(); - int notfixedbugs = db.Bugs.Where(x => x.Open == true).Count(); - + var releases = db.Downloads; + var cats = db.WikiCategories; } -

Welcome!

+

Developer Control Panel

-

Here, have a bunch of charts that tell you what you already know!

+

A place that only the best of the best ShiftOS developers can access.

-
-

Bugs

-

Here's a pie chart that tells you how many bugs have been fixed.

-
-
-
- - +
+

Places

- - - - - - + +
+
+
+

Not yet implemented.

- - \ No newline at end of file +

Please suggest things to put in here.

+
+
+ @Html.Partial("~/Views/Developer/Releases.cshtml", releases); +
+
+ @Html.Partial("~/Views/Developer/Wiki.cshtml", cats); +
+
+ \ No newline at end of file -- cgit v1.2.3