comanage-dev - [comanage-dev] sidebar
Subject: COmanage Developers List
List archive
- From: Marie Huynh <>
- To: Benn Oshrin <>, comanage-dev <>
- Subject: [comanage-dev] sidebar
- Date: Tue, 19 Feb 2013 17:23:40 -0800
- Authentication-results: sfpop-ironport05.merit.edu; dkim=pass (signature verified)
I set up the sidebar to use the sidebar helpers available in the latest version of cakephp. The variable $sidebarButtons[] can be get(), modified, and set() to tack on more buttons as needed with keys like so:
$sidebarButtons[] = array(
'icon' => 'note',
'title' => _txt('op.history'),
'url' => array(
'controller' => 'history_records',
'action' => 'index',
'orgidentityid' => $org_identities[0]['OrgIdentity']['id'],
'co' => ($pool_org_identities ? false : $cur_co['Co']['id'])
)
);
$this->set('sidebarButtons', $sidebarButtons);
It's set up to use the standard jqueryui icons, and there's a cheatsheet for that here:
Is there a reason why we're not using something like ui-icon-person?
The attached screenshot doesn't show the mouse over the Organizational Identity, but this is what the sidebar looks like on-hover. Speaking of which, is it still necessary given the tab?
I'm moving all the back/cancel and wandering edit buttons into the sidebar too.
Marie
Attachment:
onhover1.tiff
Description: TIFF image
- [comanage-dev] sidebar, Marie Huynh, 02/19/2013
Archive powered by MHonArc 2.6.16.