[pmg-devel] [PATCH pmg-gui 2/2] rules/content-typefilter: add match source checkboxes
Stoiko Ivanov
s.ivanov at proxmox.com
Wed Feb 12 16:12:41 CET 2025
Signed-off-by: Stoiko Ivanov <s.ivanov at proxmox.com>
---
js/Utils.js | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/js/Utils.js b/js/Utils.js
index 94e3c95..1f9dafa 100644
--- a/js/Utils.js
+++ b/js/Utils.js
@@ -416,6 +416,27 @@ Ext.define('PMG.Utils', {
allowBlank: false,
reset: Ext.emptyFn,
},
+ {
+ xtype: 'proxmoxcheckbox',
+ name: 'magic',
+ fieldLabel: gettext("Detected filetype"),
+ checked: true,
+ uncheckedValue: '0',
+ },
+ {
+ xtype: 'proxmoxcheckbox',
+ name: 'header',
+ fieldLabel: gettext("Content-Type header"),
+ checked: true,
+ uncheckedValue: '0',
+ },
+ {
+ xtype: 'proxmoxcheckbox',
+ name: 'glob',
+ fieldLabel: gettext("File suffix"),
+ checked: true,
+ uncheckedValue: '0',
+ },
],
},
3004: {
--
2.39.5
More information about the pmg-devel
mailing list