ui: traffic-control edit: make window taller for more common ratio

and add timeframe emptyText

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2021-11-20 22:09:39 +01:00
parent f2c9da2349
commit e7acdde758

View File

@ -5,6 +5,7 @@ Ext.define('PBS.window.TrafficControlEdit', {
onlineHelp: 'sysadmin_traffic_control',
width: 800,
height: 600,
isAdd: true,
@ -302,9 +303,12 @@ Ext.define('PBS.window.TrafficControlEdit', {
items: [
{
xtype: 'grid',
height: 150,
height: 300,
scrollable: true,
reference: 'timeframes',
viewConfig: {
emptyText: gettext('Apply Always'),
},
store: {
fields: ['start', 'end', 'mon', 'tue', 'wed', 'thu', 'fri', 'sat', 'sun'],
data: [],