]>
Commit | Line | Data |
---|---|---|
82014ef6 DC |
1 | Ext.define('PMX.image.Logo', { |
2 | extend: 'Ext.Img', | |
3 | xtype: 'proxmoxlogo', | |
4 | ||
5 | height: 30, | |
6 | width: 172, | |
7 | src: '/images/proxmox_logo.png', | |
8 | alt: 'Proxmox', | |
9 | autoEl: { | |
10 | tag: 'a', | |
11 | href: 'https://www.proxmox.com', | |
12 | target: '_blank', | |
13 | }, | |
14 | ||
15 | initComponent: function() { | |
16 | let me = this; | |
17 | let prefix = me.prefix !== undefined ? me.prefix : '/pve2'; | |
18 | me.src = prefix + me.src; | |
19 | me.callParent(); | |
20 | }, | |
21 | }); |