Navigation Menu

Skip to content

Commit

Permalink
Move Spice/VNC toolbar button to an Access dropdown under Cloud
Browse files Browse the repository at this point in the history
  • Loading branch information
bmclaughlin committed Dec 19, 2016
1 parent 08521d6 commit bcc7cdf
Showing 1 changed file with 16 additions and 6 deletions.
Expand Up @@ -99,12 +99,22 @@ def self.included(included_class)
:options => {:feature => :terminate}),
]
),
included_class.button(
:vm_vnc_console,
'fa fa-html5 fa-lg',
N_('Open a web-based VNC or SPICE console for this VM'),
nil,
:url => "html5_console"),
])
included_class.button_group('vm_access', [
included_class.select(
:vm_remote_access_choice,
'fa pficon-screen fa-lg',
N_('VM Remote Access'),
N_('Access'),
:items => [
included_class.button(
:vm_vnc_console,
'pficon pficon-screen fa-lg',
N_('Open a web-based VNC or SPICE console for this VM'),
N_('VM Console'),
:url => "html5_console"),
]
),
])
end
end

0 comments on commit bcc7cdf

Please sign in to comment.