6 <div ui-jq=
"tabs" id=
"alltabs" >
9 <li><a href=
"#tabs-1" ng-click=
"campaign_clicked()" >Campaign
</a></li>
10 <li><a href=
"#tabs-2" ng-click=
"compose_clicked()">Compose
</a></li>
11 <li><a href=
"#tabs-3" ng-click=
"rec_clicked()">Recipients and Winner Criteria
</a> </li>
12 <li><a href=
"#tabs-4" ng-click=
"preview_clicked()">Preview and Send
</a></li>
19 <h3> What would you like to test ?
</h3><br><br>
21  
<input type=
"radio" ng-model=
"template" ng-value=
"templates[0]"> Subject Lines
<br/><br>
22  
<input type=
"radio" ng-model=
"template" ng-value=
"templates[1]"> From Names
<br/><br>
23  
<input type=
"radio" ng-model=
"template" ng-value=
"templates[2]"> Two different Emails
<br/><br>
24  
<div style=
"position:relative; left:250px;" nextbutton
></div>
31 <div ng-include=
"template.url">
33 <div style=
"position:relative; left:200px; top:30px;" prevbutton
></div><div style=
"position:relative; left:300px;"nextbutton
></div>
39 <form name=
"impform" novalidate
>
40 <h3>Select the groups you would like to add
</h3><br>
41  
<select multiple groupselect required name =
"grps" required
ng-model=
"groups_selected">
42 <option ng-repeat=
"grp in groups" value={{grp.title}}
>{{grp.title}}
</option>
46 <h3>Select the size of your test group
</h3><br>
47   Percentage Selected - {{slide_value}}%
49 <div sliderbar
id=
"trial" style=
"margin: 10px;"></div>
51 <h3 style=
"text-decoration: underline;">How will the winner be decided
</h3><br>
52  
<input type=
"radio" ng-model=
"winner_criteria" value=
"Open" name=
"cri" required
> Open
<br/><br>
53  
<input type=
"radio" ng-model=
"winner_criteria" value=
"Total Unique Clicks" name=
"cri" checked=
"checked" > Total Unique Clicks
<br/><br>
54  
<input type=
"radio" ng-model=
"winner_criteria" value=
"Total Clicks on a particular link" name=
"cri" > Total Clicks on a particular link
<br/><br>
56 <h3>Do you want the A/B test to be automated
</h3>
57  
<input type=
"radio" ng-model=
"automated" value=
"Yes" ng-click=
"setifyes(1)" name=
"auto" required
>Yes  
58  
<input type=
"radio" ng-model=
"automated" value=
"No" ng-click=
"setifyes(2)" name=
"auto" checked=
"checked"> No
<br/><br>
60 <tpmax ng-show=
"ifyes">
62 <h3> Please enter the confidence level at which a decision can be made
</h3>
63    
<input type=
"text" style=
"height: 20px; width: 25px;" ng-model=
"conf" numbar=
99 ><br><br>
64 <div ng-show=
"conf==null || conf ==0 || conf>99" style=
"color: red;">  Please Enter a Valid Number
</div>
66 <h3>If the confidence level is not reached what do you want us to do?
</h3>
67  
<input type=
"radio" ng-model=
"ifnot" value=
"Inform me" name=
"ifnot"/> Inform me
<br/><br>
68  
<input type=
"radio" checked=
"checked" ng-model=
"ifnot" value=
"Send Version A" name=
"ifnot" /> Send Version A
<br/><br>
69  
<input type=
"radio" ng-model=
"ifnot" value=
"Send Version B" name=
"ifnot"/> Send Version B
<br/><br>
72 <div nextbutton
></div>
76 <h3>Declare the winner in how much time?
</h3><br>
77  
<input type=
"text" style=
"height: 20px; width: 15px;" ng-model=
"days" numbar=
7 name=
"d"> Days
78  
<input type=
"text" style=
"height: 20px; width: 15px;" ng-model=
"hours" numbar=
23 name=
"h"> Hours
79  
<input type=
"text" style=
"height: 20px; width: 15px;" ng-model=
"minutes" numbar=
59 name=
"m"> Minutes
80 <div ng-show=
"((days == null || days ==0 ) && (hours==null|| hours == 0 ) && (minutes==null || minutes ==0 )|| days>99 || minutes>59 || hours >23) " style=
"color: red;">  Please a Valid Time
</div>
85 <div style=
"position:relative; left:200px; top:30px;" prevbutton
></div><div style=
"position:relative; left:300px;"nextbutton
></div>
95 <td>Test Criteria
</td>
96 <td>{{template.name}}
</td>
99 <td>Groups Selected
</td>
100 <td>{{groups_selected}}
</td>
103 <td>Size of Test Group
</td>
104 <td>{{slide_value}}
</td>
107 <td>Winner Criteria
</td>
108 <td>{{winner_criteria}}
</td>
112 <td>{{automated}}
</td>
114 <tr ng-show=
"automated=='Yes'">
115 <td>Minum Confidence Level
</td>
118 <tr ng-show=
"automated=='Yes'">
119 <td>If Level not Achieved
</td>
123 <td>Declare Winner in
</td>
124 <td>{{days}} Days {{hours}} Hours {{minutes}} Minutes
</td>
128 <h3><a href=
"#">Preview Mailing
</a></h3><br>
130 <h3>When to Start
</h3><br>
132 <input type=
"radio" name=
"Start" ng-model=
"start" value=
"now"> Now  
133 <input type=
"radio" name=
"Start" ng-model=
"start" value=
"later"> Later
135    
<input type=
"text" datepick class =
"dateplugin" ng-show=
"start=='later'" ng-model=
"send_date" >
139 <div style=
"position:relative; left:200px; top:30px;" prevbutton
></div><div class=
"crm-submit-buttons" style=
"position:relative; left:300px;">
140 <div class =
"crm-button crm-button-type-upload crm-button_qf_Contact_upload_view" >
141 <input type=
"submit" value=
"Submit & Send" id=
"campaignbutton _qf_Contact_upload_view-top" class=
"btn btn-primary" nexttab={{tab_val}}
>