]> git.proxmox.com Git - proxmox-backup.git/blobdiff - www/window/TrafficControlEdit.js
ui: traffic-control edit: make window taller for more common ratio
[proxmox-backup.git] / www / window / TrafficControlEdit.js
index 4907c1f1bef4daa5b088a9802207d4356681b41d..f81c19883d9e550e26670711b489292cdff58c82 100644 (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: [],