Project

General

Profile

Download (1.02 KB) Statistics
| Branch: | Tag: | Revision:
<%= javascript 'spice' %>
<% title "#{@console[:name]}" %>
<%= title_actions(
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 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 btn-default')
end
)) %>

<%= content_tag(:div, :id =>'spice-area', :data => spice_data_attributes(@console)) do %>
<div class="console-status">
<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 %>
(2-2/3)