From fa12d014458f6e060d4b3404cf60ce5da73e5284 Mon Sep 17 00:00:00 2001 From: Hector Sanjuan Date: Mon, 3 Sep 2012 11:38:58 +0200 Subject: [PATCH] Feature #1045: Spice support in Sunstone (cherry picked from commit 96e298578a19cc6d62815c11a71e8904da92f876) --- src/sunstone/public/js/plugins/templates-tab.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/sunstone/public/js/plugins/templates-tab.js b/src/sunstone/public/js/plugins/templates-tab.js index a278ea789e..96bafc0d76 100644 --- a/src/sunstone/public/js/plugins/templates-tab.js +++ b/src/sunstone/public/js/plugins/templates-tab.js @@ -412,8 +412,9 @@ var create_template_tmpl = '
\ \ \ \ + \ \ -
'+tr("VMware supports VNC only")+'
\ +
'+tr("VMware supports VNC only. SPICE is supported by KVM")+'
\
\
\ \ @@ -423,17 +424,17 @@ var create_template_tmpl = '
\
\ \ \ -
'+tr("Port for the VNC server")+'
\ +
'+tr("Port for the VNC/SPICE server")+'
\
\
\ \ \ -
'+tr("Password for the VNC server")+'
\ +
'+tr("Password for the VNC/SPICE server")+'
\
\
\ \ \ -
'+tr("Keyboard configuration locale to use in the VNC display")+'
\ +
'+tr("Keyboard configuration locale to use in the VNC/SPICE display")+'
\
\ \
\ @@ -1599,6 +1600,7 @@ function setupCreateTemplateDialog(){ g_type = $(this).val(); switch (g_type) { case "vnc": + case "spice": $('#LISTEN',section_graphics).parent().show(); $('#PORT',section_graphics).parent().show(); $('#PASSWD',section_graphics).parent().show();