From a433983ded58844944207166ae96740b1043884e Mon Sep 17 00:00:00 2001 From: Marcus Bader Date: Sat, 25 Nov 2023 19:56:02 +0100 Subject: [PATCH] Add: Environment module support YAML format --- web/src/components/EnvironmentForm.vue | 262 ++++++++++++++++++++++--- web/src/lang/de.js | 3 + web/src/lang/en.js | 3 + web/src/lang/fr.js | 3 + web/src/lang/pt.js | 3 + web/src/lang/pt_br.js | 3 + web/src/lang/ru.js | 3 + web/src/lang/zh.js | 3 + 8 files changed, 260 insertions(+), 23 deletions(-) diff --git a/web/src/components/EnvironmentForm.vue b/web/src/components/EnvironmentForm.vue index 6befbd386..d64d351e1 100644 --- a/web/src/components/EnvironmentForm.vue +++ b/web/src/components/EnvironmentForm.vue @@ -14,46 +14,103 @@ - - {{ $t('extraVariables') }} - + + {{ $t("extraVariables") }} + + + - - {{ $t('environmentVariables') }} - + + + + + + {{ $t("environmentVariables") }} + + + + + - {{ $t('environmentAndExtraVariablesMustBeValidJsonExample') }} -
{
+      {{ $t("environmentAndExtraVariablesMustBeValidJsonExample") }}
+      
{
   "var_available_in_playbook_1": 1245,
   "var_available_in_playbook_2": "test"
 }
+ + + {{ $t("environmentAndExtraVariablesMustBeValidYamlExample") }} +
+var_available_in_playbook_1: 1245
+var_available_in_playbook_2: "test"
+
+