[one-users] sunstone 4.0 customization
Daniel Molina
dmolina at opennebula.org
Thu May 23 02:25:09 PDT 2013
On 23 May 2013 10:42, Rolandas Naujikas <rolandas.naujikas at mif.vu.lt> wrote:
> I'm trying to customize sunstone 4.0. I created mini.yaml with copy of a
> user.yaml. I want to put some tabs (like vms, templates, images, files) on
> top level and I don't find easy way to do that. My attempt to copy
> vms-tab.js to vms2-tab.js (templates-tab -> templates2-tab, images-tab ->
> images2-tab also) and comment parentTab and tabClass properties works
> partially (sunstone starts to misbehavior - most buttons don't click
> anymore).
>
Note that if you change the file name you will have to change the following
lines in the code
----8<---------------
Sunstone.addMainTab('templates-tab',templates_tab);
<div class="six columns">' + insert_permissions_table('templates-tab',
Sunstone.popUpInfoPanel("template_info_panel", "templates-tab");
var tab_name = 'templates-tab';
---->8---------------
>
> Regards, Rolandas
>
> P.S. In mean time I found a mistake in default admin.yaml -
> "VM.livemigrate" should be "VM.migrate_live".
>
Thank you, http://dev.opennebula.org/issues/2079
Cheers
--
Join us at OpenNebulaConf2013 <http://opennebulaconf.com/> in Berlin, 24-26
September, 2013
--
Daniel Molina
Project Engineer
OpenNebula - The Open Source Solution for Data Center Virtualization
www.OpenNebula.org | dmolina at opennebula.org | @OpenNebula
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130523/352e8cc3/attachment-0002.htm>
More information about the Users
mailing list