Revision bf4a13d3
Added by Walden Raines over 10 years ago
app/views/hosts/console/spice.html.erb | ||
---|---|---|
<%= javascript 'spice' %>
|
||
<% title "#{@console[:name]}" %>
|
||
<%= title_actions(
|
||
button_group(link_to(_("Ctrl-Alt-Del"), "#", :id => "sendCtrlAltDelButton", :onclick => 'sendCtrlAltDel()', :class => "btn"),
|
||
button_group(link_to(_("Ctrl-Alt-Del"), "#", :id => "sendCtrlAltDelButton", :onclick => 'sendCtrlAltDel()', :class => "btn btn-default"),
|
||
if supports_spice_xpi?
|
||
link_to(_("New window"), "#", :id => "disconnect", :class => "btn", :onclick => 'connectXPI()', :title => _("Open Spice in a new window"))
|
||
link_to(_("New window"), "#", :id => "disconnect", :class => "btn btn-default", :onclick => 'connectXPI()', :title => _("Open Spice in a new window"))
|
||
end,
|
||
if @host
|
||
link_to_if_authorized(_("Back to host"), hash_for_host_path(:id => @host), :title => _("Back to host"), :class => 'btn')
|
||
link_to_if_authorized(_("Back to host"), hash_for_host_path(:id => @host), :title => _("Back to host"), :class => 'btn btn-default')
|
||
end
|
||
)) %>
|
||
|
||
<%= content_tag(:div, :id =>'spice-area', :data => spice_data_attributes(@console)) do %>
|
||
<div class="console-status">
|
||
<div id="spice-status" class="span7 label" data-host="<%= @console[:name] %>"><%= _("Connecting (unencrypted) to: %s") % @console[:name] %></div>
|
||
<div id="spice-status" class="col-md-7 label" data-host="<%= @console[:name] %>"><%= _("Connecting (unencrypted) to: %s") % @console[:name] %></div>
|
||
</div>
|
||
<div id="spice-screen" class="console-screen"> </div>
|
||
<% end %>
|
Also available in: Unified diff
Fixes #3811 updating to bootstrap 3