diff --git a/Project-Unite/Views/Developer/index.cshtml b/Project-Unite/Views/Developer/index.cshtml
index a39b5fc..447df64 100644
--- a/Project-Unite/Views/Developer/index.cshtml
+++ b/Project-Unite/Views/Developer/index.cshtml
@@ -1 +1,8 @@
-This is/will be the developer cp page. its not done yet
\ No newline at end of file
+
+@{
+ ViewBag.Title = "Dev Control Panel";
+}
+
+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
diff --git a/Project-Unite/Views/Shared/_Layout.cshtml b/Project-Unite/Views/Shared/_Layout.cshtml
index 024c6bf..3a6487f 100644
--- a/Project-Unite/Views/Shared/_Layout.cshtml
+++ b/Project-Unite/Views/Shared/_Layout.cshtml
@@ -115,21 +115,37 @@
@RenderBody();
}
+ else if (ViewBag.Developer)
+ {
+
+ - @Html.ActionLink("Home", "Index", "Developer")
+ - @Html.ActionLink("Releases", "Releases", "Developer")
+ - @Html.ActionLink("Wiki", "Wiki", "Developer")
+ - @Html.ActionLink("Bugs", "Bugs", "Developer")
+
+
+
+
+ @RenderBody();
+ }
else if (ACL.Granted(User.Identity.Name, ViewBag.ACLRule))
{
- if (ViewBag.Admin == true)
- {
- if (ACL.Granted(User.Identity.Name, "CanAccessAdminCP"))
+ if (ViewBag.Admin == true)
{
-
+ if (ACL.Granted(User.Identity.Name, "CanAccessAdminCP"))
+ {
+
+
- @Html.ActionLink("Home", "Index", "Admin")
- @if (ACL.Granted(User.Identity.Name, "CanEditRoles"))
+
+ @if (ACL.Granted(User.Identity.Name, "CanEditRoles"))
{
- @Html.ActionLink("Roles", "Roles", "Admin")
- @Html.ActionLink("Access Control", "AccessControl", "Admin")
}
- @if (ACL.Granted(User.Identity.Name, "CanEditProfiles"))
+
+ @if (ACL.Granted(User.Identity.Name, "CanEditProfiles"))
{
- @Html.ActionLink("Users", "Users", "Admin")
}
@@ -139,7 +155,8 @@
}
- @Html.ActionLink("Audit logs", "Logs", "Admin")
- @RenderBody();
+
+ @RenderBody();
}
else
{
@@ -149,7 +166,8 @@
}
else
{
- @RenderBody()
+
+ @RenderBody()
}
}