mirror of
https://git.proxmox.com/git/proxmox-widget-toolkit
synced 2025-05-30 02:55:52 +00:00
ui: repo status: adapt flex-ratio and center health vertically
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
5267494a87
commit
f411afb40c
@ -540,7 +540,7 @@ Ext.define('Proxmox.node.APTRepositories', {
|
|||||||
items: [
|
items: [
|
||||||
{
|
{
|
||||||
xtype: 'box',
|
xtype: 'box',
|
||||||
flex: 1,
|
flex: 2,
|
||||||
margin: 10,
|
margin: 10,
|
||||||
data: {
|
data: {
|
||||||
iconCls: Proxmox.Utils.get_health_icon(undefined, true),
|
iconCls: Proxmox.Utils.get_health_icon(undefined, true),
|
||||||
@ -550,7 +550,7 @@ Ext.define('Proxmox.node.APTRepositories', {
|
|||||||
data: '{state}',
|
data: '{state}',
|
||||||
},
|
},
|
||||||
tpl: [
|
tpl: [
|
||||||
'<center>',
|
'<center class="centered-flex-column" style="font-size:15px;line-height: 25px;">',
|
||||||
'<i class="fa fa-4x {iconCls}"></i>',
|
'<i class="fa fa-4x {iconCls}"></i>',
|
||||||
'<br/><br/>',
|
'<br/><br/>',
|
||||||
'{text}',
|
'{text}',
|
||||||
@ -560,7 +560,7 @@ Ext.define('Proxmox.node.APTRepositories', {
|
|||||||
{
|
{
|
||||||
xtype: 'proxmoxNodeAPTRepositoriesErrors',
|
xtype: 'proxmoxNodeAPTRepositoriesErrors',
|
||||||
name: 'repositoriesErrors',
|
name: 'repositoriesErrors',
|
||||||
flex: 2,
|
flex: 7,
|
||||||
margin: 10,
|
margin: 10,
|
||||||
bind: {
|
bind: {
|
||||||
store: '{errorstore}',
|
store: '{errorstore}',
|
||||||
|
Loading…
Reference in New Issue
Block a user