Add icon for ALT origin
This commit is contained in:
@@ -207,6 +207,12 @@ div.right-aligned {
|
||||
background-image:url(../images/proxmox-symbol-x.svg);
|
||||
}
|
||||
|
||||
.pmx-itype-icon-alt {
|
||||
padding-left: 22px;
|
||||
background-size: 16px 16px; /* Not really required here, as here WxH is 1:1 but cannot hurt */
|
||||
background-image:url(../images/alt_favicon.ico);
|
||||
}
|
||||
|
||||
.pmx-itype-icon-openid-logo {
|
||||
padding-left: 22px;
|
||||
background-size: 16px 16px;
|
||||
|
||||
@@ -6,6 +6,7 @@ IMAGES=pmx-clear-trigger.png \
|
||||
icon-ram.svg \
|
||||
debian-swirl-openlogo.svg \
|
||||
proxmox-symbol-x.svg \
|
||||
alt_favicon.ico \
|
||||
|
||||
all:
|
||||
|
||||
|
||||
BIN
src/images/alt_favicon.ico
Normal file
BIN
src/images/alt_favicon.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.4 KiB |
@@ -348,7 +348,7 @@ Ext.define('Proxmox.node.APTRepositoriesGrid', {
|
||||
let cls = 'fa fa-fw fa-question-circle-o';
|
||||
let originType = this.up('proxmoxNodeAPTRepositories').classifyOrigin(value);
|
||||
if (originType === 'ALT Linux Team') {
|
||||
cls = 'pmx-itype-icon pmx-itype-icon-proxmox-x';
|
||||
cls = 'pmx-itype-icon pmx-itype-icon-alt';
|
||||
}
|
||||
return `<i class='${cls}'></i> ${value}`;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user