mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-06-02 05:41:39 +02:00
feat: add basic admin dashboard (#90)
This commit is contained in:
@@ -6,6 +6,7 @@ angular
|
||||
"ngPDFViewer",
|
||||
"pascalprecht.translate",
|
||||
"angular-google-analytics",
|
||||
"admin",
|
||||
])
|
||||
.config(function (
|
||||
$routeProvider,
|
||||
@@ -90,6 +91,26 @@ angular
|
||||
title: "Anonymized Repository - Anonymous GitHub",
|
||||
reloadOnUrl: false,
|
||||
})
|
||||
.when("/admin/", {
|
||||
templateUrl: "/partials/admin/repositories.htm",
|
||||
controller: "repositoriesAdminController",
|
||||
title: "Repositories Admin - Anonymous GitHub",
|
||||
})
|
||||
.when("/admin/users", {
|
||||
templateUrl: "/partials/admin/users.htm",
|
||||
controller: "usersAdminController",
|
||||
title: "Users Admin - Anonymous GitHub",
|
||||
})
|
||||
.when("/admin/conferences", {
|
||||
templateUrl: "/partials/admin/conferences.htm",
|
||||
controller: "conferencesAdminController",
|
||||
title: "Conferences Admin - Anonymous GitHub",
|
||||
})
|
||||
.when("/admin/queues", {
|
||||
templateUrl: "/partials/admin/queues.htm",
|
||||
controller: "queuesAdminController",
|
||||
title: "Queues Admin - Anonymous GitHub",
|
||||
})
|
||||
.when("/404", {
|
||||
templateUrl: "/partials/404.htm",
|
||||
title: "Page not found - Anonymous GitHub",
|
||||
|
||||
Reference in New Issue
Block a user