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:
parent
f2c9da2349
commit
e7acdde758
@ -5,6 +5,7 @@ Ext.define('PBS.window.TrafficControlEdit', {
|
|||||||
|
|
||||||
onlineHelp: 'sysadmin_traffic_control',
|
onlineHelp: 'sysadmin_traffic_control',
|
||||||
width: 800,
|
width: 800,
|
||||||
|
height: 600,
|
||||||
|
|
||||||
isAdd: true,
|
isAdd: true,
|
||||||
|
|
||||||
@ -302,9 +303,12 @@ Ext.define('PBS.window.TrafficControlEdit', {
|
|||||||
items: [
|
items: [
|
||||||
{
|
{
|
||||||
xtype: 'grid',
|
xtype: 'grid',
|
||||||
height: 150,
|
height: 300,
|
||||||
scrollable: true,
|
scrollable: true,
|
||||||
reference: 'timeframes',
|
reference: 'timeframes',
|
||||||
|
viewConfig: {
|
||||||
|
emptyText: gettext('Apply Always'),
|
||||||
|
},
|
||||||
store: {
|
store: {
|
||||||
fields: ['start', 'end', 'mon', 'tue', 'wed', 'thu', 'fri', 'sat', 'sun'],
|
fields: ['start', 'end', 'mon', 'tue', 'wed', 'thu', 'fri', 'sat', 'sun'],
|
||||||
data: [],
|
data: [],
|
||||||
|
Loading…
Reference in New Issue
Block a user