From b13a8205a44140221cfd9b4d0eb9c6838645087c Mon Sep 17 00:00:00 2001 From: Michael Date: Thu, 20 Apr 2017 16:48:03 -0400 Subject: [PATCH] Add a chart to the dev CP --- Project-Unite/Views/Developer/index.cshtml | 44 +++++++++++++++++++++- 1 file changed, 43 insertions(+), 1 deletion(-) diff --git a/Project-Unite/Views/Developer/index.cshtml b/Project-Unite/Views/Developer/index.cshtml index 447df64..f0f3329 100644 --- a/Project-Unite/Views/Developer/index.cshtml +++ b/Project-Unite/Views/Developer/index.cshtml @@ -1,8 +1,50 @@  @{ ViewBag.Title = "Dev Control Panel"; + 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(); + }

Welcome!

-

Hey devs! In the future, this page will give you fancy details on how ShiftOS and the website are progressing. But, that data is not yet available to me - so for now, here's some placeholder text telling you that the dev CP is work-in-progress.

\ No newline at end of file +

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

+ +
+
+

Bugs

+

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

+
+
+
+ + + + + + + + + + \ No newline at end of file