change .pve-hint to .pmx-hint css-class

With introducing pmx-hint to pmg as well, by adding a 'pmx-hint' css-class
to proxmox-widget-toolkit, it makes sense to use the definition everywhere.
this patch drops the .pve-hint class from pve's css and replaces all occurences
in the GUI-source.

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
This commit is contained in:
Stoiko Ivanov 2019-10-07 21:37:34 +02:00 committed by Dominik Csapak
parent ffe0fbba9a
commit e54114b79d
11 changed files with 12 additions and 16 deletions

View File

@ -446,10 +446,6 @@
color: black;
}
.pve-hint {
background-color: LightYellow;
}
/* for info widget */
div.left-aligned {
float: left;

View File

@ -222,7 +222,7 @@ Ext.define('PVE.ceph.CephInstallWizard', {
{
xtype: 'displayfield',
value: gettext('Additional monitors are recommended. They can be created at any time in the Monitor tab.'),
userCls: 'pve-hint'
userCls: 'pmx-hint'
}
],
advancedColumn1: [

View File

@ -111,7 +111,7 @@ Ext.define('PVE.CephCreateOsd', {
{
xtype: 'displayfield',
padding: '5 0 0 0',
userCls: 'pve-hint',
userCls: 'pmx-hint',
value: 'Note: Ceph is not compatible with disks backed by a hardware ' +
'RAID controller. For details see ' +
'<a target="_blank" href="' + Proxmox.Utils.get_help_link('chapter_pveceph') + '">the reference documentation</a>.',

View File

@ -24,7 +24,7 @@ Ext.define('PVE.form.SpiceEnhancementSelector', {
{
xtype: 'displayfield',
itemId: 'spicehint',
userCls: 'pve-hint',
userCls: 'pmx-hint',
value: gettext('To use these features set the display to SPICE in the hardware settings of the VM.'),
hidden: true,
}

View File

@ -24,7 +24,7 @@ Ext.define('PVE.ha.VMResourceInputPanel', {
var disabledHint = Ext.createWidget({
xtype: 'displayfield', // won't get submitted by default
userCls: 'pve-hint',
userCls: 'pmx-hint',
value: 'Disabling the resource will stop the guest system. ' +
'See the online help for details.',
hidden: true
@ -33,7 +33,7 @@ Ext.define('PVE.ha.VMResourceInputPanel', {
var fewVotesHint = Ext.createWidget({
itemId: 'fewVotesHint',
xtype: 'displayfield',
userCls: 'pve-hint',
userCls: 'pmx-hint',
value: 'At least three quorum votes are recommended for reliable HA.',
hidden: true
});

View File

@ -159,7 +159,7 @@ Ext.define('PVE.node.CreateZFS', {
{
xtype: 'displayfield',
padding: '5 0 0 0',
userCls: 'pve-hint',
userCls: 'pmx-hint',
value: 'Note: ZFS is not compatible with disks backed by a hardware ' +
'RAID controller. For details see ' +
'<a target="_blank" href="' + Proxmox.Utils.get_help_link('chapter_zfs') + '">the reference documentation</a>.',

View File

@ -48,7 +48,7 @@ Ext.define('PVE.qemu.EFIDiskInputPanel', {
{
xtype: 'label',
text: gettext("Warning: The VM currently does not uses 'OVMF (UEFI)' as BIOS."),
userCls: 'pve-hint',
userCls: 'pmx-hint',
hidden: me.usesEFI,
},
];

View File

@ -91,7 +91,7 @@ Ext.define('PVE.qemu.PCIInputPanel', {
padding: '0 0 10 0',
value: 'No IOMMU detected, please activate it.' +
'See Documentation for further information.',
userCls: 'pve-hint'
userCls: 'pmx-hint'
});
me.items.insert(0, warning);
me.updateLayout(); // insert does not trigger that
@ -130,7 +130,7 @@ Ext.define('PVE.qemu.PCIInputPanel', {
itemId: 'iommuwarning',
value: 'The selected Device is not in a seperate' +
'IOMMU group, make sure this is intended.',
userCls: 'pve-hint'
userCls: 'pmx-hint'
});
me.items.insert(0, warning);
me.updateLayout(); // insert does not trigger that

View File

@ -8,7 +8,7 @@ Ext.define('PVE.qemu.BiosEdit', {
var EFIHint = Ext.createWidget({
xtype: 'displayfield', //submitValue is false, so we don't get submitted
userCls: 'pve-hint',
userCls: 'pmx-hint',
value: gettext('You need to add an EFI disk for storing the EFI settings. See the online help for details.'),
hidden: true
});

View File

@ -86,7 +86,7 @@ Ext.define('PVE.window.BulkAction', {
{
itemId: 'lxcwarning',
xtype: 'displayfield',
userCls: 'pve-hint',
userCls: 'pmx-hint',
value: 'Warning: Running CTs will be migrated in Restart Mode.',
hidden: true // only visible if running container chosen
}

View File

@ -25,7 +25,7 @@ Ext.define('PVE.FirewallEnableEdit', {
{
xtype: 'displayfield',
name: 'warning',
userCls: 'pve-hint',
userCls: 'pmx-hint',
value: gettext('Warning: Firewall still disabled at datacenter level!'),
hidden: true
}