Implemented portal settings page including saving
This commit is contained in:
@ -0,0 +1,381 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?><record_update table="sys_properties">
|
||||
<sys_properties action="INSERT_OR_UPDATE">
|
||||
<choices/>
|
||||
<description>This is the form schematic for the admin panel.</description>
|
||||
<ignore_cache>true</ignore_cache>
|
||||
<is_private>false</is_private>
|
||||
<name>x_355681_fa.form.admin.settings.schema</name>
|
||||
<read_roles>x_355681_fa.fa admin</read_roles>
|
||||
<suffix>form.admin.settings.schema</suffix>
|
||||
<sys_class_name>sys_properties</sys_class_name>
|
||||
<sys_created_by>admin</sys_created_by>
|
||||
<sys_created_on>2023-01-29 13:12:10</sys_created_on>
|
||||
<sys_id>8b21f27f97e061105838bfb3f153af5e</sys_id>
|
||||
<sys_name>x_355681_fa.form.admin.settings.schema</sys_name>
|
||||
<sys_package display_value="Fulfilment Automater" source="x_355681_fa">c04afa629713111093a8337e6253af6d</sys_package>
|
||||
<sys_policy/>
|
||||
<sys_scope display_value="Fulfilment Automater">c04afa629713111093a8337e6253af6d</sys_scope>
|
||||
<sys_update_name>sys_properties_8b21f27f97e061105838bfb3f153af5e</sys_update_name>
|
||||
<type>string</type>
|
||||
<value>{
|
||||
"display": "form",
|
||||
"settings": {
|
||||
"pdf": {
|
||||
"id": "1ec0f8ee-6685-5d98-a847-26f67b67d6f0",
|
||||
"src": "https://files.form.io/pdf/5692b91fd1028f01000407e3/file/1ec0f8ee-6685-5d98-a847-26f67b67d6f0"
|
||||
}
|
||||
},
|
||||
"components": [
|
||||
{
|
||||
"title": "Main details",
|
||||
"theme": "primary",
|
||||
"collapsible": false,
|
||||
"key": "mainDetails",
|
||||
"type": "panel",
|
||||
"label": "Panel",
|
||||
"input": false,
|
||||
"tableView": false,
|
||||
"components": [
|
||||
{
|
||||
"label": "Columns",
|
||||
"columns": [
|
||||
{
|
||||
"components": [
|
||||
{
|
||||
"label": "Name",
|
||||
"disabled": true,
|
||||
"tableView": true,
|
||||
"defaultValue": "Fulfillment Automater",
|
||||
"key": "name",
|
||||
"type": "textfield",
|
||||
"input": true
|
||||
}
|
||||
],
|
||||
"width": 6,
|
||||
"offset": 0,
|
||||
"push": 0,
|
||||
"pull": 0,
|
||||
"size": "md",
|
||||
"currentWidth": 6
|
||||
},
|
||||
{
|
||||
"components": [
|
||||
{
|
||||
"label": "Version",
|
||||
"disabled": true,
|
||||
"tableView": true,
|
||||
"defaultValue": "0.0.1",
|
||||
"key": "version",
|
||||
"type": "textfield",
|
||||
"input": true
|
||||
}
|
||||
],
|
||||
"width": 6,
|
||||
"offset": 0,
|
||||
"push": 0,
|
||||
"pull": 0,
|
||||
"size": "md",
|
||||
"currentWidth": 6
|
||||
}
|
||||
],
|
||||
"key": "columns",
|
||||
"type": "columns",
|
||||
"input": false,
|
||||
"tableView": false
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": "Tabs",
|
||||
"components": [
|
||||
{
|
||||
"label": "General Administration",
|
||||
"key": "generalAdministration",
|
||||
"components": [
|
||||
{
|
||||
"title": "General",
|
||||
"theme": "primary",
|
||||
"collapsible": false,
|
||||
"key": "general",
|
||||
"type": "panel",
|
||||
"label": "Panel",
|
||||
"input": false,
|
||||
"tableView": false,
|
||||
"components": [
|
||||
{
|
||||
"label": "General",
|
||||
"tableView": false,
|
||||
"key": "general1",
|
||||
"type": "container",
|
||||
"input": true,
|
||||
"components": [
|
||||
{
|
||||
"label": "Columns",
|
||||
"columns": [
|
||||
{
|
||||
"components": [
|
||||
{
|
||||
"label": "Scope",
|
||||
"tableView": true,
|
||||
"key": "scope",
|
||||
"type": "textfield",
|
||||
"input": true,
|
||||
"defaultValue": "x_355681"
|
||||
}
|
||||
],
|
||||
"width": 6,
|
||||
"offset": 0,
|
||||
"push": 0,
|
||||
"pull": 0,
|
||||
"size": "md",
|
||||
"currentWidth": 6
|
||||
},
|
||||
{
|
||||
"components": [],
|
||||
"width": 6,
|
||||
"offset": 0,
|
||||
"push": 0,
|
||||
"pull": 0,
|
||||
"size": "md",
|
||||
"currentWidth": 6
|
||||
}
|
||||
],
|
||||
"key": "columns",
|
||||
"type": "columns",
|
||||
"input": false,
|
||||
"tableView": false
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": "Log Administration",
|
||||
"key": "log_administration",
|
||||
"components": [
|
||||
{
|
||||
"title": "Log Administration",
|
||||
"theme": "primary",
|
||||
"collapsible": false,
|
||||
"key": "logAdministration",
|
||||
"type": "panel",
|
||||
"label": "Panel",
|
||||
"input": false,
|
||||
"tableView": false,
|
||||
"components": [
|
||||
{
|
||||
"label": "Logging",
|
||||
"tableView": false,
|
||||
"key": "logging",
|
||||
"type": "container",
|
||||
"input": true,
|
||||
"components": [
|
||||
{
|
||||
"label": "Columns",
|
||||
"columns": [
|
||||
{
|
||||
"components": [
|
||||
{
|
||||
"label": "Retention",
|
||||
"tooltip": "Total months of retention of logging. Default 24 months.",
|
||||
"suffix": "months",
|
||||
"mask": false,
|
||||
"tableView": false,
|
||||
"defaultValue": 24,
|
||||
"delimiter": false,
|
||||
"requireDecimal": false,
|
||||
"inputFormat": "plain",
|
||||
"truncateMultipleSpaces": false,
|
||||
"key": "retention",
|
||||
"type": "number",
|
||||
"input": true
|
||||
},
|
||||
{
|
||||
"label": "Enabled",
|
||||
"tableView": false,
|
||||
"defaultValue": true,
|
||||
"key": "enabled",
|
||||
"type": "checkbox",
|
||||
"input": true
|
||||
}
|
||||
],
|
||||
"width": 6,
|
||||
"offset": 0,
|
||||
"push": 0,
|
||||
"pull": 0,
|
||||
"size": "md",
|
||||
"currentWidth": 6
|
||||
},
|
||||
{
|
||||
"components": [
|
||||
{
|
||||
"label": "Level of debugging",
|
||||
"optionsLabelPosition": "right",
|
||||
"tableView": false,
|
||||
"defaultValue": {
|
||||
"debug": false,
|
||||
"info": false,
|
||||
"warning": true,
|
||||
"error": true
|
||||
},
|
||||
"values": [
|
||||
{
|
||||
"label": "Debug",
|
||||
"value": "debug",
|
||||
"shortcut": ""
|
||||
},
|
||||
{
|
||||
"label": "Info",
|
||||
"value": "info",
|
||||
"shortcut": ""
|
||||
},
|
||||
{
|
||||
"label": "Warning",
|
||||
"value": "warning",
|
||||
"shortcut": ""
|
||||
},
|
||||
{
|
||||
"label": "Error",
|
||||
"value": "error",
|
||||
"shortcut": ""
|
||||
}
|
||||
],
|
||||
"key": "levelOfDebugging",
|
||||
"type": "selectboxes",
|
||||
"input": true,
|
||||
"inputType": "checkbox"
|
||||
}
|
||||
],
|
||||
"width": 6,
|
||||
"offset": 0,
|
||||
"push": 0,
|
||||
"pull": 0,
|
||||
"size": "md",
|
||||
"currentWidth": 6
|
||||
}
|
||||
],
|
||||
"key": "columns2",
|
||||
"type": "columns",
|
||||
"input": false,
|
||||
"tableView": false
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": "Advanced Settings",
|
||||
"key": "advanced_settings",
|
||||
"components": [
|
||||
{
|
||||
"title": "Advanced Settings",
|
||||
"theme": "primary",
|
||||
"collapsible": false,
|
||||
"key": "advancedSettings",
|
||||
"type": "panel",
|
||||
"label": "Panel",
|
||||
"input": false,
|
||||
"tableView": false,
|
||||
"components": [
|
||||
{
|
||||
"label": "Advanced Warning",
|
||||
"attrs": [
|
||||
{
|
||||
"attr": "",
|
||||
"value": ""
|
||||
}
|
||||
],
|
||||
"content": "<div class=\"alert alert-warning\" role=\"alert\">\n <h4>Warning</h4>\n <p>\n Here you find advanced setting for Fulfillment Automater. Make sure you are aware of what you are doing, before making any changes.\n </p>\n</div>",
|
||||
"refreshOnChange": false,
|
||||
"key": "advancedWarning",
|
||||
"type": "htmlelement",
|
||||
"input": false,
|
||||
"tableView": false
|
||||
},
|
||||
{
|
||||
"label": "Advanced",
|
||||
"tableView": false,
|
||||
"key": "advanced",
|
||||
"type": "container",
|
||||
"input": true,
|
||||
"components": [
|
||||
{
|
||||
"label": "Columns",
|
||||
"columns": [
|
||||
{
|
||||
"components": [
|
||||
{
|
||||
"label": "Pause all Fulfillment processes",
|
||||
"tooltip": "WARNING: This will pause all currently running fulfillment processes that are controlled by FA",
|
||||
"tableView": false,
|
||||
"defaultValue": false,
|
||||
"key": "pauseAllFulfillmentProcesses",
|
||||
"type": "checkbox",
|
||||
"input": true
|
||||
},
|
||||
{
|
||||
"label": "Clear logging table",
|
||||
"tooltip": "WARNING: This will delete all records from the FA Logging table.",
|
||||
"tableView": false,
|
||||
"key": "clearLoggingTable",
|
||||
"type": "checkbox",
|
||||
"input": true,
|
||||
"defaultValue": false
|
||||
}
|
||||
],
|
||||
"width": 6,
|
||||
"offset": 0,
|
||||
"push": 0,
|
||||
"pull": 0,
|
||||
"size": "md",
|
||||
"currentWidth": 6
|
||||
},
|
||||
{
|
||||
"components": [],
|
||||
"width": 6,
|
||||
"offset": 0,
|
||||
"push": 0,
|
||||
"pull": 0,
|
||||
"size": "md",
|
||||
"currentWidth": 6
|
||||
}
|
||||
],
|
||||
"key": "columns",
|
||||
"type": "columns",
|
||||
"input": false,
|
||||
"tableView": false
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"verticalLayout": true,
|
||||
"key": "tabs",
|
||||
"type": "tabs",
|
||||
"input": false,
|
||||
"tableView": false
|
||||
},
|
||||
{
|
||||
"label": "Submit",
|
||||
"showValidations": false,
|
||||
"customClass": "pull-right",
|
||||
"disableOnInvalid": true,
|
||||
"tableView": false,
|
||||
"key": "submit",
|
||||
"type": "button",
|
||||
"saveOnEnter": false,
|
||||
"input": true
|
||||
}
|
||||
]
|
||||
}</value>
|
||||
<write_roles>x_355681_fa.fa admin</write_roles>
|
||||
</sys_properties>
|
||||
<sys_translated_text action="delete_multiple" query="documentkey=8b21f27f97e061105838bfb3f153af5e"/>
|
||||
</record_update>
|
||||
Reference in New Issue
Block a user