OSDN Git Service

modified - not display console
authorJunichi Shinohara <junichi@karesansui-project.info>
Thu, 15 Jul 2010 03:34:41 +0000 (12:34 +0900)
committerJunichi Shinohara <junichi@karesansui-project.info>
Thu, 15 Jul 2010 03:34:41 +0000 (12:34 +0900)
karesansui/templates/default/console/console.part
karesansui/templates/default/guestby1/guestby1.html

index ca512eb..c7e03b9 100644 (file)
@@ -1,11 +1,12 @@
 <%doc>Copyright (C) 2009-2010 HDE, Inc.</%doc>
+<%inherit file="../include/common.part" />
 
-<center>
-<applet code='VncViewer.class' archive='${ctx.homepath}/static/java/VncViewer.jar' width='760' height='600'>
-<param name="Show controls" value="Yes">
-<param name="Scaling factor" value="95">
-<param name="Offer relogin" value="No">
-<param name="PORT" value="${vnc_port}">
-<param name="HOST" value="${host_ipaddr}">
-</applet>
-</center>
+<div style="vertical-align:middle; text-align:center; background-color:#E9E9E9;">
+    <applet code='VncViewer.class' archive='${ctx.homepath}/static/java/VncViewer.jar' width='760' height='600'>
+        <param name="Show controls" value="Yes">
+        <param name="Scaling factor" value="95">
+        <param name="Offer relogin" value="No">
+        <param name="PORT" value='${vnc_port}'>
+        <param name="HOST" value='${host_ipaddr}'>
+    </applet>
+</div>
index 23ecff3..6a35505 100644 (file)
@@ -54,7 +54,7 @@ $(document).ready(function(){
                             <a class="tab-left" href="#" id="${ctx.homepath}/host/${model.parent_id}/guest/${model.id}/job.part"><span class="tab-right">${_('Job')}</span></a>
                         </li>
                         <li class="top-tab">
-                            <a class="tab-left" href="#" id="${ctx.homepath}/host/${model.parent_id}/guest/${model.id}/console.part"><span class="tab-right">${_('Console')}</span></a>
+                            <a class="tab-left" href="#" id="${ctx.homepath}/host/${model.parent_id}/guest/${model.id}/console.part?standalone=1"><span class="tab-right">${_('Console')}</span></a>
                         </li>
                     </ul>
                 </div>