/** * @return BootstrapView * @AuthRequired */ public function defaultAction() { //if (!$this->router->getSessionSegment()->get("authenticated")) $this->router->redirectTo("?controller=main"); $view = new PersoenlicheStatusseiteView($this->router->getApplicationSession()->getUser()); $dashboard_content = new DashboardContentView(); $dashboard_content->setContent($view); $dashboard_content->setTitle("Persönliche Statusseite"); return BootstrapView::getDashboard(MainController::$MAIN_TITLE . " Persönliche Statusseite", $dashboard_content, $this->router); }
/** * @return BootstrapView * @AuthRequired */ public function defaultAction() { $staffSearchView = new StaffSearchView(); $content = new DashboardContentView(); $content->setTitle("Personensuche"); $content->setContent($staffSearchView); $bootstrap = BootstrapView::getDashboard("Personensuche", $content); $bootstrap->addAdditionalJScript("resources/js/staffSearch.js"); return $bootstrap; }
/** * @return BootstrapView * @AuthReqiured */ public function defaultAction() { $content = new DashboardContentView(); $content->setTitle("Privat-Laufwerk"); return BootstrapView::getDashboard("Privat-Laufwerk", $content, $this->router); }