blob: 9daebd075b6c583406d19affc6874ec5b54738b2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
|
<div>
<div class="b2b-modal-header ng-scope in">
<h2 id="myModalLabel" modal-title="">Create Workflows</h2>
<div class="corner-button in">
<button type="button" class="close" aria-label="Close"
ng-click="$dismiss('cancel')"></button>
</div>
</div>
<div class="b2b-modal-body ng-scope ng-isolate-scope in">
<form name="workflowForm" class="css-form" novalidate>
<div class="form-row input-emphasized-field">
<label for="textinputID1">Name *: </label>
<div class="field-group">
<input type="text" id="textinputID-2a" ddh-reset ng-model="workflow.name" class="span12 input-emphasized"
name="workflowName" required="required" placeholder="Workflow Name" />
<div ng-show="workflowForm.$submitted || workflowForm.workflowName.$touched">
<span ng-show="workflowForm.workflowName.$error.required">Workflow Name is required !!!</span>
</div>
</div>
</div>
<div class="form-row input-emphasized-field">
<label for="textinputID1">Key*: </label>
<div class="field-group">
<input type="text" id="textinputID-2a" ddh-reset ng-model="workflow.workflowKey" class="span12 input-emphasized"
name="workflowKey" required="required" placeholder="Workflow Key" />
<div ng-show="workflowForm.$submitted || workflowForm.workflowKey.$touched">
<span ng-show="workflowForm.workflowKey.$error.required">Workflow Key is required !!!</span>
</div>
</div>
</div>
<div class="form-row input-emphasized-field">
<label for="textinputID1">Description: </label>
<div class="field-group">
<input type="text" ng-model="workflow.description" id = "textinputID-2a" ddh-reset name="workflowDescription" class="span12 input-emphasized" placeholder="Brief Description"/>
</div>
</div>
<div class="form-row input-emphasized-field">
<label for="textinputID1">Workflow Server URL*</label>
<div class="field-group">
<input type = "url" ng-model = "workflow.runLink" id = "workflowRunLink" ddh-reset name = "workflowRunLink" required = "required" class="span12 input-emphasized"/>
</div>
<div ng-show="workflowForm.$submitted || workflowForm.workflowRunLink.$touched">
<span ng-show="workflowForm.workflowRunLink.$error.required">Run Link is required !!!</span>
<span class="error" ng-show="workflowForm.workflowRunLink.$error.url">Not valid url!</span>
</div>
</div>
<!-- <div class="control-group">
<label class="fn-ebz-text large" for="workflowSuspendLink">Suspend Link*</label>
<div class="controls">
<input type = "url" ng-model = "workflow.suspendLink" id = "workflowSuspendLink" name = "workflowSuspendLink" required = "required" class="fn-ebz-text extra-large"/>
</div>
<div ng-show="workflowForm.$submitted || workflowForm.workflowSuspendLink.$touched">
<span ng-show="workflowForm.workflowSuspendLink.$error.required">Suspend Link is required !!!</span>
<span class="error" ng-show="workflowForm.workflowSuspendLink.$error.url">Not valid url!</span>
</div>
</div> -->
<div class="form-row" role="radio">
<fieldset role="radiogroup" radio-group-accessibility aria-labelledby="radiolabel1">
<label for="optionsRadios1111" class="radio">
<!-- <input type = "text" ng-model = "workflow.active" id="workflowActive" name="workflowActive" class="fn-ebz-text extra-large"/> -->
<input type="radio" ng-model="workflow.active" id="optionsRadios1111" name="optionsRadio11" value="true" required="">
<i class="skin"></i>
<span>Active</span>
</label>
</div>
<div class="form-row" role="radio">
<label for="optionsRadios2222" class="radio">
<input type="radio" ng-model ="workflow.active" id="optionsRadios2222" name="optionsRadio11" value="false">
<i class="skin"></i>
<span>Inactive</span>
</label>
<!-- </div>
<input type="radio" ng-model="workflow.active" value="true">Active
<input type="radio" ng-model="workflow.active" value="false">Inactive
</div> -->
</div>
</fieldset>
</div>
<div class="b2b-modal-footer ng-scope ng-isolate-scope in">
<div class="cta-button-group in">
<button class="btn btn-alt btn-small"" type="button" ng-click="ok()">OK</button>
<button class="btn btn-medium" type="button"
ng-click="cancel()">Cancel</button>
</div>
</div>
</form>
<br />
</div>
</div>
|