Displaying 1 result from an estimated 1 matches for "vnc_uri".
Did you mean:
src_uri
2009 Jul 15
0
[PATCH server] changed vm details pane vnc uri, removed 'Remote Desktop' virt-viewer-plugin link
...<%=h @vm.uuid %><br/>
- <%= url = request.url
- url = request.url[0..(url.index('/', 8) - 1)] + ":" + @vm.forward_vnc_port.to_s
- @vm.forward_vnc ? (url + "<br/>") : "" %>
+ ovirt-viewer@<span id="vnc_uri"/><br/>
+ <script type="text/javascript">$('#vnc_uri').html(get_server_from_url());</script>
<%=h @vm.num_vcpus_allocated %><br/>
<%=h @vm.num_vcpus_used %><br/>
<%=h @vm.memory_allocated_in_mb %>...