1
1
# UI DSL
2
2
3
- Sparky UI DSL allows to programatically descibe UI for Sparky jobs
3
+ Sparky UI DSL allows to grammatically describe UI for Sparky jobs
4
4
and pass user input into scenario as variables.
5
5
6
6
## Simple example
@@ -47,7 +47,7 @@ Sparky job now gets html controls for input parameters:
47
47
48
48

49
49
50
- Whin scenario those parameters are available through ` tags()` function:
50
+ Whinin scenario those parameters are available through ` tags()` function:
51
51
52
52
` ` ` raku
53
53
say "Name param passed: ", tags()<Name>;
@@ -87,8 +87,8 @@ Currently following UI controls are supported:
87
87
88
88
# # UI sub tasks
89
89
90
- UI sub tasks allow to split complex UI into smaller parts, by specifing `group` term.
91
- Considet this example :
90
+ UI sub tasks allow to split complex UI into smaller parts, by specifying `group` term.
91
+ Consider this example :
92
92
93
93
` ` `
94
94
vars:
@@ -132,7 +132,7 @@ group_vars:
132
132
` ` `
133
133
134
134
When a user clicks a job page, they'll get a choice of two separate pages, one for
135
- coffee (group coffee) and nother one for tea (group tea) UI with respected UI elements.
135
+ coffee (group coffee) and another one for tea (group tea) UI with respected UI elements.
136
136
137
137
138
138
# # Templating UI variables
@@ -177,9 +177,9 @@ vars:
177
177
` ` `
178
178
179
179
` *` Where `$hostame` is output of `hostame` command executed on the server that hosts Sparky,
180
- this varibale could be overriden by `HOSTNAME` environment variable
180
+ this variable could be overridden by `HOSTNAME` environment variable
181
181
182
- Host specific variables always override variable specifed at `SPARKY_ROOT/templates/vars.yaml`
182
+ Host specific variables always override variable specified at `SPARKY_ROOT/templates/vars.yaml`
183
183
184
184
---
185
185
@@ -205,7 +205,7 @@ vars:
205
205
206
206
## Templating tag variables
207
207
208
- Tag variables in ` sparky.yaml ` could use template varibales :
208
+ Tag variables in ` sparky.yaml ` could use template variables :
209
209
210
210
` vars.yaml ` :
211
211
0 commit comments