3 {{currentABTest.mailing_id_b}}
<br>
4 {{currentABTest.mailing_id_a}}
<br>
7 <div ui-jq=
"tabs" id=
"alltabs">
10 <li><a href=
"#tabs-1" ng-click=
"campaign_clicked()">Campaign
</a></li>
11 <li><a href=
"#tabs-2" ng-click=
"compose_clicked()">Compose
</a></li>
12 <li><a href=
"#tabs-3" ng-click=
"rec_clicked()">Recipients and Winner Criteria
</a></li>
13 <li><a href=
"#tabs-4" ng-click=
"preview_clicked()">Preview and Send
</a></li>
19 <h3> What would you like to Name the Test ?
</h3><br>
20 <input type=
"text" ng-model=
"currentABTest.name"><br><br><br>
22 <h3> What would you like to test ?
</h3><br><br>
24  
<input type=
"radio" ng-model=
"template" ng-value=
"templates[0]" ng-click=
"init(2)" ng-checked=
"template.val==1"> Subject Lines
<br/><br>
25  
<input type=
"radio" ng-model=
"template" ng-value=
"templates[1]" ng-click=
"init(3)" ng-checked=
"template.val==2"> From Names
<br/><br>
26  
<input type=
"radio" ng-model=
"template" ng-value=
"templates[2]" ng-click=
"init(1)" ng-checked=
"template.val==3"> Two different Emails
<br/><br>
28 <div style=
"position:relative; left:220px; top: 30px;" nextbutton
></div>
29 <div style=
"position:relative; left:300px; top:-1px;" cancelbutton
></div>
38 <div ng-include=
"template.url">
41 <div style=
"position:relative; left:200px; top:61px;" prevbutton
></div>
42 <div style=
"position:relative; left:300px; top: 30px;" submitform nextbutton
></div>
43 <div style=
"position:relative; left:375px; top:-1px;" cancelbutton
></div>
50 <form name=
"impform" novalidate
>
51 <h3>Select the groups you would like to add
</h3><br>
55 <select multiple chsgroup
>
56 <option id=
"1" ng-repeat=
"grp in groups" value=
"{{grp.id}} group include {{grp.title}}"> {{grp.title}}
58 <option ng-repeat=
"grp in groups" value=
"{{grp.id}} group exclude {{grp.title}}"> {{grp.title}}
</option>
59 <option ng-repeat=
"ml in mailList" value=
"{{ml.id}} mail include {{ml.title}}"> {{ml.name}}
</option>
60 <option ng-repeat=
"ml in mailList" value=
"{{ml.id}} mail exclude {{ml.title}}"> {{ml.name}}
</option>
63 {{incGroup}}
<br>{{excGroup}}
<br>
64 {{incGroupids}}
<br>{{excGroupids}}
<br>
66 <h3>Select the size of your test group
</h3><br>
67   Percentage Selected - {{currentABTest.group_percentage}}%
69 <div sliderbar
id=
"trial" style=
"margin: 10px;" ></div>
71 <h3>How will the winner be decided
</h3><br>
72  
<input type=
"radio" ng-model=
"currentABTest.winner_criteria_id" value=
1 name=
"cri" required
> Open
<br/><br>
73  
<input type=
"radio" ng-model=
"currentABTest.winner_criteria_id" value=
2 name=
"cri" checked=
"checked">
74 Total Unique Clicks
<br/><br>
75  
<input type=
"radio" ng-model=
"currentABTest.winner_criteria_id" value=
3 name=
"cri"> Total
76 Clicks on a particular link
<br/><br>
78 <h3>Do you want the A/B test to be automated </h3>
79  <input type="radio" ng-model="automated" value="Yes" ng-click="setifyes(1)" name="auto" required>Yes  
80  <input type="radio" ng-model="automated" value="No" ng-click="setifyes(2)" name="auto" checked="checked"> No <br/><br>
82 <tpmax ng-show="ifyes">
84 <h3> Please enter the confidence level at which a decision can be made</h3>
85     <input type="text" style="height: 20px; width: 25px;" ng-model="conf" numbar=99 ><br><br>
86 <div ng-show="conf==null || conf ==0 || conf>99" style="color: red;">  Please Enter a Valid Number</div>
88 <h3>If the confidence level is not reached what do you want us to do?</h3>
89   <input type="radio" ng-model="ifnot" value="Inform me" name="ifnot"/> Inform me <br/><br>
90   <input type="radio" checked="checked" ng-model="ifnot" value="Send Version A" name="ifnot" /> Send Version A <br/><br>
91   <input type="radio" ng-model="ifnot" value="Send Version B" name="ifnot"/> Send Version B <br/><br>
94 <div nextbutton></div>
98 <h3>Declare the winner by when?
</h3><br>
103 <td class=
"label">Date
</td>
105 <input type=
"text" chsdate
ng-model=
"currentABTest.date" >
107 <td class=
"label" >Time
</td>
109 <input type=
"text" placeholder=
"hh:mm:ss" ng-model=
"currentABTest.time">
117 Enter the time in the
12:
32:
45 format where
12 is the hour,
32 the minutes and
45 the seconds.
123 <div style=
"position:relative; left:200px; top:30px;" prevbutton
></div>
124 <div style=
"position:relative; left:300px; top: 00px;" nextbutton
></div>
125 <div style=
"position:relative; left:375px; top: -31px;" cancelbutton
></div>
135 <td>Test Criteria
</td>
136 <td>{{template.name}}
</td>
139 <td>Groups Included
</td>
140 <td>{{incGroup}}
</td>
143 <td>Groups Excluded
</td>
144 <td>{{excGroup}}
</td>
147 <td>Size of Test Group
</td>
148 <td>{{currentABTest.group_percentage}}
</td>
151 <td>Winner Criteria
</td>
152 <td>{{winner_criteria}}
</td>
155 <tr ng-show="automated=='Yes'">
156 <td>Minum Confidence Level</td>
159 <tr ng-show="automated=='Yes'">
160 <td>If Level not Achieved</td>
165 <td>Declare Winner By
</td>
166 <td>{{currentABTest.date}} Date   {{currentABTest.time}} Time
</td>
169 <h3 ng-click=
"pre()">Preview Mail
</h3>
170 <previewmail ng-show =
"preview">
172 <div ui-jq=
"tabs" id=
"settings">
175 <a href=
"#frag1"><span>Mail A
</span></a>
178 <a href=
"#frag2"><span>Mail B
</span></a>
182 <div id=
"frag1" ng-bind-html=
"previewa1" >
185 <div id=
"frag2" ng-bind-html=
"previewb1">
192 <h3>Send Test Mails
</h3>
195 <h3>When to Start
</h3><br>
198 <input type=
"radio" name=
"Start" ng-model=
"start" value=
"now"> Now  
199 <input type=
"radio" name=
"Start" ng-model=
"start" value=
"later"> Later
201    
<input type=
"text" class=
"dateplugin" ng-show=
"start=='later'" ng-model=
"send_date" datepick
>
209 <div style=
"position:relative; left:200px; top:60px;" prevbutton
></div>
210 <div class=
"crm-submit-buttons" style=
"position:relative; left:295px; top: 30px;">
211 <div class=
"crm-button crm-button-type-upload crm-button_qf_Contact_upload_view">
212 <input type=
"submit" value=
"Submit & Send" id=
"campaignbutton _qf_Contact_upload_view-top"
213 class=
"btn btn-primary" nexttab={{tab_val}}
>
216 <div style=
"position:relative; left:430px; top:-1px;" cancelbutton
></div>