Show Dashboard.

@return mixed
339872
public function show()
    {
        $content = Content::newPostInstance();

        if (Gate::denies('create', $content)) {
            return view('orchestra/story::admin.home');
        }

        return $this->writePost($content);
    }
1301725
public function index()
  {
    $user = \App\User::with('profile')->findOrFail(\Auth::user()->id);
    return \View::make('acl::admin.dashboard', [
      'user'              => $user,
      'title'              => 'list',
    ]);
  }
1333960
public function DisplayLink()
    {
        return Controller::join_links(
            DisplayController::create()->AbsoluteLink("estimate"),
            $this->ID,
            $this->AccessKey
        );
    }
584710
public function showAction()
    {
        $id = (int) $this->params()->fromRoute('id', null);

        $service = $this->getService();
        $entity  = $service->getById($id);

        $view = new ViewModel(array(
            'entity'  => $entity,
            'options' => $this->getOptions(),
        ));

        if ($this->getOptions()->getDisplayDiagrammInDetailView()) {
            $diagramm = $this->getService()->createUseCaseDiagrammFor($entity);
            $view->setVariable('diagramm', $diagramm);
        }

        return $view;
    }
1048904
public function index()
  {
    if ( \Auth::user()->roles[0]->can('menu-read' ) ) {
      $items = $this->menus->with('roles')
      ->where('parent_id', '=', '0')
      ->orderBy('sort_order', 'ASC')->get();
      return \View::make('acl::admin.menus.index', [
        'items'   =>  $items,
        'title'   => 'list',
      ]);
    }
    return \Redirect::route('admin.menus.index')->withErrors(trans('acl::dashboard.unauthorized_access'));
  }
1012382
public function showAddIncident()
    {
        return View::make('dashboard.incidents.add')
            ->withPageTitle(trans('dashboard.incidents.add.title').' - '.trans('dashboard.dashboard'))
            ->withComponentsInGroups(ComponentGroup::with('components')->get())
            ->withComponentsOutGroups(Component::where('group_id', '=', 0)->get())
            ->withNotificationsEnabled($this->system->canNotifySubscribers())
            ->withIncidentTemplates(IncidentTemplate::all());
    }
328125
public function showAction()
    {
        $this->isGranted('VIEW');

        $this->container->get('ekyna_admin.menu.builder')
            ->breadcrumbAppend('settings', 'ekyna_setting.parameter.label.plural');
        
        $manager = $this->getSettingsManager();
        $schemas = $this->getSettingsRegistry()->getSchemas();
        $settings = [];

        foreach($schemas as $namespace => $schema) {
            $settings[$namespace] = $manager->loadSettings($namespace);
        }

        return $this->render('EkynaSettingBundle:Settings:show.html.twig', [
            'settings'   => $settings,
            'labels'     => $manager->getLabels(),
            'templates'  => $manager->getShowTemplates(),
        ]);
    }
955478
public function view()
    {

        $this->set('trustedProxyUrl', $this->urls->resolve(['/dashboard/system/permissions/trusted_proxies']));
        $this->set('invalidateOnIPMismatch', $this->config->get(self::ITEM_IP));
        $this->set('invalidateOnUserAgentMismatch', $this->config->get(self::ITEM_USER_AGENT));
        $this->set('invalidateInactiveUsers', $this->config->get(self::ITEM_INVALIDATE_INACTIVE_USERS));
        $this->set('inactiveTime', $this->config->get(self::ITEM_INVALIDATE_INACTIVE_USERS_TIME));

        $this->set('saveAction', $this->action('save'));
        $this->set('invalidateAction', $this->action('invalidate_sessions', $this->token->generate('invalidate_sessions')));
        $this->set('confirmInvalidateString', t('invalidate'));
    }
