[pve-devel] [PATCH manager 13/19] change pve-invalid-row class to proxmox-invalid-row

Dominik Csapak d.csapak at proxmox.com
Thu Dec 21 13:36:16 CET 2017


because we will use that in the widget toolkit

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 www/css/ext6-pve.css               | 2 +-
 www/manager6/dc/Log.js             | 2 +-
 www/manager6/dc/Tasks.js           | 2 +-
 www/manager6/grid/FirewallRules.js | 2 +-
 www/manager6/ha/Resources.js       | 2 +-
 www/manager6/panel/IPSet.js        | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/www/css/ext6-pve.css b/www/css/ext6-pve.css
index 2c6de752..adbcb7c0 100644
--- a/www/css/ext6-pve.css
+++ b/www/css/ext6-pve.css
@@ -504,7 +504,7 @@ table.osds td:first-of-type {
     height: initial;
 }
 
-.pve-invalid-row {
+.proxmox-invalid-row {
     background-color: #f3d6d7;
 }
 
diff --git a/www/manager6/dc/Log.js b/www/manager6/dc/Log.js
index 72aa3e6a..f4bb5585 100644
--- a/www/manager6/dc/Log.js
+++ b/www/manager6/dc/Log.js
@@ -36,7 +36,7 @@ Ext.define('PVE.dc.Log', {
 		    var pri = record.get('pri');
 
 		    if (pri && pri <= 3) {
-			return "pve-invalid-row";
+			return "proxmox-invalid-row";
 		    }
 		}
 	    },
diff --git a/www/manager6/dc/Tasks.js b/www/manager6/dc/Tasks.js
index 70798727..0bb4f585 100644
--- a/www/manager6/dc/Tasks.js
+++ b/www/manager6/dc/Tasks.js
@@ -61,7 +61,7 @@ Ext.define('PVE.dc.Tasks', {
 		    var status = record.get('status');
 
 		    if (status && status != 'OK') {
-			return "pve-invalid-row";
+			return "proxmox-invalid-row";
 		    }
 		}
 	    },
diff --git a/www/manager6/grid/FirewallRules.js b/www/manager6/grid/FirewallRules.js
index 80801db0..f0163629 100644
--- a/www/manager6/grid/FirewallRules.js
+++ b/www/manager6/grid/FirewallRules.js
@@ -629,7 +629,7 @@ Ext.define('PVE.FirewallRules', {
 	var render_errors = function(name, value, metaData, record) {
 	    var errors = record.data.errors;
 	    if (errors && errors[name]) {
-		metaData.tdCls = 'pve-invalid-row';
+		metaData.tdCls = 'proxmox-invalid-row';
 		var html = '<p>' +  Ext.htmlEncode(errors[name]) + '</p>';
 		metaData.tdAttr = 'data-qwidth=600 data-qtitle="ERROR" data-qtip="' + 
 		    html.replace(/\"/g,'"') + '"';
diff --git a/www/manager6/ha/Resources.js b/www/manager6/ha/Resources.js
index a73a38ad..314d56e4 100644
--- a/www/manager6/ha/Resources.js
+++ b/www/manager6/ha/Resources.js
@@ -35,7 +35,7 @@ Ext.define('PVE.ha.ResourcesView', {
 	    if (errors) {
 		var msg = errors[dataIndex];
 		if (msg) {
-		    metaData.tdCls = 'pve-invalid-row';
+		    metaData.tdCls = 'proxmox-invalid-row';
 		    var html = '<p>' +  Ext.htmlEncode(msg) + '</p>';
 		    metaData.tdAttr = 'data-qwidth=600 data-qtitle="ERROR" data-qtip="' + 
 			html.replace(/\"/g,'"') + '"';
diff --git a/www/manager6/panel/IPSet.js b/www/manager6/panel/IPSet.js
index c020a2f3..8be6a6d4 100644
--- a/www/manager6/panel/IPSet.js
+++ b/www/manager6/panel/IPSet.js
@@ -372,7 +372,7 @@ Ext.define('PVE.IPSetGrid', {
 	    if (errors) {
 		var msg = errors.cidr || errors.nomatch;
 		if (msg) {
-		    metaData.tdCls = 'pve-invalid-row';
+		    metaData.tdCls = 'proxmox-invalid-row';
 		    var html = '<p>' +  Ext.htmlEncode(msg) + '</p>';
 		    metaData.tdAttr = 'data-qwidth=600 data-qtitle="ERROR" data-qtip="' + 
 			html.replace(/\"/g,'"') + '"';
-- 
2.11.0





More information about the pve-devel mailing list