diff --git a/console/templates/console-spice-full.html b/console/templates/console-spice-full.html
index 587e7a9..450369e 100644
--- a/console/templates/console-spice-full.html
+++ b/console/templates/console-spice-full.html
@@ -63,7 +63,7 @@
{% block content %}
-
+
SPICE
@@ -213,7 +213,7 @@
}
function fullscreen() {
- var screen=document.getElementById('spice-area');
+ var screen=document.getElementById('spice-screen?');
if(screen.requestFullscreen) {
screen.requestFullscreen();
} else if(screen.mozRequestFullScreen) {
diff --git a/console/templates/console-spice-lite.html b/console/templates/console-spice-lite.html
index d70f798..f718a5c 100644
--- a/console/templates/console-spice-lite.html
+++ b/console/templates/console-spice-lite.html
@@ -27,7 +27,7 @@
{% load staticfiles %}
{% block head %}
-
Spice Javascript client
+ WebVirtCloud - Spice - Lite
@@ -140,6 +140,8 @@
//password = spice_query_var('password', '');
password = '{{ console_passwd | safe }}';
+ if (password === 'None') password = '';
+
path = spice_query_var('path', 'websockify');
if ((!host) || (!port)) {
@@ -233,7 +235,7 @@
}
function fullscreen() {
- var screen=document.getElementById('spice-area');
+ var screen=document.getElementById('spice-screen');
if(screen.requestFullscreen) {
screen.requestFullscreen();
} else if(screen.mozRequestFullScreen) {