add a class to the whole outer div to manage the CSS rules for the
EOL widget and use this to keep the original color for links even if
they got visited already.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
color: #3892d4;
}
-.pwt-eol-icon {
+.eol-notice a:visited {
+ color: inherit;
+}
+.eol-notice > i.fa {
position: relative;
float: left;
margin-right: 5px;
extend: 'Ext.Component',
alias: 'widget.proxmoxEOLNotice',
+ userCls: 'eol-notice',
padding: '0 5',
config: {
let message = Ext.String.format(
gettext('Support for {0} {1} ends on {2}'), me.product, me.version, me.eolDate);
- me.html = `<i class="fa pwt-eol-icon fa-exclamation-triangle"></i>
+ me.html = `<i class="fa fa-exclamation-triangle"></i>
<a href="${href}" target="_blank">${message} <i class="fa fa-external-link"></i></a>
`;