Commit f6beef43 authored by Dietmar Maurer's avatar Dietmar Maurer

use better icon for open console

parent 43fee421
pve-manager (2.3-3) unstable; urgency=low
* GUI: tasks - use better icon for open console
* implement auto-ballooning
-- Proxmox Support Team <support@proxmox.com> Thu, 20 Dec 2012 13:44:53 +0100
......
......@@ -9,6 +9,12 @@
background-image:url(../ext4/resources/themes/images/default/shared/loading-balls.gif);
}
.x-grid-row-console {
background-color: #fff;
background: no-repeat center center;
background-image:url(../images/display.png);
}
.x-selectable, .x-selectable * {
-moz-user-select: text!important;
-khtml-user-select: text!important;
......
......@@ -71,7 +71,11 @@ Ext.define('PVE.dc.Tasks', {
width: 100,
renderer: function(value, metaData, record) {
if (record.data.pid) {
metaData.tdCls = "x-grid-row-loading";
if (record.data.type == "vncproxy") {
metaData.tdCls = "x-grid-row-console";
} else {
metaData.tdCls = "x-grid-row-loading";
}
return "";
}
return Ext.Date.format(value, "M d H:i:s");
......@@ -99,7 +103,9 @@ Ext.define('PVE.dc.Tasks', {
width: 200,
renderer: function(value, metaData, record) {
if (record.data.pid) {
metaData.tdCls = "x-grid-row-loading";
if (record.data.type != "vncproxy") {
metaData.tdCls = "x-grid-row-loading";
}
return "";
}
if (value == 'OK') {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment