File tree Expand file tree Collapse file tree 2 files changed +34
-24
lines changed
src/dashboard/Synapse.Dashboard
Components/CreateWorkflowInstanceDialog Expand file tree Collapse file tree 2 files changed +34
-24
lines changed Original file line number Diff line number Diff line change 47
47
</Tab >
48
48
</Tabs >
49
49
50
- <div class =" py-3" >
51
- @if (Operators != null && Operators .Count () > 0 )
52
- {
53
- <select class =" form-select m-2" @onchange =" OnSelectOperatorChanged" >
54
- <option value =" " >Any Operator </option >
55
- @foreach ( var op in Operators )
50
+ <Accordion class =" py-3" >
51
+ <AccordionItem Title =" Advanced Settings" >
52
+ <Content >
53
+ @if (Operators != null && Operators .Count () > 0 )
56
54
{
57
- var name = op .GetName () + " ." + op .GetNamespace ();
58
- <option value =" @name" selected =" @(name == operatorName)" >@name </option >
55
+ <label for =" operator" >Select an Operator to run the Workflow : </label >
56
+ <select id =" operator" class =" form-select" @onchange =" OnSelectOperatorChanged" >
57
+ <option value =" " >Any Operator </option >
58
+ @foreach ( var op in Operators )
59
+ {
60
+ var name = op .GetName () + " ." + op .GetNamespace ();
61
+ <option value =" @name" selected =" @(name == operatorName)" >@name </option >
62
+ }
63
+ </select >
59
64
}
60
- </select >
61
- }
62
- </div >
65
+ </Content >
66
+ </ AccordionItem >
67
+ </Accordion >
63
68
64
69
<div class =" text-center" >
65
70
<Button Outline =" true" Color =" ButtonColor.Primary" class =" m-auto mt-3 w-100" @onclick =" async _ => await OnStartAsync()" >
Original file line number Diff line number Diff line change 65
65
</div >
66
66
}
67
67
68
- <div class =" py-3" >
69
- @if (operators != null && operators .Count () > 0 )
70
- {
71
- <select class =" form-select m-2" @onchange =" (e) => Store.SetOperator(e.Value?.ToString())" >
72
- <option value =" " >Any Operator </option >
73
- @foreach ( var op in operators )
74
- {
75
- var name = op .GetName () + " ." + op .GetNamespace ();
76
- <option value =" @name" selected =" @(name == operatorName)" >@name </option >
77
- }
78
- </select >
79
- }
80
- </div >
68
+ <Accordion class =" py-3" >
69
+ <AccordionItem Title =" Advanced Settings" >
70
+ <Content >
71
+ @if (operators != null && operators .Count () > 0 )
72
+ {
73
+ <label for =" operator" >Select an Operator to run the Workflow : </label >
74
+ <select id =" operator" class =" form-select" @onchange =" (e) => Store.SetOperator(e.Value?.ToString())" >
75
+ <option value =" " >Any Operator </option >
76
+ @foreach ( var op in operators )
77
+ {
78
+ var name = op .GetName () + " ." + op .GetNamespace ();
79
+ <option value =" @name" selected =" @(name == operatorName)" >@name </option >
80
+ }
81
+ </select >
82
+ }
83
+ </Content >
84
+ </AccordionItem >
85
+ </Accordion >
81
86
82
87
<Button class =" mt-3" Color =" ButtonColor.Primary" Outline =" true" Disabled =" saving" @onclick =" async (_) => await Store.SaveWorkflowDefinitionAsync()" >
83
88
@if (! saving )
You can’t perform that action at this time.
0 commit comments