SAAS-1019: Re-work Navigation Menu

This commit is contained in:
drigato 2015-08-17 12:46:32 -04:00
parent 68523d9e02
commit 3aee9a49bc
14 changed files with 301 additions and 80 deletions

View file

@ -8,27 +8,6 @@
* the navigation container below.
*/
$pages = array(
/*array(
'label' => _('Now Playing'),
'module' => 'default',
'controller' => 'Showbuilder',
'action' => 'index',
'resource' => 'showbuilder'
),*/
array(
'label' => _('Add Media'),
'module' => 'default',
'controller' => 'Plupload',
'action' => 'index',
'resource' => 'plupload'
),/*
array(
'label' => _('Library'),
'module' => 'default',
'controller' => 'Library',
'action' => 'index',
'resource' => 'playlist'
),*/
array(
'label' => _('Calendar'),
'module' => 'default',
@ -44,10 +23,12 @@ $pages = array(
)
),
array(
'label' => _('System'),
'uri' => '#',
'resource' => 'preference',
'pages' => array(
'label' => _("Settings"),
'resource' => 'preference',
'action' => 'index',
'module' => 'default',
'controller' => 'preference',
'pages' => array(
array(
'label' => _('Preferences'),
'module' => 'default',
@ -60,26 +41,21 @@ $pages = array(
'action' => 'add-user',
'resource' => 'user'
),
array(
'label' => _('Media Folders'),
'module' => 'default',
'controller' => 'Preference',
'action' => 'directory-config',
'id' => 'manage_folder'
),
array(
'label' => _('Streams'),
'module' => 'default',
'controller' => 'Preference',
'action' => 'stream-setting'
),
array(
'label' => _('Status'),
'module' => 'default',
'controller' => 'systemstatus',
'action' => 'index',
'resource' => 'systemstatus'
),
)
)
),
array(
'label' => _("Analytics"),
'module' => 'default',
'controller' => 'listenerstat',
'action' => 'index',
'resource' => 'listenerstat',
'pages' => array(
array(
'label' => _('Listener Stats'),
'module' => 'default',
@ -88,44 +64,33 @@ $pages = array(
'resource' => 'listenerstat'
),
array(
'label' => _('Embeddable Widgets'),
'label' => _('Playout History'),
'module' => 'default',
'controller' => 'embeddablewidgets',
'action' => 'index'
'controller' => 'playouthistory',
'action' => 'index',
'resource' => 'playouthistory'
),
array(
'label' => _('History Templates'),
'module' => 'default',
'controller' => 'playouthistorytemplate',
'action' => 'index',
'resource' => 'playouthistorytemplate'
)
)
),
array(
'label' => _('History'),
'uri' => '#',
'resource' => 'playouthistory',
'pages' => array(
array(
'label' => _('Playout History'),
'module' => 'default',
'controller' => 'playouthistory',
'action' => 'index',
'resource' => 'playouthistory'
),
array(
'label' => _('History Templates'),
'module' => 'default',
'controller' => 'playouthistorytemplate',
'action' => 'index',
'resource' => 'playouthistorytemplate'
),
)
),
array(
'label' => _('Widgets'),
'module' => 'default',
'controller' => 'embeddablewidgets',
'action' => 'index'
),
array(
'label' => _('Help'),
'uri' => '#',
'controller' => 'dashboard',
'action' => 'help',
'resource' => 'dashboard',
'pages' => array(
array(
'label' => _('Help Center'),
'uri' => HELP_URL,
'target' => "_blank"
),
array(
'label' => _('Getting Started'),
'module' => 'default',
@ -133,6 +98,11 @@ $pages = array(
'action' => 'help',
'resource' => 'dashboard'
),
array(
'label' => _('Help Center'),
'uri' => HELP_URL,
'target' => "_blank"
),
array(
'label' => _('FAQ'),
'uri' => FAQ_URL,
@ -159,7 +129,8 @@ $pages = array(
),
array(
'label' => _('Billing'),
'uri' => '#',
'controller' => 'billing',
'action' => 'client',
'resource' => 'billing',
'pages' => array(
array(