|
<%= javascript_include_tag("noVNC/util", "noVNC/webutil", "noVNC/base64", "noVNC/websock",
|
|
"noVNC/des", "noVNC/input", "noVNC/display", "noVNC/rfb",
|
|
"noVNC/jsunzip", "noVNC/ui", "noVNC") %>
|
|
|
|
<% title "#{@console[:name]}" %>
|
|
<%= title_actions(
|
|
button_group(link_to("Ctrl-Alt-Del", "#", :id => "sendCtrlAltDelButton", :class => "btn btn-default"),
|
|
if @host
|
|
link_to_if_authorized(_("Back to host"), hash_for_host_path(:id => @host), :title => _("Back to host"), :class => 'btn btn-default')
|
|
end
|
|
) ) %>
|
|
<div id='vnc' data-port='<%= @console[:proxy_port] %>' data-password='<%= @console[:password] %>'>
|
|
|
|
<div id="noVNC_status_bar" class="console-status">
|
|
<div id="noVNC_status" class="col-md-7 label">Loading ...</div>
|
|
</div>
|
|
|
|
<canvas id="noVNC_canvas" class="console-screen">
|
|
<%= _('Canvas not supported.') %>
|
|
</canvas>
|
|
</div>
|