diff --git a/app/controllers/backend/UserController.php b/app/controllers/backend/UserController.php index c0c6bf4..bde79ac 100644 --- a/app/controllers/backend/UserController.php +++ b/app/controllers/backend/UserController.php @@ -6,6 +6,11 @@ use App\Model\Data\User; class UserController extends \Phalcon\Mvc\Controller { + public function onConstruct() + { + $this->view->setLayout('side-menu'); + } + /** * @param $page */ diff --git a/app/views/backend/user/index.volt b/app/views/backend/user/index.volt index 13c539e..5ccaad4 100644 --- a/app/views/backend/user/index.volt +++ b/app/views/backend/user/index.volt @@ -1,36 +1,33 @@ -
| # | +Username | +Name | +Type | +Status | +|
|---|---|---|---|---|---|
| # | -Username | -Name | -Type | -Status | -|
| {{ item.id }} | +{{ item.username }} | +{{ item.name }} | +{{ item.email }} | +{{ item.type }} | +{{ item.status }} | +