HEX
Server: LiteSpeed
System: Linux CentOS-79-64-minimal 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User: vishn3436 (5293)
PHP: 8.0.15
Disabled: NONE
Upload Files
File: //scripts/script-server/web-src/src/admin/components/scripts-config/script-fields.js
export const nameField = {
    name: 'Script name',
    required: true
};
export const groupField = {
    name: 'Group',
    description: 'Aggregates scripts from the same group into the same category on UI'
};
export const scriptPathField = {
    name: 'Script path',
    required: true
};
export const descriptionField = {
    name: 'Description'
};
export const workDirField = {
    name: 'Working directory'
};
export const allowAllField = {
    name: 'Allow all'
};
export const allowAllAdminsField = {
    name: 'Any admin'
};
export const outputFormatField = {
    name: 'Output format',
    description: 'Specifies in which format the script outputs data ' +
        '(terminal, plain text, html tags, or an extended html page (iframe)',
    values: ['terminal', 'text', 'html', 'html_iframe']
};
export const requiresTerminalField = {
    name: 'Enable pseudo-terminal',
    description: 'Enables pseudo-terminal. ' +
        'This is need for some utilities which behave differently, when executed from terminal'
};
export const includeScriptField = {
    name: 'Include config',
    description: 'Allows to include another shared config'
};