Major changes
[civicrm-core.git] / partials / abtesting / two_emails.html
CommitLineData
7811a84b 1<div ui-jq="tabs">
2
3<ul>
4 <li><a href="#tabs-21"><span>Email A</span></a></li>
5 <li><a href="#tabs-22"><span>Email B</span></a></li>
6</ul>
7
8<div id="tabs-21">
9 <table class="form-layout-compressed">
10 <tbody>
11 <tr>
12 <td class="label">From E-mail Address</td>
13 <td>
14 <select style="width: 200px" ng-model="mailA.from_email"
15 ng-options="frm.email as frm.email for frm in eMailing">
16 <option value="">-none-</option>
17 </select>
18 </td>
19 </tr>
20 <tr>
21 <td class="label">Reply to E-mail Address</td>
22 <td>
23 <select style="width: 200px" ng-model="mailA.replyto_email"
24 ng-options="frm.email as frm.email for frm in eMailing">
25 <option value="">-none-</option>
26 </select>
27 </td>
28 </tr>
29 <tr>
30 <td class="label">Mailing Subject</td>
31 <td>
32 <input placeholder="Enter Subject" name="subject" type="text" ng-model="mailA.subject"/>
33 </td>
34 </tr>
35 <tr>
36 <td class="label" style="color:red" ng-show="mailing_form.subject.$invalid">
37 Mailing subject required.
38 </td>
39 </tr>
40 <tr>
41 <td class="label">Use Template</td>
42 <td>
43 <select ng-change="tmp(mailA.msg_template_id,1)" ng-model="mailA.msg_template_id"
44 ng-options="mstemp.id as mstemp.msg_title for mstemp in tmpList">
45 <option value="">-none-</option>
46 </select>
47 </td>
48 </tr>
49 </tbody>
50 </table>
51
52 <br>
53
54 <div class="crm-accordion-wrapper collapsed">
55 <div class="crm-accordion-wrapper collapsed">
56 <div class="crm-accordion-header">HTML Format</div>
57 <div class="crm-accordion-body">
58 <br>
59 &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp
60 &nbsp
61 &nbsp &nbsp &nbsp &nbsp &nbsp
62 &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp
63 &nbsp
64 &nbsp &nbsp &nbsp &nbsp &nbsp
65 &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp
66 ss
67 <!-- <input type="hidden" groupselect ng-model="token" ></input>-->
68 <br> <br>
69 &nbsp &nbsp &nbsp &nbsp
70 <textarea id="body_html" ng-model="mailA.body_html" style="width: 600px; height: 300px;"></textarea>
71 <br> <br>
5d8414d9 72
7811a84b 73 </div>
74 </div>
5d8414d9 75
7811a84b 76 <div class="crm-accordion-wrapper collapsed">
77 <div class="crm-accordion-header">Plain Text</div>
78 <div class="crm-accordion-body">
b2adbc1f 79
7811a84b 80 <br>
81 &nbsp &nbsp &nbsp &nbsp
82 <textarea ng-model="mailA.body_text" style="width: 600px; height: 300px;"></textarea>
83 <br>
84 </div>
85 </div>
3cbae671 86
7811a84b 87 <table ng-show="false">
88 <tr>
89 <td>
90 <input type="checkbox">&nbsp Save Template</input>
91 </tr>
92 </table>
b2adbc1f 93
7811a84b 94 </div>
493b91cf 95
7811a84b 96 <div class="crm-accordion-wrapper collapsed">
97 <div class="crm-accordion-header">Header and Footer</div>
98 <div class="crm-accordion-body">
99 <table>
b2adbc1f 100 <tr>
7811a84b 101 <td class="label">Mailing Header</td>
493b91cf 102 <td>
7811a84b 103 <select ng-model="mailA.header_id" ng-options="hf.id as hf.name for hf in headerfooter| filter:isHeader">
493b91cf 104 <option value="">-none-</option>
105 </select>
106 </td>
b2adbc1f 107 </tr>
108 <tr>
7811a84b 109 <td class="label">Mailing Footer</td>
493b91cf 110 <td>
7811a84b 111 <select ng-model="mailA.footer_id" ng-options="f.id as f.name for f in headerfooter| filter:isFooter">
493b91cf 112 <option value="">-none-</option>
113 </select>
114 </td>
b2adbc1f 115 </tr>
7811a84b 116 </table>
b2adbc1f 117 </div>
7811a84b 118 </div>
119</div>
f9e08222 120
7811a84b 121<!-- ---------------------------------------- ######## ------------------------------------------ -->
122
123<div id="tabs-22">
124 <table class="form-layout-compressed">
125 <tbody>
126 <tr>
127 <td class="label">From E-mail Address</td>
128 <td>
129 <select style="width: 200px" ng-model="mailB.from_email"
130 ng-options="frm.email as frm.email for frm in eMailing">
131 <option value="">-none-</option>
132 </select>
133 </td>
134 </tr>
135 <tr>
136 <td class="label">Reply to E-mail Address</td>
137 <td>
138 <select style="width: 200px" ng-model="mailB.replyto_email"
139 ng-options="frm.email as frm.email for frm in eMailing">
140 <option value="">-none-</option>
141 </select>
142 </td>
143 </tr>
144 <tr>
145 <td class="label">Mailing Subject</td>
146 <td>
147 <input placeholder="Enter Subject" name="subject" type="text" ng-model="mailB.subject"/>
148 </td>
149 </tr>
150
151 <tr>
152 <td class="label" style="color:red" ng-show="mailing_form.subject.$invalid">
153 Mailing subject required.
154 </td>
155 </tr>
156 <tr>
157 <td class="label">Use Template</td>
158 <td>
159 <select ng-change="tmp(mailB.msg_template_id,2)" ng-model="mailB.msg_template_id"
160 ng-options="mstemp.id as mstemp.msg_title for mstemp in tmpList">
161 <option value="">-none-</option>
162 </select>
163 </td>
164 </tr>
165 </tbody>
166 </table>
167 <br>
168
169 <div class="crm-accordion-wrapper collapsed">
b2adbc1f 170 <div class="crm-accordion-wrapper collapsed">
7811a84b 171 <div class="crm-accordion-header">HTML Format</div>
172 <div class="crm-accordion-body">
173 <br>
174 <br> <br>
175 &nbsp &nbsp &nbsp &nbsp
176 <textarea id="body_html" ng-model="mailB.body_html" style="width: 600px; height: 300px;"></textarea>
177 <br> <br>
178 </div>
b2adbc1f 179 </div>
b2adbc1f 180
7811a84b 181 <div class="crm-accordion-wrapper collapsed">
182 <div class="crm-accordion-header">Plain Text</div>
183 <div class="crm-accordion-body">
184 <br>
185 &nbsp &nbsp &nbsp &nbsp
186 <textarea ng-model="mailB.body_text" style="width: 600px; height: 300px;"></textarea>
187 <br>
188 </div>
f9e08222 189 </div>
493b91cf 190
7811a84b 191 <table ng-show="false">
192 <tr>
193 <td>
194 <input type="checkbox">&nbsp Save Template</input>
195 </tr>
196 </table>
197 </div>
f9e08222 198
7811a84b 199 <div class="crm-accordion-wrapper collapsed">
200 <div class="crm-accordion-header">Header and Footer</div>
201 <div class="crm-accordion-body">
202 <body>
203 <table>
493b91cf 204 <tr>
7811a84b 205 <td class="label">Mailing Header</td>
493b91cf 206 <td>
7811a84b 207 <select ng-model="mailB.header_id" ng-options="hf.id as hf.name for hf in headerfooter| filter:isHeader">
493b91cf 208 <option value="">-none-</option>
209 </select>
210 </td>
211 </tr>
212 <tr>
7811a84b 213 <td class="label">Mailing Footer</td>
493b91cf 214 <td>
7811a84b 215 <select ng-model="mailB.footer_id" ng-options="f.id as f.name for f in headerfooter| filter:isFooter">
493b91cf 216 <option value="">-none-</option>
217 </select>
218 </td>
219 </tr>
f9e08222 220 </table>
7811a84b 221 </body>
222 </div>
223 </div>
5d8414d9 224 </div>
f9e08222 225</div>
7811a84b 226</div>
227
5d8414d9 228
d340146d 229