Commit ea076656 authored by Dietmar Maurer's avatar Dietmar Maurer

use better icons for shell/spiceproxy tasks

parent c6a100d3
......@@ -464,6 +464,7 @@ Ext.define('PVE.Utils', { statics: {
task_desc_table: {
vncproxy: [ 'VM/CT', gettext('Console') ],
spiceproxy: [ 'VM/CT', gettext('Spice Console') ],
vncshell: [ '', gettext('Shell') ],
qmsnapshot: [ 'VM', gettext('Snapshot') ],
qmrollback: [ 'VM', gettext('Rollback') ],
......
......@@ -71,7 +71,9 @@ Ext.define('PVE.dc.Tasks', {
width: 100,
renderer: function(value, metaData, record) {
if (record.data.pid) {
if (record.data.type == "vncproxy") {
if (record.data.type == "vncproxy" ||
record.data.type == "vncshell" ||
record.data.type == "spiceproxy") {
metaData.tdCls = "x-grid-row-console";
} else {
metaData.tdCls = "x-grid-row-loading";
......
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