Add first draft admin interface

This exposes information on Services/Sites/Incidents, but does not yet
permit any changes. Admin page also links to future user management
pages.
This commit is contained in:
2011-12-20 00:43:16 +00:00
parent e1d14aa53b
commit 06325759b4
8 changed files with 306 additions and 1 deletions

View File

@@ -0,0 +1,11 @@
<?php
$main = StatusBoard_Main::instance();
$auth = $main->auth();
$services = StatusBoard_Service::all();
$this->smarty->assign('services', $services);
$users = $auth->listUsers();
$this->smarty->assign('users', $users);
?>