804352
public function showLogView()
    {
        $this->subMenu['log']['active'] = true;

        $log = Log::getLogger();

        $logContents = '';

        collect($log->getHandlers())->reject(function ($handler) {
            return $handler instanceof SyslogHandler;
        })->each(function ($handler) use (&$logContents, $log) {
            if (file_exists($path = $log->getHandlers()[0]->getUrl())) {
                $logContents = file_get_contents($path);
            }
        });

        return View::make('dashboard.settings.log')->withLog($logContents)->withSubMenu($this->subMenu);
    }
12120
public function breadcrumbsAction() 
	{
	    $default = 'dashboard';
	    $id = $this->getRequest()->getQuery('id', $default);
	    $pos = strpos($id, '/');
	    $id = false !== $pos ? substr($id, 0, $pos) : $id;
        $view = $this->getServiceLocator()->get('Zend\View\Renderer\PhpRenderer');
        $navigation = $view->navigation('navigation');
        $container = $navigation->getContainer();
        $page = $container->findOneBy('fragment', $id);
        $page = null === $page ? $container->findOneBy('fragment', $default) : $page;
        $page->setActive(true);
        
        $viewModel = new ViewModel(array(
            'breadcrumbs' => $navigation->breadcrumbs()
        		->setPartial('breadcrumbs')->setRenderInvisible(true)->setMinDepth(0)
        ));
        $viewModel->setTerminal(true);
        
        return $viewModel;
	}
1156248
public function indexUrl()
    {
        $route = 'admin::edit-page';
        if (Route::has($route)) {
            return route($route, $this->page_id);
        }

        return route('dashboard');
    }
995340
public function indexAction()
    {
        if ($this->container->hasParameter('kunstmaan_admin.dashboard_route')) {
            return $this->redirect($this->generateUrl($this->getParameter('kunstmaan_admin.dashboard_route')));
        }

        /* @var DashboardConfiguration $dashboardConfiguration */
        $dashboardConfiguration = $this->getDoctrine()
            ->getManager()
            ->getRepository('KunstmaanAdminBundle:DashboardConfiguration')
            ->findOneBy(array());

        return array('dashboardConfiguration' => $dashboardConfiguration);
    }
1222105
public function showStylesheetView()
    {
        $this->subMenu['stylesheet']['active'] = true;

        Session::flash('redirect_to', $this->subMenu['stylesheet']['url']);

        return View::make('dashboard.settings.stylesheet')
            ->withPageTitle(trans('dashboard.settings.stylesheet.stylesheet').' - '.trans('dashboard.dashboard'))
            ->withSubMenu($this->subMenu);
    }
226814
public function render()
    {
        $period = $this->period();

        $dailyStats = $this->dependencyInstalled() && config('analytics.view_id')
            ? Analytics::fetchTotalVisitorsAndPageViews($period)
            : $dailyStats = $this->fakeData($period);

        $visitors = $dailyStats->sum('visitors');
        $pageViews = $dailyStats->sum('pageViews');
        $maxVisitors = $dailyStats->max('visitors');

        $labels = $this->dateLabels($dailyStats);

        return view(app('scaffold.template')->dashboard('google_analytics'))->with(compact(
            'dailyStats',
            'labels',
            'visitors',
            'pageViews',
            'maxVisitors',
            'period'
        ));
    }
921933
public function indexAction()
    {
        $orders = $this->get('doctrine')
            ->getRepository('HarvestCloudCoreBundle:Order')
            ->findAll()
        ;

        return $this->render(
            'HarvestCloudCoreBundle:Order/Dashboard:index.html.twig',
            array(
                'orders' => $orders,
                'order'  => $orders[0],
            )
        );
    }
805529
public function index()
    {
        $orderStateGrid = new OrderStatusDataGrid($this->repository->query());

        return view('avored-framework::product.order-status.index')->with('dataGrid', $orderStateGrid->dataGrid);
    }
919385
public function index()
    {
        $stats     = $this->logViewer->statsTable();
        $chartData = $this->prepareChartData($stats);
        $percents  = $this->calcPercentages($stats->footer(), $stats->header());

        return $this->view('dashboard', compact('chartData', 'percents'));
    }