[pve-devel] [PATCH manager 4/5] Rename the pve-help-button to pve-inline-button

Emmanuel Kasper e.kasper at proxmox.com
Thu Jul 6 14:01:30 CEST 2017


This will allow reuse of the class for other inlined buttons
---
 www/css/ext6-pve.css              | 2 +-
 www/manager6/button/HelpButton.js | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/www/css/ext6-pve.css b/www/css/ext6-pve.css
index 67bc865d..8a5f2af8 100644
--- a/www/css/ext6-pve.css
+++ b/www/css/ext6-pve.css
@@ -383,7 +383,7 @@
     top: 2px;
 }
 
-.pve-help-button .x-btn-inner {
+.pve-inline-button .x-btn-inner {
     color: black;
 }
 
diff --git a/www/manager6/button/HelpButton.js b/www/manager6/button/HelpButton.js
index c9bc5183..8585e4ad 100644
--- a/www/manager6/button/HelpButton.js
+++ b/www/manager6/button/HelpButton.js
@@ -10,7 +10,7 @@ Ext.define('PVE.button.Help', {
     text: gettext('Help'),
     // make help button less flashy by styling it like toolbar buttons
     iconCls: ' x-btn-icon-el-default-toolbar-small fa fa-question-circle',
-    cls: 'x-btn-default-toolbar-small pve-help-button',
+    cls: 'x-btn-default-toolbar-small pve-inline-button',
     hidden: true,
     listenToGlobalEvent: true,
     controller: {
-- 
2.11.0





More information about the pve-devel mailing list