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