Skip to content

Commit

Permalink
+ Menu.php
Browse files Browse the repository at this point in the history
  • Loading branch information
hiqsol committed May 14, 2015
1 parent 7b95ac0 commit 89120b8
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions Menu.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<?php
/**
* @link http://hiqdev.com/hipanel-module-hosting
* @license http://hiqdev.com/hipanel-module-hosting/license
* @copyright Copyright (c) 2015 HiQDev
*/

namespace hipanel\modules\hosting;

class Menu extends \hipanel\base\Menu implements \yii\base\BootstrapInterface
{

protected $_menus = [
'sidebar' => [
'where' => [
'after' => ['servers', 'domains', 'tickets', 'finance', 'clients', 'dashboard'],
],
'items' => [
'hosting' => [
'label' => 'Hosting',
'url' => '#',
'icon' => 'fa-sitemap',
'items' => [
'accounts' => [
'label' => 'Accounts',
'url' => ['/hosting/account/index'],
'icon' => 'fa-user',
],
'dbs' => [
'label' => 'DataBases',
'url' => ['/hosting/db/index'],
'icon' => 'fa-database',
],
],
],
],
],
];

}

0 comments on commit 89120b8

Please sign in to comment.