]> git.proxmox.com Git - proxmox-backup.git/commitdiff
ui: traffic-control edit: make window taller for more common ratio
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Sat, 20 Nov 2021 21:09:39 +0000 (22:09 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Sat, 20 Nov 2021 21:09:41 +0000 (22:09 +0100)
and add timeframe emptyText

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
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: [],