mirror of
https://git.proxmox.com/git/proxmox-widget-toolkit
synced 2025-08-05 20:53:28 +00:00
APTRepositories: change separation style between panels
having double borders does not look so nice, separate them with a bit of padding also change the warning panel to a simple header Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
036f48c14d
commit
d8b5cd80c8
@ -110,6 +110,8 @@ Ext.define('Proxmox.node.APTRepositoriesErrors', {
|
||||
|
||||
store: {},
|
||||
|
||||
border: false,
|
||||
|
||||
viewConfig: {
|
||||
stripeRows: false,
|
||||
getRowClass: () => 'proxmox-invalid-row',
|
||||
@ -138,6 +140,8 @@ Ext.define('Proxmox.node.APTRepositoriesGrid', {
|
||||
|
||||
cls: 'proxmox-apt-repos', // to allow applying styling to general components with local effect
|
||||
|
||||
border: false,
|
||||
|
||||
tbar: [
|
||||
{
|
||||
text: gettext('Reload'),
|
||||
@ -466,18 +470,25 @@ Ext.define('Proxmox.node.APTRepositories', {
|
||||
|
||||
items: [
|
||||
{
|
||||
title: gettext('Warning'),
|
||||
name: 'repositoriesMainWarning',
|
||||
xtype: 'panel',
|
||||
xtype: 'header',
|
||||
baseCls: 'x-panel-header',
|
||||
bind: {
|
||||
hidden: '{!mainWarning}',
|
||||
title: '{mainWarning}',
|
||||
},
|
||||
},
|
||||
{
|
||||
xtype: 'box',
|
||||
bind: {
|
||||
hidden: '{!mainWarning}',
|
||||
},
|
||||
height: 5,
|
||||
},
|
||||
{
|
||||
xtype: 'proxmoxNodeAPTRepositoriesErrors',
|
||||
name: 'repositoriesErrors',
|
||||
hidden: true,
|
||||
padding: '0 0 5 0',
|
||||
bind: {
|
||||
hidden: '{noErrors}',
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user