From c700bf16c0f3e33d47e48cb826060f5a2ca1f5f0 Mon Sep 17 00:00:00 2001 From: aditya-nambiar Date: Sun, 15 Jun 2014 14:58:31 -0400 Subject: [PATCH] Table Implemented --- js/angular-crmMailingAB.js | 10 ++--- partials/abtesting/helloworld.html | 68 ++++++++++++++++++++++++------ 2 files changed, 61 insertions(+), 17 deletions(-) diff --git a/js/angular-crmMailingAB.js b/js/angular-crmMailingAB.js index e554ead476..a0b8d917a0 100644 --- a/js/angular-crmMailingAB.js +++ b/js/angular-crmMailingAB.js @@ -68,9 +68,9 @@ } }; $scope.templates = - [ { name: 'subjectlines', url: partialUrl('subject_lines.html')}, - { name: 'fromname', url: partialUrl('from_name.html')}, - {name:'2emails',url: partialUrl('two_emails.html')} ]; + [ { name: 'Subject Lines', url: partialUrl('subject_lines.html')}, + { name: 'From Name', url: partialUrl('from_name.html')}, + {name:'Two different Emails',url: partialUrl('two_emails.html')} ]; $scope.template = $scope.templates[0]; $scope.slide_value = 0; @@ -89,7 +89,7 @@ $scope.ifyes=false; }; - $scope.closebox="open"; + }); @@ -172,7 +172,7 @@ scope.$watch('automated', function(val) { - if(val=="yes") { + if(val=="Yes") { console.log("yo"); $(element).dialog({ diff --git a/partials/abtesting/helloworld.html b/partials/abtesting/helloworld.html index 7f9deec478..326e06a00b 100644 --- a/partials/abtesting/helloworld.html +++ b/partials/abtesting/helloworld.html @@ -70,28 +70,28 @@   Total Clicks on a particular link

Do you want the A/B test to be automated

-  Yes   -   No

+  Yes   +   No

Please enter the confidence level at which a decision can be made

-    

+    

If the confidence level is not reached what do you want us to do?

-   Inform me

-   Send Version A

-   Send Version B

+   Inform me

+   Send Version A

+   Send Version B

Declare the winner in how much time?


-   Days -   Hours -   Minutes +   Days +   Hours +   Minutes

@@ -100,9 +100,53 @@ -
dsfdfbdfg - - +
+ +

Details


+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Test Criteria{{template.name}}
Groups Selected
Size of Test Group{{slide_value}}
Winner Criteria{{winner_criteria}}
Automated{{automated}}
Minum Confidence Level{{conf}}%
If Level not Achieved{{ifnot}}
Declare Winner in{{days}} Days {{hours}} Hours {{minutes}} Minutes
+ + + +
-- 2.25.1