use better icon for open console

This commit is contained in:
Dietmar Maurer 2013-01-04 08:47:21 +01:00
parent c1bc34a337
commit 40f546b907
3 changed files with 16 additions and 2 deletions

View File

@ -1,5 +1,7 @@
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

View File

@ -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;

View File

@ -71,7 +71,11 @@ Ext.define('PVE.dc.Tasks', {
width: 100,
renderer: function(value, metaData, record) {
if (record.data.pid) {
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) {
if (record.data.type != "vncproxy") {
metaData.tdCls = "x-grid-row-loading";
}
return "";
}
if (value == 'OK') {