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:
parent
ffe0fbba9a
commit
e54114b79d
@ -446,10 +446,6 @@
|
||||
color: black;
|
||||
}
|
||||
|
||||
.pve-hint {
|
||||
background-color: LightYellow;
|
||||
}
|
||||
|
||||
/* for info widget */
|
||||
div.left-aligned {
|
||||
float: left;
|
||||
|
@ -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: [
|
||||
|
@ -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>.',
|
||||
|
@ -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,
|
||||
}
|
||||
|
@ -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
|
||||
});
|
||||
|
@ -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>.',
|
||||
|
@ -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,
|
||||
},
|
||||
];
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
});
|
||||
|
@ -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
|
||||
}
|
||||
|
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user