Commit f263889f0590cc0d275178ffd4ecf8524e550206
1 parent
439352ca6e
Exists in
master
and in
1 other branch
analytics work
Showing
3 changed files
with
81 additions
and
8 deletions
Show diff stats
index.html
1 | <!DOCTYPE html> | 1 | <!DOCTYPE html> |
2 | 2 | ||
3 | <!-- define angular app --> | 3 | <!-- define angular app --> |
4 | <html ng-app="scotchApp"> | 4 | <html ng-app="scotchApp"> |
5 | 5 | ||
6 | <head> | 6 | <head> |
7 | <meta charset="utf-8"> | 7 | <meta charset="utf-8"> |
8 | <meta http-equiv="X-UA-Compatible" content="IE=edge"> | 8 | <meta http-equiv="X-UA-Compatible" content="IE=edge"> |
9 | <meta name="viewport" content="width=device-width, initial-scale=1"> | 9 | <meta name="viewport" content="width=device-width, initial-scale=1"> |
10 | <title>Startup</title> | 10 | <title>Startup</title> |
11 | <link rel="shortcut icon" type="image/png" href="http://startupjalsa.com/wp-content/uploads/2016/08/cropped-Sj-LOGO-512-X-512-01-270x270.png"/> | 11 | <link rel="shortcut icon" type="image/png" href="http://startupjalsa.com/wp-content/uploads/2016/08/cropped-Sj-LOGO-512-X-512-01-270x270.png"/> |
12 | <link rel="shortcut icon" type="image/png" href="http://startupjalsa.com/wp-content/uploads/2016/08/cropped-Sj-LOGO-512-X-512-01-270x270.png"/> | 12 | <link rel="shortcut icon" type="image/png" href="http://startupjalsa.com/wp-content/uploads/2016/08/cropped-Sj-LOGO-512-X-512-01-270x270.png"/> |
13 | <!-- SCROLLS --> | 13 | <!-- SCROLLS --> |
14 | <link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css"/> | 14 | <link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css"/> |
15 | <link rel="stylesheet" href="//netdna.bootstrapcdn.com/font-awesome/4.0.0/css/font-awesome.css"/> | 15 | <link rel="stylesheet" href="//netdna.bootstrapcdn.com/font-awesome/4.0.0/css/font-awesome.css"/> |
16 | 16 | ||
17 | <!-- SPELLS --> | 17 | <!-- SPELLS --> |
18 | <script type="text/javascript" src="js/jquery-3.2.1.js"></script> | 18 | <script type="text/javascript" src="js/jquery-3.2.1.js"></script> |
19 | <script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.2.25/angular.min.js"></script> | 19 | <script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.2.25/angular.min.js"></script> |
20 | <script src="//ajax.googleapis.com/ajax/libs/angularjs/1.2.25/angular-route.js"></script> | 20 | <script src="//ajax.googleapis.com/ajax/libs/angularjs/1.2.25/angular-route.js"></script> |
21 | <link rel="stylesheet" type="text/css" href="css/bootstrap.css"> | 21 | <link rel="stylesheet" type="text/css" href="css/bootstrap.css"> |
22 | <link rel="stylesheet" type="text/css" href="css/custom.css"> | 22 | <link rel="stylesheet" type="text/css" href="css/custom.css"> |
23 | <script src="https://checkout.razorpay.com/v1/checkout.js"></script> | 23 | <script src="https://checkout.razorpay.com/v1/checkout.js"></script> |
24 | <link rel="stylesheet" href="css/circle.css"> | 24 | <link rel="stylesheet" href="css/circle.css"> |
25 | <link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons"> | 25 | <link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons"> |
26 | <link rel="stylesheet" href="https://code.getmdl.io/1.3.0/material.indigo-pink.min.css"> | 26 | <link rel="stylesheet" href="https://code.getmdl.io/1.3.0/material.indigo-pink.min.css"> |
27 | <script src="script.js"></script> | 27 | <script src="script.js"></script> |
28 | <script src="js/angular-svg-round-progressbar.js"></script> | 28 | <script src="js/angular-svg-round-progressbar.js"></script> |
29 | <script src="js/angular.js"></script> | 29 | <script src="js/angular.js"></script> |
30 | <script src="js/bootstrap.js"></script> | 30 | <script src="js/bootstrap.js"></script> |
31 | <script> | 31 | <script src="dist/angular-google-analytics.js"></script> |
32 | <!-- <script> | ||
32 | (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ | 33 | (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ |
33 | (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), | 34 | (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), |
34 | m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) | 35 | m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) |
35 | })(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); | 36 | })(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); |
36 | 37 | ||
37 | ga('create', 'UA-106416759-1', 'auto'); | 38 | ga('create', 'UA-106416759-1', 'auto'); |
38 | ga('send', 'pageview'); | 39 | ga('send', 'pageview'); |
39 | </script> | 40 | </script> --> |
40 | |||
41 | 41 | ||
42 | </head> | 42 | </head> |
43 | 43 | ||
44 | <!-- define angular controller --> | 44 | <!-- define angular controller --> |
45 | <body ng-controller="mainController"> | 45 | <body ng-controller="mainController"> |
46 | 46 | ||
47 | <div id="main"> | 47 | <div id="main"> |
48 | <div ng-view></div> | 48 | <div ng-view></div> |
49 | </div> | 49 | </div> |
50 | 50 | ||
51 | </body> | 51 | </body> |
52 | 52 | ||
53 | </html> | 53 | </html> |
pages/home.html
1 | <div class="header"> | 1 | <div class="header"> |
2 | <div style="float: left;"> | 2 | <div style="float: left;"> |
3 | <img src="images/white.png" class="logo" > | 3 | <img src="images/white.png" class="logo" > |
4 | </div> | 4 | </div> |
5 | <div style="float: right;" class="right-side-links"> | 5 | <div style="float: right;" class="right-side-links"> |
6 | <a class="hyperColor" ng-click="openyoutube16()">Glipmses of 2016</a> | 6 | <a class="hyperColor" ng-click="openyoutube16()">Glipmses of 2016</a> |
7 | <a class="hyperColor" ng-click="openyoutube17()">Concept for 2017</a> | 7 | <a class="hyperColor" ng-click="openyoutube17()">Concept for 2017</a> |
8 | </div> | 8 | </div> |
9 | <div class="clearfix"></div> | 9 | <div class="clearfix"></div> |
10 | 10 | ||
11 | </div> | 11 | </div> |
12 | <!-- CLOSE HEADER --> | 12 | <!-- CLOSE HEADER --> |
13 | <form name="applicantForm" id="signupForm"> | 13 | <form name="applicantForm" id="signupForm"> |
14 | <div class="col-xs-12 col-md-10 col-md-offset-1"> | 14 | <div class="col-xs-12 col-md-10 col-md-offset-1"> |
15 | <p style="font-size:16px">Startup Jalsa is a platform which brings together successful entrepreneurs with aspiring entrepreneurs - to help them get funding ready. | ||
16 | <li>Watch <b>Startup Jalsa 2016:</b><a href="https://www.youtube.com/watch?v=8i1bLQ7jS0I&feature=youtu.be/"> http://bit.ly/2waJu7G</a></li> | ||
17 | <li>Watch <b>what startups, mentors and investors think</b> about Startup Jalsa: | ||
18 | <a href="https://www.youtube.com/watch?v=v8jqTRzQqOI&index=2&list=PL_ieVNgs36HStvzUph85NUXjrZIXS_bTg/"> http://bit.ly/2wVViYs</a></li> | ||
19 | <li>Watch how Startup Jalsa 2017 can help you: <b>Startup Jalsa 2017:</b><a href="https://www.youtube.com/watch?v=ANNugxCVCJI&feature=youtu.be/"> https://youtu.be/ANNugxCVCJI</a></li><br> | ||
20 | <b>Before submitting your application, the following need to be kept in mind:</b><br> | ||
21 | |||
22 | <ol><li>In the Ideate edition - <b>Startups from all sectors and stages can submit their application.</b></li> | ||
23 | |||
24 | <li><b>Early bird registration deadline: 15th October 2017</b><br> | ||
25 | Idea stage startups: ₹500 + taxes/ Product stage startups: ₹1000 + taxes</li> | ||
26 | <li><b>Last date to register is 31st October 2017</b><br> | ||
27 | Idea stage startups:₹1000 + taxes/ Product stage startups: ₹1500 + taxes</li> | ||
28 | |||
29 | <li>Once you register on our website, you'll get access to Startup Jalsa - Inspire edition near your city - where our mentors will give you personalised feedback one-on-one.</li> | ||
30 | |||
31 | <li>At each Inspire event, Startup Jalsa will give 1 idea stage startup ₹1 Lac funding on the spot. Total of 10 funding slots are available.</li> | ||
32 | |||
33 | <li>Inspire edition of Startup Jalsa is coming to the following cities on the following dates:</li></ol> | ||
34 | <ul> | ||
35 | <li>November 3: Chennai: <a href="http://startupjalsa.com/chennai/">www.startupjalsa.com/chennai</a></li> | ||
36 | <li>November 4: Hyderabad: <a href="http://startupjalsa.com/hyderabad/">www.startupjalsa.com/hyderabad</a></li> | ||
37 | <li>November 5: Bengaluru: <a href="http://startupjalsa.com/bengaluru/">www.startupjalsa.com/bengaluru</a></li> | ||
38 | <li>November 11: Pune: <a href="http://startupjalsa.com/pune/">www.startupjalsa.com/pune</a></li> | ||
39 | <li>November 12: Mumbai: <a href="http://startupjalsa.com/mumbai/">www.startupjalsa.com/mumbai</a></li> | ||
40 | <li>November 18: Ahmedabad: <a href="http://startupjalsa.com/ahmedabad/">www.startupjalsa.com/ahmedabad</a></li> | ||
41 | <li>November 19: Delhi: <a href="http://startupjalsa.com/delhi/">www.startupjalsa.com/delhi</li></a> | ||
42 | </ul> | ||
43 | <ol><li>The top startups selected from all over the country will get a chance to participate in Startup Jalsa - Invest edition where they will get to spend 2 days with the top investors, entrepreneurs and policy makers - and pitch them to get funded anywhere upto ₹10 Crores.</li> | ||
44 | <li>There will be a separate registration fee for the Startup Jalsa - Invest edition - which will be notified in due time.</li> | ||
45 | <li>Startup Jalsa will give 1 product stage startup ₹1 Crore funding at the Invest edition. Total 1 funding spot is available.</li> | ||
46 | <li>Startup Jalsa - Invest edition- 25th & 26th November 2017 - Chandigarh</li></ol> | ||
47 | |||
48 | <b>To get started, Select your stage (and the rest follows)</b><br> | ||
49 | <ul> | ||
50 | <li>Register online<br> | ||
51 | Become a part of our network and get access to leading entrepreneurs from all sectors</li> | ||
52 | |||
53 | <li>Get Personalized Feedback<br> | ||
54 | We bring mentors to a city near you, where you personally meet them 1-on-1, get feedback on your startup and learn how to raise funding<br></li> | ||
55 | |||
56 | <li>Pitch for funding<br> | ||
57 | A chance to pitch to the top active investors of the Indian startup ecosystem & get funded - at Startup Jalsa</li></ul></p> | ||
15 | <p class="select-stage" style="font-size:20px;">Please select one stage.</p> | 58 | <p class="select-stage" style="font-size:20px;">Please select one stage.</p> |
16 | <div class="stage-shadow"> | 59 | <div class="stage-shadow"> |
17 | <div class="stages card-align"> | 60 | <div class="stages card-align"> |
18 | <div class="col-xs-4 no-padding"> | 61 | <div class="col-xs-4 no-padding"> |
19 | <div class="card stages-card"> | 62 | <div class="card stages-card"> |
20 | <input type="radio" ng-model="data.stage" class="stageRadio" value="Idea" name="Idea" id="ideation" ng-required="Idea" ng-checked="true" checked="true" ng-click="stage('Idea')"> | 63 | <input type="radio" ng-model="data.stage" class="stageRadio" value="Idea" name="Idea" id="ideation" ng-required="Idea" ng-checked="true" checked="true" ng-click="stage('Idea')"> |
21 | <label style="cursor:pointer" class="thumbnail radius-border stage-thumbnail" for="ideation"> | 64 | <label style="cursor:pointer" class="thumbnail radius-border stage-thumbnail" for="ideation"> |
22 | <img class="stage-img stage-idea" src="images/idea-stage.png" alt="Lights"> | 65 | <img class="stage-img stage-idea" src="images/idea-stage.png" alt="Lights"> |
23 | <div class="card-content f-family"> | 66 | <div class="card-content f-family"> |
24 | <p align="center">Idea</p> | 67 | <p align="center">Idea</p> |
25 | </div> | 68 | </div> |
26 | </label> | 69 | </label> |
27 | </div> | 70 | </div> |
28 | <div class="clearfix"></div> | 71 | <div class="clearfix"></div> |
29 | <div class="cards-content hidden-xs"> | 72 | <div class="cards-content hidden-xs"> |
30 | <p> | 73 | <p> |
31 | ⚬ Have an idea and need execution help?<br> | 74 | ⚬ Have an idea and need execution help?<br> |
32 | ⚬ Get feedback from mentors<br> | 75 | ⚬ Get feedback from mentors<br> |
33 | ⚬ Validate your idea. | 76 | ⚬ Validate your idea. |
34 | </p> | 77 | </p> |
35 | </div> | 78 | </div> |
36 | </div> | 79 | </div> |
37 | <div class="col-xs-4 no-padding-mobile"> | 80 | <div class="col-xs-4 no-padding-mobile"> |
38 | <div class="card stages-card margin-auto-mobile"> | 81 | <div class="card stages-card margin-auto-mobile"> |
39 | <input type="radio" ng-model="data.stage" class="stageRadio" value="Product" name="Idea" id="Proof" ng-required="Product" ng-click="stage('Product')"> | 82 | <input type="radio" ng-model="data.stage" class="stageRadio" value="Product" name="Idea" id="Proof" ng-required="Product" ng-click="stage('Product')"> |
40 | <label style="cursor:pointer" class="thumbnail radius-border stage-thumbnail" for="Proof"> | 83 | <label style="cursor:pointer" class="thumbnail radius-border stage-thumbnail" for="Proof"> |
41 | <img class="stage-img stage-product" src="images/production-stage.png" alt="Lights"> | 84 | <img class="stage-img stage-product" src="images/production-stage.png" alt="Lights"> |
42 | <div class="card-content f-family"> | 85 | <div class="card-content f-family"> |
43 | <p align="center">Product</p> | 86 | <p align="center">Product</p> |
44 | </div> | 87 | </div> |
45 | </label> | 88 | </label> |
46 | </div> | 89 | </div> |
47 | <div class="clearfix"></div> | 90 | <div class="clearfix"></div> |
48 | <div class="cards-content hidden-xs"> | 91 | <div class="cards-content hidden-xs"> |
49 | <p> | 92 | <p> |
50 | ⚬ Have a prototype and want to take it to next level?<br> | 93 | ⚬ Have a prototype and want to take it to next level?<br> |
51 | ⚬ Advice on fundraising<br> | 94 | ⚬ Advice on fundraising<br> |
52 | ⚬ Advice on go-to-market strategy | 95 | ⚬ Advice on go-to-market strategy |
53 | </p> | 96 | </p> |
54 | </div> | 97 | </div> |
55 | </div> | 98 | </div> |
56 | <div class="col-xs-4 no-padding"> | 99 | <div class="col-xs-4 no-padding"> |
57 | <div class="card stages-card right-stage-card"> | 100 | <div class="card stages-card right-stage-card"> |
58 | <input type="radio" ng-model="data.stage" class="stageRadio" value="Growth" name="Idea" id="Beta" ng-required="Growth" ng-click="stage('Growth')"> | 101 | <input type="radio" ng-model="data.stage" class="stageRadio" value="Growth" name="Idea" id="Beta" ng-required="Growth" ng-click="stage('Growth')"> |
59 | <label style="cursor:pointer" class="thumbnail radius-border stage-thumbnail" for="Beta"> | 102 | <label style="cursor:pointer" class="thumbnail radius-border stage-thumbnail" for="Beta"> |
60 | <img class="stage-img stage-growth" src="images/growth-stage.png" alt="Lights"> | 103 | <img class="stage-img stage-growth" src="images/growth-stage.png" alt="Lights"> |
61 | <div class="card-content f-family"> | 104 | <div class="card-content f-family"> |
62 | <p align="center">Growth</p> | 105 | <p align="center">Growth</p> |
63 | </div> | 106 | </div> |
64 | </label> | 107 | </label> |
65 | </div> | 108 | </div> |
66 | <div class="clearfix"></div> | 109 | <div class="clearfix"></div> |
67 | <div class="cards-content hidden-xs"> | 110 | <div class="cards-content hidden-xs"> |
68 | <p> | 111 | <p> |
69 | ⚬ Have traction and looking to scale up?<br> | 112 | ⚬ Have traction and looking to scale up?<br> |
70 | ⚬ Connect with Series A investors<br> | 113 | ⚬ Connect with Series A investors<br> |
71 | ⚬ Connect and hire top startups | 114 | ⚬ Connect and hire top startups |
72 | </p> | 115 | </p> |
73 | </div> | 116 | </div> |
74 | </div> | 117 | </div> |
75 | <div class="clearfix"></div> | 118 | <div class="clearfix"></div> |
76 | </div> | 119 | </div> |
77 | <div class="clearfix"></div> | 120 | <div class="clearfix"></div> |
78 | </div> | 121 | </div> |
79 | <div class="hidden-sm hidden-md hidden-lg"> | 122 | <div class="hidden-sm hidden-md hidden-lg"> |
80 | <div class="cards-content" ng-if="data.stage == 'Idea'"> | 123 | <div class="cards-content" ng-if="data.stage == 'Idea'"> |
81 | <p> | 124 | <p> |
82 | ⚬ Have an idea and need execution help?<br> | 125 | ⚬ Have an idea and need execution help?<br> |
83 | ⚬ Get feedback from mentors<br> | 126 | ⚬ Get feedback from mentors<br> |
84 | ⚬ Validate your idea. | 127 | ⚬ Validate your idea. |
85 | </p> | 128 | </p> |
86 | </div> | 129 | </div> |
87 | <div class="cards-content" ng-if="data.stage == 'Product'"> | 130 | <div class="cards-content" ng-if="data.stage == 'Product'"> |
88 | <p> | 131 | <p> |
89 | ⚬ Have a prototype and want to take it to next level?<br> | 132 | ⚬ Have a prototype and want to take it to next level?<br> |
90 | ⚬ Advice on fundraising<br> | 133 | ⚬ Advice on fundraising<br> |
91 | ⚬ Advice on go-to-market strategy | 134 | ⚬ Advice on go-to-market strategy |
92 | </p> | 135 | </p> |
93 | </div> | 136 | </div> |
94 | <div class="cards-content" ng-if="data.stage == 'Growth'"> | 137 | <div class="cards-content" ng-if="data.stage == 'Growth'"> |
95 | <p> | 138 | <p> |
96 | ⚬ Have traction and looking to scale up?<br> | 139 | ⚬ Have traction and looking to scale up?<br> |
97 | ⚬ Connect with Series A investors<br> | 140 | ⚬ Connect with Series A investors<br> |
98 | ⚬ Connect and hire top startups | 141 | ⚬ Connect and hire top startups |
99 | </p> | 142 | </p> |
100 | </div> | 143 | </div> |
101 | </div> | 144 | </div> |
102 | <!-- CLOSE STAGE SHADOW --> | 145 | <!-- CLOSE STAGE SHADOW --> |
103 | <form name="informationForm"> | 146 | <form name="informationForm"> |
104 | <div class="form-all"> | 147 | <div class="form-all"> |
105 | <table style="width: 100%;"> | 148 | <table style="width: 100%;"> |
106 | <tr> | 149 | <tr> |
107 | <td> | 150 | <td> |
108 | <div class="step-one-form"> | 151 | <div class="step-one-form"> |
109 | <!-- form step 1 --> | 152 | <!-- form step 1 --> |
110 | <div class="col-xs-12 col-md-6 input-wrapper"> | 153 | <div class="col-xs-12 col-md-6 input-wrapper"> |
111 | <div id="snackbar">Error ! Please fill in all fields.</div> | 154 | <div id="snackbar">Error ! Please fill in all fields.</div> |
112 | <div class="icon-circle-c"> | 155 | <div class="icon-circle-c"> |
113 | <i class="material-icons" style="line-height: 31px;">assignment_ind</i> | 156 | <i class="material-icons" style="line-height: 31px;">assignment_ind</i> |
114 | </div> | 157 | </div> |
115 | <input type="text" class="text-input" required ng-model="data.name" placeholder="Name" id="myBtn" name="name" ng-change="entername(data.name); namekeyPress(data.name)"> | 158 | <input type="text" class="text-input" required ng-model="data.name" placeholder="Name" id="myBtn" name="name" ng-change="entername(data.name); namekeyPress(data.name)"> |
116 | </div> | 159 | </div> |
117 | <div class="col-xs-12 col-md-6 input-wrapper"> | 160 | <div class="col-xs-12 col-md-6 input-wrapper"> |
118 | <div id="snackbar">Error ! Please fill in all fields.</div> | 161 | <div id="snackbar">Error ! Please fill in all fields.</div> |
119 | <div class="icon-circle-d"> | 162 | <div class="icon-circle-d"> |
120 | <i class="material-icons" style="line-height: 30px;">email</i> | 163 | <i class="material-icons" style="line-height: 30px;">email</i> |
121 | </div> | 164 | </div> |
122 | <input type="email" name="email" ng-pattern="/^[^\s@]+@[^\s@]+\.[^\s@]+$/" class="text-input" required class="" ng-model="data.email" placeholder="Email Address" ng-blur="emailcheck(data.email)" ng-focus="removeError()" ng-change="enteremail(data.email); emailkeyPress(data.email)"> | 165 | <input type="email" name="email" ng-pattern="/^[^\s@]+@[^\s@]+\.[^\s@]+$/" class="text-input" required class="" ng-model="data.email" placeholder="Email Address" ng-blur="emailcheck(data.email)" ng-focus="removeError()" ng-change="enteremail(data.email); emailkeyPress(data.email)"> |
123 | <label class="error-message f-family" id="invalidEmail">Please enter a valid email address.</label> | 166 | <label class="error-message f-family" id="invalidEmail">Please enter a valid email address.</label> |
124 | <label ng-if="check">Email already exist.</label> | 167 | <label ng-if="check">Email already exist.</label> |
125 | </div> | 168 | </div> |
126 | <div class="col-xs-12 col-md-6 input-wrapper"> | 169 | <div class="col-xs-12 col-md-6 input-wrapper"> |
127 | <div class="icon-circle-e"> | 170 | <div class="icon-circle-e"> |
128 | <i class="material-icons" style="line-height: 30px;">phone</i> | 171 | <i class="material-icons" style="line-height: 30px;">phone</i> |
129 | </div> | 172 | </div> |
130 | <input type="number" ng-pattern="/^[0-9+-]*$/" maxlength="15" required class="text-input" ng-blur="numbercheck(data.number)" ng-model="data.number" placeholder="Mobile No." ng-focus="removeNoError()" ng-change="enternumber(data.number); phonekeyPress(data.number)"> | 173 | <input type="number" ng-pattern="/^[0-9+-]*$/" maxlength="15" required class="text-input" ng-blur="numbercheck(data.number)" ng-model="data.number" placeholder="Mobile No." ng-focus="removeNoError()" ng-change="enternumber(data.number); phonekeyPress(data.number)"> |
131 | <label ng-if="numberCheck">Contact Number already exist.</label> | 174 | <label ng-if="numberCheck">Contact Number already exist.</label> |
132 | </div> | 175 | </div> |
133 | <div class="col-xs-12 col-md-6 input-wrapper f-family"> | 176 | <div class="col-xs-12 col-md-6 input-wrapper f-family"> |
134 | <div class="icon-circle-f"> | 177 | <div class="icon-circle-f"> |
135 | <i class="material-icons" style="line-height: 30px;">location_city</i> | 178 | <i class="material-icons" style="line-height: 30px;">location_city</i> |
136 | </div> | 179 | </div> |
137 | <select ng-model="data.city" ng-change="selectcity(data.city); citykeyPress(data.city)" required style="background-color: #fff; border-radius: 0; font-size: 12px; height: 44px;"> | 180 | <select ng-model="data.city" ng-change="selectcity(data.city); citykeyPress(data.city)" required style="background-color: #fff; border-radius: 0; font-size: 12px; height: 44px;"> |
138 | <option name="city" selected disabled value="">Choose City</option> | 181 | <option name="city" selected disabled value="">Choose City</option> |
139 | <option value="Agra">Agra</option> | 182 | <option value="Agra">Agra</option> |
140 | <option value="Ahmedabad">Ahmedabad</option> | 183 | <option value="Ahmedabad">Ahmedabad</option> |
141 | <option value="Ajmer">Ajmer</option> | 184 | <option value="Ajmer">Ajmer</option> |
142 | <option value="Aligarh">Aligarh</option> | 185 | <option value="Aligarh">Aligarh</option> |
143 | <option value="Allahabad">Allahabad</option> | 186 | <option value="Allahabad">Allahabad</option> |
144 | <option value="Ambattur">Ambattur</option> | 187 | <option value="Ambattur">Ambattur</option> |
145 | <option value="Amravati">Amravati</option> | 188 | <option value="Amravati">Amravati</option> |
146 | <option value="Amritsar">Amritsar</option> | 189 | <option value="Amritsar">Amritsar</option> |
147 | <option value="Asansol">Asansol</option> | 190 | <option value="Asansol">Asansol</option> |
148 | <option value="Aurangabad">Aurangabad</option> | 191 | <option value="Aurangabad">Aurangabad</option> |
149 | <option value="Bareilly">Bareilly</option> | 192 | <option value="Bareilly">Bareilly</option> |
150 | <option value="Belgaum">Belgaum</option> | 193 | <option value="Belgaum">Belgaum</option> |
151 | <option value="Bengaluru">Bengaluru</option> | 194 | <option value="Bengaluru">Bengaluru</option> |
152 | <option value="Bhavnagar">Bhavnagar</option> | 195 | <option value="Bhavnagar">Bhavnagar</option> |
153 | <option value="Bhayander">Bhayander</option> | 196 | <option value="Bhayander">Bhayander</option> |
154 | <option value="Bhilai Nagar">Bhilai Nagar</option> | 197 | <option value="Bhilai Nagar">Bhilai Nagar</option> |
155 | <option value="Bhiwandi">Bhiwandi</option> | 198 | <option value="Bhiwandi">Bhiwandi</option> |
156 | <option value="Bhopal">Bhopal</option> | 199 | <option value="Bhopal">Bhopal</option> |
157 | <option value="Bhubaneswar">Bhubaneswar</option> | 200 | <option value="Bhubaneswar">Bhubaneswar</option> |
158 | <option value="Bikaner">Bikaner</option> | 201 | <option value="Bikaner">Bikaner</option> |
159 | <option value="Chandigarh">Chandigarh</option> | 202 | <option value="Chandigarh">Chandigarh</option> |
160 | <option value="Chennai">Chennai</option> | 203 | <option value="Chennai">Chennai</option> |
161 | <option value="Chinchwad">Chinchwad</option> | 204 | <option value="Chinchwad">Chinchwad</option> |
162 | <option value="Coimbatore">Coimbatore</option> | 205 | <option value="Coimbatore">Coimbatore</option> |
163 | <option value="Cuttack">Cuttack</option> | 206 | <option value="Cuttack">Cuttack</option> |
164 | <option value="Dehradun">Dehradun</option> | 207 | <option value="Dehradun">Dehradun</option> |
165 | <option value="Delhi-NCR">Delhi-NCR</option> | 208 | <option value="Delhi-NCR">Delhi-NCR</option> |
166 | <option value="Dhanbad">Dhanbad</option> | 209 | <option value="Dhanbad">Dhanbad</option> |
167 | <option value="Dharwad">Dharwad</option> | 210 | <option value="Dharwad">Dharwad</option> |
168 | <option value="Dombivali">Dombivali</option> | 211 | <option value="Dombivali">Dombivali</option> |
169 | <option value="Durgapur">Durgapur</option> | 212 | <option value="Durgapur">Durgapur</option> |
170 | <option value="Faridabad">Faridabad</option> | 213 | <option value="Faridabad">Faridabad</option> |
171 | <option value="Firozabad">Firozabad</option> | 214 | <option value="Firozabad">Firozabad</option> |
172 | <option value="Gaya">Gaya</option> | 215 | <option value="Gaya">Gaya</option> |
173 | <option value="Ghaziabad">Ghaziabad</option> | 216 | <option value="Ghaziabad">Ghaziabad</option> |
174 | <option value="Gorakhpur">Gorakhpur</option> | 217 | <option value="Gorakhpur">Gorakhpur</option> |
175 | <option value="Gulbarga">Gulbarga</option> | 218 | <option value="Gulbarga">Gulbarga</option> |
176 | <option value="Guntur">Guntur</option> | 219 | <option value="Guntur">Guntur</option> |
177 | <option value="Gurgaon">Gurgaon</option> | 220 | <option value="Gurgaon">Gurgaon</option> |
178 | <option value="Guwahati">Guwahati</option> | 221 | <option value="Guwahati">Guwahati</option> |
179 | <option value="Gwalior">Gwalior</option> | 222 | <option value="Gwalior">Gwalior</option> |
180 | <option value="Haora">Haora</option> | 223 | <option value="Haora">Haora</option> |
181 | <option value="Hubli">Hubli</option> | 224 | <option value="Hubli">Hubli</option> |
182 | <option value="Hyderabad">Hyderabad</option> | 225 | <option value="Hyderabad">Hyderabad</option> |
183 | <option value="Indore">Indore</option> | 226 | <option value="Indore">Indore</option> |
184 | <option value="Jabalpur">Jabalpur</option> | 227 | <option value="Jabalpur">Jabalpur</option> |
185 | <option value="Jaipur">Jaipur</option> | 228 | <option value="Jaipur">Jaipur</option> |
186 | <option value="Jalandhar">Jalandhar</option> | 229 | <option value="Jalandhar">Jalandhar</option> |
187 | <option value="Jalgaon">Jalgaon</option> | 230 | <option value="Jalgaon">Jalgaon</option> |
188 | <option value="Jammu">Jammu</option> | 231 | <option value="Jammu">Jammu</option> |
189 | <option value="Jamnagar">Jamnagar</option> | 232 | <option value="Jamnagar">Jamnagar</option> |
190 | <option value="Jamshedpur">Jamshedpur</option> | 233 | <option value="Jamshedpur">Jamshedpur</option> |
191 | <option value="Jhansi">Jhansi</option> | 234 | <option value="Jhansi">Jhansi</option> |
192 | <option value="Jodhpur">Jodhpur</option> | 235 | <option value="Jodhpur">Jodhpur</option> |
193 | <option value="Kalyan">Kalyan</option> | 236 | <option value="Kalyan">Kalyan</option> |
194 | <option value="Kanpur">Kanpur</option> | 237 | <option value="Kanpur">Kanpur</option> |
195 | <option value="Kochi">Kochi</option> | 238 | <option value="Kochi">Kochi</option> |
196 | <option value="Kolapur">Kolapur</option> | 239 | <option value="Kolapur">Kolapur</option> |
197 | <option value="Kolkata">Kolkata</option> | 240 | <option value="Kolkata">Kolkata</option> |
198 | <option value="Kota">Kota</option> | 241 | <option value="Kota">Kota</option> |
199 | <option value="Loni">Loni</option> | 242 | <option value="Loni">Loni</option> |
200 | <option value="Lucknow">Lucknow</option> | 243 | <option value="Lucknow">Lucknow</option> |
201 | <option value="Ludhiana">Ludhiana</option> | 244 | <option value="Ludhiana">Ludhiana</option> |
202 | <option value="Madurai">Madurai</option> | 245 | <option value="Madurai">Madurai</option> |
203 | <option value="Maheshtala">Maheshtala</option> | 246 | <option value="Maheshtala">Maheshtala</option> |
204 | <option value="Malegoan">Malegoan</option> | 247 | <option value="Malegoan">Malegoan</option> |
205 | <option value="Mangalore">Mangalore</option> | 248 | <option value="Mangalore">Mangalore</option> |
206 | <option value="Meerut">Meerut</option> | 249 | <option value="Meerut">Meerut</option> |
207 | <option value="Mira">Mira</option> | 250 | <option value="Mira">Mira</option> |
208 | <option value="Moradabad">Moradabad</option> | 251 | <option value="Moradabad">Moradabad</option> |
209 | <option value="Mumbai">Mumbai</option> | 252 | <option value="Mumbai">Mumbai</option> |
210 | <option value="Mysore">Mysore</option> | 253 | <option value="Mysore">Mysore</option> |
211 | <option value="Nagpur">Nagpur</option> | 254 | <option value="Nagpur">Nagpur</option> |
212 | <option value="Nanded Waghala">Nanded Waghala</option> | 255 | <option value="Nanded Waghala">Nanded Waghala</option> |
213 | <option value="Nashik">Nashik</option> | 256 | <option value="Nashik">Nashik</option> |
214 | <option value="Navi Mumbai">Navi Mumbai</option> | 257 | <option value="Navi Mumbai">Navi Mumbai</option> |
215 | <option value="Nellore">Nellore</option> | 258 | <option value="Nellore">Nellore</option> |
216 | <option value="Noida">Noida</option> | 259 | <option value="Noida">Noida</option> |
217 | <option value="Patna">Patna</option> | 260 | <option value="Patna">Patna</option> |
218 | <option value="Pimpri">Pimpri</option> | 261 | <option value="Pimpri">Pimpri</option> |
219 | <option value="Pune">Pune</option> | 262 | <option value="Pune">Pune</option> |
220 | <option value="Raipur">Raipur</option> | 263 | <option value="Raipur">Raipur</option> |
221 | <option value="Rajkot">Rajkot</option> | 264 | <option value="Rajkot">Rajkot</option> |
222 | <option value="Ranchi">Ranchi</option> | 265 | <option value="Ranchi">Ranchi</option> |
223 | <option value="Saharanpur">Saharanpur</option> | 266 | <option value="Saharanpur">Saharanpur</option> |
224 | <option value="Salem">Salem</option> | 267 | <option value="Salem">Salem</option> |
225 | <option value="Sangli Miraj Kupwad">Sangli Miraj Kupwad</option> | 268 | <option value="Sangli Miraj Kupwad">Sangli Miraj Kupwad</option> |
226 | <option value="Siliguri">Siliguri</option> | 269 | <option value="Siliguri">Siliguri</option> |
227 | <option value="Solapur">Solapur</option> | 270 | <option value="Solapur">Solapur</option> |
228 | <option value="Srinagar">Srinagar</option> | 271 | <option value="Srinagar">Srinagar</option> |
229 | <option value="Surat">Surat</option> | 272 | <option value="Surat">Surat</option> |
230 | <option value="Thane">Thane</option> | 273 | <option value="Thane">Thane</option> |
231 | <option value="Thiruvananthapuram">Thiruvananthapuram</option> | 274 | <option value="Thiruvananthapuram">Thiruvananthapuram</option> |
232 | <option value="Tiruchirappalli">Tiruchirappalli</option> | 275 | <option value="Tiruchirappalli">Tiruchirappalli</option> |
233 | <option value="Tirunelveli">Tirunelveli</option> | 276 | <option value="Tirunelveli">Tirunelveli</option> |
234 | <option value="Udaipur">Udaipur</option> | 277 | <option value="Udaipur">Udaipur</option> |
235 | <option value="Ujjain">Ujjain</option> | 278 | <option value="Ujjain">Ujjain</option> |
236 | <option value="Ulhasnagar">Ulhasnagar</option> | 279 | <option value="Ulhasnagar">Ulhasnagar</option> |
237 | <option value="Vadodara">Vadodara</option> | 280 | <option value="Vadodara">Vadodara</option> |
238 | <option value="Varanasi">Varanasi</option> | 281 | <option value="Varanasi">Varanasi</option> |
239 | <option value="Vasai Virar">Vasai Virar</option> | 282 | <option value="Vasai Virar">Vasai Virar</option> |
240 | <option value="Vijayawada">Vijayawada</option> | 283 | <option value="Vijayawada">Vijayawada</option> |
241 | <option value="Visakhapatnam">Visakhapatnam</option> | 284 | <option value="Visakhapatnam">Visakhapatnam</option> |
242 | <option value="Warangal">Warangal</option> | 285 | <option value="Warangal">Warangal</option> |
243 | <option value="anyOther">Any other</option> | 286 | <option value="anyOther">Any other</option> |
244 | </select> | 287 | </select> |
245 | </div> | 288 | </div> |
246 | <div class="clearfix"></div> | 289 | <div class="clearfix"></div> |
247 | <div class="col-xs-12 text-right"> | 290 | <div class="col-xs-12 text-right"> |
248 | <button type="button" class="btn btn-secondary" data-container="body" data-toggle="popover" data-placement="bottom" ng-disabled="informationForm.$invalid|| check|| numberCheck" ng-click="next()"> | 291 | <button type="button" class="btn btn-secondary" data-container="body" data-toggle="popover" data-placement="bottom" ng-disabled="informationForm.$invalid|| check|| numberCheck" ng-click="next()"> |
249 | Next | 292 | Next |
250 | </button> | 293 | </button> |
251 | </div> | 294 | </div> |
252 | </div> | 295 | </div> |
253 | <!-- close step-one-form --> | 296 | <!-- close step-one-form --> |
254 | </td> | 297 | </td> |
255 | </tr> | 298 | </tr> |
256 | </table> | 299 | </table> |
257 | </div> | 300 | </div> |
258 | <!-- CLOSE form-all --> | 301 | <!-- CLOSE form-all --> |
259 | </form> | 302 | </form> |
260 | <div class="step-two-form" ng-show="infoForm"> | 303 | <div class="step-two-form" ng-show="infoForm"> |
261 | <div class="sectors-card"> | 304 | <div class="sectors-card"> |
262 | <div class="icon-circle-b"> | 305 | <div class="icon-circle-b"> |
263 | <i class="material-icons" style="line-height: 31px;">open_with</i> | 306 | <i class="material-icons" style="line-height: 31px;">open_with</i> |
264 | </div> | 307 | </div> |
265 | <div class="sector-question"> | 308 | <div class="sector-question"> |
266 | <div class="col-xs-12 font f-family"> | 309 | <div class="col-xs-12 font f-family"> |
267 | To which sector would you relate your company? | 310 | To which sector would you relate your company? |
268 | </div> | 311 | </div> |
269 | <div class="clearfix"></div> | 312 | <div class="clearfix"></div> |
270 | </div> | 313 | </div> |
271 | <div class="clearfix" style="height:15px;"></div> | 314 | <div class="clearfix" style="height:15px;"></div> |
272 | <div class="sector-align"> | 315 | <div class="sector-align"> |
273 | <div class="col-xs-6 col-md-3"> | 316 | <div class="col-xs-6 col-md-3"> |
274 | <label class="card-small"> | 317 | <label class="card-small"> |
275 | <input type="radio" required value="retail" ng-model="data.sector" class="option-input radio" ng-change="sector(data.sector); sectorkeyPress()" name="sectors"> | 318 | <input type="radio" required value="retail" ng-model="data.sector" class="option-input radio" ng-change="sector(data.sector); sectorkeyPress()" name="sectors"> |
276 | <img src="images/retail.png"> | 319 | <img src="images/retail.png"> |
277 | <label class="f-family">Retail</label> | 320 | <label class="f-family">Retail</label> |
278 | </label> | 321 | </label> |
279 | </div> | 322 | </div> |
280 | <div class="col-xs-6 col-md-3"> | 323 | <div class="col-xs-6 col-md-3"> |
281 | <label class="card-small"> | 324 | <label class="card-small"> |
282 | <input type="radio" required value="travel" ng-model="data.sector" class="option-input radio" ng-change="sector(data.sector); sectorkeyPress()" name="sectors"> | 325 | <input type="radio" required value="travel" ng-model="data.sector" class="option-input radio" ng-change="sector(data.sector); sectorkeyPress()" name="sectors"> |
283 | <img src="images/transport.png"> | 326 | <img src="images/transport.png"> |
284 | <label class="f-family">Travel</label> | 327 | <label class="f-family">Travel</label> |
285 | </label> | 328 | </label> |
286 | </div> | 329 | </div> |
287 | <div class="col-xs-6 col-md-3"> | 330 | <div class="col-xs-6 col-md-3"> |
288 | <label class="card-small"> | 331 | <label class="card-small"> |
289 | <input type="radio" required value="b2b commerce" ng-model="data.sector" class="option-input radio" ng-change="sector(data.sector); sectorkeyPress()" name="sectors"> | 332 | <input type="radio" required value="b2b commerce" ng-model="data.sector" class="option-input radio" ng-change="sector(data.sector); sectorkeyPress()" name="sectors"> |
290 | <img src="images/paymens.png"> | 333 | <img src="images/paymens.png"> |
291 | <label class="f-family">B2B commerce</label> | 334 | <label class="f-family">B2B commerce</label> |
292 | </label> | 335 | </label> |
293 | </div> | 336 | </div> |
294 | <div class="col-xs-6 col-md-3"> | 337 | <div class="col-xs-6 col-md-3"> |
295 | <label class="card-small"> | 338 | <label class="card-small"> |
296 | <input type="radio" required value="agritech" ng-model="data.sector" class="option-input radio" ng-change="sector(data.sector); sectorkeyPress()" name="sectors"> | 339 | <input type="radio" required value="agritech" ng-model="data.sector" class="option-input radio" ng-change="sector(data.sector); sectorkeyPress()" name="sectors"> |
297 | <img src="images/food.png"> | 340 | <img src="images/food.png"> |
298 | <label class="f-family">Agritech</label> | 341 | <label class="f-family">Agritech</label> |
299 | </label> | 342 | </label> |
300 | </div> | 343 | </div> |
301 | <div class="col-xs-6 col-md-3"> | 344 | <div class="col-xs-6 col-md-3"> |
302 | <label class="card-small"> | 345 | <label class="card-small"> |
303 | <input type="radio" required value="fintech" ng-model="data.sector" class="option-input radio" ng-change="sector(data.sector); sectorkeyPress()" name="sectors"> | 346 | <input type="radio" required value="fintech" ng-model="data.sector" class="option-input radio" ng-change="sector(data.sector); sectorkeyPress()" name="sectors"> |
304 | <img src="images/online_media.png"> | 347 | <img src="images/online_media.png"> |
305 | <label class="f-family">Fintech</label> | 348 | <label class="f-family">Fintech</label> |
306 | </label> | 349 | </label> |
307 | </div> | 350 | </div> |
308 | <div class="col-xs-6 col-md-3"> | 351 | <div class="col-xs-6 col-md-3"> |
309 | <label class="card-small"> | 352 | <label class="card-small"> |
310 | <input type="radio" required value="hyperlocal services" ng-model="data.sector" class="option-input radio" ng-change="sector(data.sector); sectorkeyPress()" name="sectors"> | 353 | <input type="radio" required value="hyperlocal services" ng-model="data.sector" class="option-input radio" ng-change="sector(data.sector); sectorkeyPress()" name="sectors"> |
311 | <img src="images/hardware.png"> | 354 | <img src="images/hardware.png"> |
312 | <label class="f-family">Hyperlocal services</label> | 355 | <label class="f-family">Hyperlocal services</label> |
313 | </label> | 356 | </label> |
314 | </div> | 357 | </div> |
315 | <div class="col-xs-6 col-md-3"> | 358 | <div class="col-xs-6 col-md-3"> |
316 | <label class="card-small"> | 359 | <label class="card-small"> |
317 | <input type="radio" required value="education" ng-model="data.sector" class="option-input radio" ng-change="sector(data.sector); sectorkeyPress()" name="sectors"> | 360 | <input type="radio" required value="education" ng-model="data.sector" class="option-input radio" ng-change="sector(data.sector); sectorkeyPress()" name="sectors"> |
318 | <img src="images/education.png"> | 361 | <img src="images/education.png"> |
319 | <label class="f-family">Education</label> | 362 | <label class="f-family">Education</label> |
320 | </label> | 363 | </label> |
321 | </div> | 364 | </div> |
322 | <div class="col-xs-6 col-md-3"> | 365 | <div class="col-xs-6 col-md-3"> |
323 | <label class="card-small"> | 366 | <label class="card-small"> |
324 | <input type="radio" required value="rural" ng-model="data.sector" class="option-input radio" ng-change="sector(data.sector); sectorkeyPress()" name="sectors"> | 367 | <input type="radio" required value="rural" ng-model="data.sector" class="option-input radio" ng-change="sector(data.sector); sectorkeyPress()" name="sectors"> |
325 | <img src="images/RURAL_ICON.png"> | 368 | <img src="images/RURAL_ICON.png"> |
326 | <label class="f-family">Rural</label> | 369 | <label class="f-family">Rural</label> |
327 | </label> | 370 | </label> |
328 | </div> | 371 | </div> |
329 | </div> | 372 | </div> |
330 | <div class="clearfix"></div> | 373 | <div class="clearfix"></div> |
331 | </div> | 374 | </div> |
332 | <!-- CLOSE sectors-card --> | 375 | <!-- CLOSE sectors-card --> |
333 | <div class="col-xs-12 col-md-12 f-family line-adjust" ng-if="proto"> | 376 | <div class="col-xs-12 col-md-12 f-family line-adjust" ng-if="proto"> |
334 | <strong>Do you have a prototype ready?</strong> | 377 | <strong>Do you have a prototype ready?</strong> |
335 | <p class="line-space" >If yes, please share the link to demo/website/application</p> | 378 | <p class="line-space" >If yes, please share the link to demo/website/application</p> |
336 | </div> | 379 | </div> |
337 | <div class="col-xs-12 col-md-12 input-wrapper" ng-if="proto"> | 380 | <div class="col-xs-12 col-md-12 input-wrapper" ng-if="proto"> |
338 | <div class="icon-circle-k"> | 381 | <div class="icon-circle-k"> |
339 | <i class="material-icons" style="line-height: 30px;">device_hub</i> | 382 | <i class="material-icons" style="line-height: 30px;">device_hub</i> |
340 | </div> | 383 | </div> |
341 | <textarea name="proto" ng-required="proto" class="text-input textarea" ng-model="data.prototype" ng-if="proto" placeholder="Prototype" ng-change="abc(); prototypekeyPress(data.prototype)"></textarea> | 384 | <textarea name="proto" ng-required="proto" class="text-input textarea" ng-model="data.prototype" ng-if="proto" placeholder="Prototype" ng-change="abc(); prototypekeyPress(data.prototype)"></textarea> |
342 | </div> | 385 | </div> |
343 | <div class="col-xs-11 col-md-12 f-family line-adjust"> | 386 | <div class="col-xs-11 col-md-12 f-family line-adjust"> |
344 | <strong>Tell us about the problem that your company is trying to address. </strong> | 387 | <strong>Tell us about the problem that your company is trying to address. </strong> |
345 | <p class="line-space" ></p> | 388 | <p class="line-space" ></p> |
346 | </div> | 389 | </div> |
347 | <div class="col-xs-12 col-md-12 input-wrapper"> | 390 | <div class="col-xs-12 col-md-12 input-wrapper"> |
348 | <div class="icon-circle-i"> | 391 | <div class="icon-circle-i"> |
349 | <i class="material-icons" style="line-height: 30px;">report_problem</i> | 392 | <i class="material-icons" style="line-height: 30px;">report_problem</i> |
350 | </div> | 393 | </div> |
351 | <textarea name="Problem" class="text-input textarea" ng-model="data.problem" placeholder="Problem" ng-change="enterproblem(data.problem); problemkeyPress(data.problem)" required></textarea> | 394 | <textarea name="Problem" class="text-input textarea" ng-model="data.problem" placeholder="Problem" ng-change="enterproblem(data.problem); problemkeyPress(data.problem)" required></textarea> |
352 | </div> | 395 | </div> |
353 | <div class="col-xs-12 col-md-12 f-family line-adjust"> | 396 | <div class="col-xs-12 col-md-12 f-family line-adjust"> |
354 | <strong>Tell us about the solution that your product/company has come up with.</strong> | 397 | <strong>Tell us about the solution that your product/company has come up with.</strong> |
355 | <p class="line-space" ></p> | 398 | <p class="line-space" ></p> |
356 | </div> | 399 | </div> |
357 | <div class="col-xs-12 col-md-12 input-wrapper"> | 400 | <div class="col-xs-12 col-md-12 input-wrapper"> |
358 | <div class="icon-circle-j"> | 401 | <div class="icon-circle-j"> |
359 | <i class="material-icons" style="line-height: 30px;">help</i> | 402 | <i class="material-icons" style="line-height: 30px;">help</i> |
360 | </div> | 403 | </div> |
361 | <textarea name="solution" class="text-input textarea" ng-model="data.solution" placeholder="Solution" ng-change="entersolution(data.solution); solutionkeyPress(data.solution)" required></textarea> | 404 | <textarea name="solution" class="text-input textarea" ng-model="data.solution" placeholder="Solution" ng-change="entersolution(data.solution); solutionkeyPress(data.solution)" required></textarea> |
362 | </div> | 405 | </div> |
363 | <div class="col-xs-12 col-md-12 f-family line-adjust" ng-if="businessmodel"> | 406 | <div class="col-xs-12 col-md-12 f-family line-adjust" ng-if="businessmodel"> |
364 | <strong>What is your business model?</strong> | 407 | <strong>What is your business model?</strong> |
365 | <p class="line-space" >How do you plan to make money?</p> | 408 | <p class="line-space" >How do you plan to make money?</p> |
366 | </div> | 409 | </div> |
367 | <div class="col-xs-12 col-md-12 input-wrapper f-family" ng-if="businessmodel"> | 410 | <div class="col-xs-12 col-md-12 input-wrapper f-family" ng-if="businessmodel"> |
368 | <div class="icon-circle-p"> | 411 | <div class="icon-circle-p"> |
369 | <i class="material-icons" style="line-height: 30px;">business_center</i> | 412 | <i class="material-icons" style="line-height: 30px;">business_center</i> |
370 | </div> | 413 | </div> |
371 | <select name="businessmodel" ng-model="data.business" ng-change="enterbusiness(data.business); businesskeyPress(data.business)" required style="background-color: #fff;border-radius: 0; font-size: 12px;"> | 414 | <select name="businessmodel" ng-model="data.business" ng-change="enterbusiness(data.business); businesskeyPress(data.business)" required style="background-color: #fff;border-radius: 0; font-size: 12px;"> |
372 | <option selected disabled value="">Business Model</option> | 415 | <option selected disabled value="">Business Model</option> |
373 | <option value="B2B">B2B</option> | 416 | <option value="B2B">B2B</option> |
374 | <option value="B2C">B2C</option> | 417 | <option value="B2C">B2C</option> |
375 | <option value="B2G">B2G</option> | 418 | <option value="B2G">B2G</option> |
376 | </select> | 419 | </select> |
377 | </div> | 420 | </div> |
378 | <div class="clearfix"></div> | 421 | <div class="clearfix"></div> |
379 | <div class="hideform" ng-if="prototyp"> | 422 | <div class="hideform" ng-if="prototyp"> |
380 | <!-- **************************For Quiz All About Input********************** --> | 423 | <!-- **************************For Quiz All About Input********************** --> |
381 | <div class="question-shadow"> | 424 | <div class="question-shadow"> |
382 | <div class="icon-circle-x"> | 425 | <div class="icon-circle-x"> |
383 | <i class="material-icons" style="line-height: 30px;">question_answer</i> | 426 | <i class="material-icons" style="line-height: 30px;">question_answer</i> |
384 | </div> | 427 | </div> |
385 | <div class="sector-question"> | 428 | <div class="sector-question"> |
386 | <div class="col-xs-12 font f-family"> | 429 | <div class="col-xs-12 font f-family"> |
387 | You can share the top 5 problems that your startup is facing at the moment– and we will share those problems with our mentors who will give their feedback on what is the right approach to solve that problem. | 430 | You can share the top 5 problems that your startup is facing at the moment– and we will share those problems with our mentors who will give their feedback on what is the right approach to solve that problem. |
388 | </div> | 431 | </div> |
389 | <div class="clearfix"></div> | 432 | <div class="clearfix"></div> |
390 | </div> | 433 | </div> |
391 | <div class="stages q-card-align"> | 434 | <div class="stages q-card-align"> |
392 | <div class="col-sm-8 group"> | 435 | <div class="col-sm-8 group"> |
393 | <input type="text" class="text-input" ng-model="data.question1" name="snpid" placeholder="Question1" ng-change="abc(); questionkeyPress(data.question1)" required> | 436 | <input type="text" class="text-input" ng-model="data.question1" name="snpid" placeholder="Question1" ng-change="abc(); questionkeyPress(data.question1)" required> |
394 | <span class="highlight"></span> | 437 | <span class="highlight"></span> |
395 | <span class="bar"></span> | 438 | <span class="bar"></span> |
396 | </div> | 439 | </div> |
397 | <div class="col-sm-3 col-md-offset-1"> | 440 | <div class="col-sm-3 col-md-offset-1"> |
398 | <select class="drop-down" ng-model="data.typeQ1" placeholder="select" id="lunch" class="" data-live-search="true" title="Please select a lunch ..." required> | 441 | <select class="drop-down" ng-model="data.typeQ1" placeholder="select" id="lunch" class="" data-live-search="true" title="Please select a lunch ..." required> |
399 | <option selected disabled value="">Select</option> | 442 | <option selected disabled value="">Select</option> |
400 | <option>Sales</option> | 443 | <option>Sales</option> |
401 | <option>Marketing</option> | 444 | <option>Marketing</option> |
402 | <option>Technology</option> | 445 | <option>Technology</option> |
403 | <option>Scale</option> | 446 | <option>Scale</option> |
404 | <option>Fund-raising</option> | 447 | <option>Fund-raising</option> |
405 | <option>Go-to-market strategy</option> | 448 | <option>Go-to-market strategy</option> |
406 | <option>Team/hiring issues</option> | 449 | <option>Team/hiring issues</option> |
407 | <option>Emotional/personal issues</option> | 450 | <option>Emotional/personal issues</option> |
408 | <option>Any other</option> | 451 | <option>Any other</option> |
409 | </select> | 452 | </select> |
410 | </div> | 453 | </div> |
411 | <div class="col-sm-8 group"> | 454 | <div class="col-sm-8 group"> |
412 | <input type="text" class="text-input" ng-model="data.question2" name="snpid" placeholder="Question2" ng-change="abc(); questionkeyPress(data.question2)" required> | 455 | <input type="text" class="text-input" ng-model="data.question2" name="snpid" placeholder="Question2" ng-change="abc(); questionkeyPress(data.question2)" required> |
413 | <span class="highlight"></span> | 456 | <span class="highlight"></span> |
414 | <span class="bar"></span> | 457 | <span class="bar"></span> |
415 | </div> | 458 | </div> |
416 | <div class="col-sm-3 col-md-offset-1"> | 459 | <div class="col-sm-3 col-md-offset-1"> |
417 | <select class="drop-down" ng-model="data.typeQ2" placeholder="select" id="lunch" class="" data-live-search="true" title="Please select a lunch ..." required> | 460 | <select class="drop-down" ng-model="data.typeQ2" placeholder="select" id="lunch" class="" data-live-search="true" title="Please select a lunch ..." required> |
418 | <option selected disabled value="">Select</option> | 461 | <option selected disabled value="">Select</option> |
419 | <option>Sales</option> | 462 | <option>Sales</option> |
420 | <option>Marketing</option> | 463 | <option>Marketing</option> |
421 | <option>Technology</option> | 464 | <option>Technology</option> |
422 | <option>Scale</option> | 465 | <option>Scale</option> |
423 | <option>Fund-raising</option> | 466 | <option>Fund-raising</option> |
424 | <option>Go-to-market strategy</option> | 467 | <option>Go-to-market strategy</option> |
425 | <option>Team/hiring issues</option> | 468 | <option>Team/hiring issues</option> |
426 | <option>Emotional/personal issues</option> | 469 | <option>Emotional/personal issues</option> |
427 | <option>Any other</option> | 470 | <option>Any other</option> |
428 | </select> | 471 | </select> |
429 | </div> | 472 | </div> |
430 | <div class="col-sm-8 group"> | 473 | <div class="col-sm-8 group"> |
431 | <input type="text" class="text-input" ng-model="data.question3" name="snpid" placeholder="Question3" ng-change="abc(); questionkeyPress(data.question3)" required> | 474 | <input type="text" class="text-input" ng-model="data.question3" name="snpid" placeholder="Question3" ng-change="abc(); questionkeyPress(data.question3)" required> |
432 | <span class="highlight"></span> | 475 | <span class="highlight"></span> |
433 | <span class="bar"></span> | 476 | <span class="bar"></span> |
434 | </div> | 477 | </div> |
435 | <div class="col-sm-3 col-md-offset-1"> | 478 | <div class="col-sm-3 col-md-offset-1"> |
436 | <select class="drop-down" ng-model="data.typeQ3" placeholder="select" id="lunch" class="" data-live-search="true" title="Please select a lunch ..." required> | 479 | <select class="drop-down" ng-model="data.typeQ3" placeholder="select" id="lunch" class="" data-live-search="true" title="Please select a lunch ..." required> |
437 | <option selected disabled value="">Select</option> | 480 | <option selected disabled value="">Select</option> |
438 | <option>Sales</option> | 481 | <option>Sales</option> |
439 | <option>Marketing</option> | 482 | <option>Marketing</option> |
440 | <option>Technology</option> | 483 | <option>Technology</option> |
441 | <option>Scale</option> | 484 | <option>Scale</option> |
442 | <option>Fund-raising</option> | 485 | <option>Fund-raising</option> |
443 | <option>Go-to-market strategy</option> | 486 | <option>Go-to-market strategy</option> |
444 | <option>Team/hiring issues</option> | 487 | <option>Team/hiring issues</option> |
445 | <option>Emotional/personal issues</option> | 488 | <option>Emotional/personal issues</option> |
446 | <option>Any other</option> | 489 | <option>Any other</option> |
447 | </select> | 490 | </select> |
448 | </div> | 491 | </div> |
449 | <div class="col-sm-8 group"> | 492 | <div class="col-sm-8 group"> |
450 | <input type="text" class="text-input" ng-model="data.question4" name="snpid" placeholder="Question4" ng-change="abc(); questionkeyPress(data.question4)" required> | 493 | <input type="text" class="text-input" ng-model="data.question4" name="snpid" placeholder="Question4" ng-change="abc(); questionkeyPress(data.question4)" required> |
451 | <span class="highlight"></span> | 494 | <span class="highlight"></span> |
452 | <span class="bar"></span> | 495 | <span class="bar"></span> |
453 | </div> | 496 | </div> |
454 | <div class="col-sm-3 col-md-offset-1"> | 497 | <div class="col-sm-3 col-md-offset-1"> |
455 | <select class="drop-down" ng-model="data.typeQ4" placeholder="select" id="lunch" class="" data-live-search="true" title="Please select a lunch ..." required> | 498 | <select class="drop-down" ng-model="data.typeQ4" placeholder="select" id="lunch" class="" data-live-search="true" title="Please select a lunch ..." required> |
456 | <option selected disabled value="">Select</option> | 499 | <option selected disabled value="">Select</option> |
457 | <option>Sales</option> | 500 | <option>Sales</option> |
458 | <option>Marketing</option> | 501 | <option>Marketing</option> |
459 | <option>Technology</option> | 502 | <option>Technology</option> |
460 | <option>Scale</option> | 503 | <option>Scale</option> |
461 | <option>Fund-raising</option> | 504 | <option>Fund-raising</option> |
462 | <option>Go-to-market strategy</option> | 505 | <option>Go-to-market strategy</option> |
463 | <option>Team/hiring issues</option> | 506 | <option>Team/hiring issues</option> |
464 | <option>Emotional/personal issues</option> | 507 | <option>Emotional/personal issues</option> |
465 | <option>Any other</option> | 508 | <option>Any other</option> |
466 | </select> | 509 | </select> |
467 | </div> | 510 | </div> |
468 | <div class="col-sm-8 group"> | 511 | <div class="col-sm-8 group"> |
469 | <input type="text" class="text-input" ng-model="data.question5" name="snpid" placeholder="Question5" ng-change="abc(); questionkeyPress(data.question5)" required> | 512 | <input type="text" class="text-input" ng-model="data.question5" name="snpid" placeholder="Question5" ng-change="abc(); questionkeyPress(data.question5)" required> |
470 | <span class="highlight"></span> | 513 | <span class="highlight"></span> |
471 | <span class="bar"></span> | 514 | <span class="bar"></span> |
472 | </div> | 515 | </div> |
473 | <div class="col-sm-3 col-md-offset-1"> | 516 | <div class="col-sm-3 col-md-offset-1"> |
474 | <select class="drop-down" ng-model="data.typeQ5" placeholder="select" id="lunch" class="" data-live-search="true" title="Please select a lunch ..." required> | 517 | <select class="drop-down" ng-model="data.typeQ5" placeholder="select" id="lunch" class="" data-live-search="true" title="Please select a lunch ..." required> |
475 | <option selected disabled value="">Select</option> | 518 | <option selected disabled value="">Select</option> |
476 | <option>Sales</option> | 519 | <option>Sales</option> |
477 | <option>Marketing</option> | 520 | <option>Marketing</option> |
478 | <option>Technology</option> | 521 | <option>Technology</option> |
479 | <option>Scale</option> | 522 | <option>Scale</option> |
480 | <option>Fund-raising</option> | 523 | <option>Fund-raising</option> |
481 | <option>Go-to-market strategy</option> | 524 | <option>Go-to-market strategy</option> |
482 | <option>Team/hiring issues</option> | 525 | <option>Team/hiring issues</option> |
483 | <option>Emotional/personal issues</option> | 526 | <option>Emotional/personal issues</option> |
484 | <option>Any other</option> | 527 | <option>Any other</option> |
485 | </select> | 528 | </select> |
486 | </div> | 529 | </div> |
487 | <div class="clearfix"></div> | 530 | <div class="clearfix"></div> |
488 | </div> | 531 | </div> |
489 | <div class="clearfix"></div> | 532 | <div class="clearfix"></div> |
490 | </div> | 533 | </div> |
491 | <!--CLOSE question-shadow --> | 534 | <!--CLOSE question-shadow --> |
492 | <div class="clearfix"></div> | 535 | <div class="clearfix"></div> |
493 | <!-- **************************CLOSE QUIZ FORM********************** --> | 536 | <!-- **************************CLOSE QUIZ FORM********************** --> |
494 | <div class="col-xs-11 col-md-12 f-family line-adjust"> | 537 | <div class="col-xs-11 col-md-12 f-family line-adjust"> |
495 | <strong>What technology are you using in the product?</strong> | 538 | <strong>What technology are you using in the product?</strong> |
496 | <p class="line-space" >Please explain in detail the technologies that you are using or plan to use in the product?</p> | 539 | <p class="line-space" >Please explain in detail the technologies that you are using or plan to use in the product?</p> |
497 | </div> | 540 | </div> |
498 | <div class="col-xs-12 col-md-12 input-wrapper"> | 541 | <div class="col-xs-12 col-md-12 input-wrapper"> |
499 | <div class="icon-circle-h"> | 542 | <div class="icon-circle-h"> |
500 | <i class="material-icons" style="line-height: 30px;">phone_android</i> | 543 | <i class="material-icons" style="line-height: 30px;">phone_android</i> |
501 | </div> | 544 | </div> |
502 | <input type="text" class="text-input" ng-model="data.technology" placeholder="Technology" ng-change="entertechnology(data.technology); technologykeyPress(data.technology)" required> | 545 | <input type="text" class="text-input" ng-model="data.technology" placeholder="Technology" ng-change="entertechnology(data.technology); technologykeyPress(data.technology)" required> |
503 | </div> | 546 | </div> |
504 | <div class="col-xs-12 col-md-12 f-family line-adjust" ng-if="market"> | 547 | <div class="col-xs-12 col-md-12 f-family line-adjust" ng-if="market"> |
505 | <strong>What is your go-to-market strategy?</strong> | 548 | <strong>What is your go-to-market strategy?</strong> |
506 | <p class="line-space" ></p> | 549 | <p class="line-space" ></p> |
507 | </div> | 550 | </div> |
508 | <div class="col-xs-12 col-md-12 input-wrapper" ng-if="market"> | 551 | <div class="col-xs-12 col-md-12 input-wrapper" ng-if="market"> |
509 | <div class="icon-circle-l"> | 552 | <div class="icon-circle-l"> |
510 | <i class="material-icons" style="line-height: 30px;">multiline_chart</i> | 553 | <i class="material-icons" style="line-height: 30px;">multiline_chart</i> |
511 | </div> | 554 | </div> |
512 | <textarea name="market" ng-required="market" class="text-input textarea" ng-model="data.market" ng-if="market" placeholder="Go to market strategy" ng-change="abc(); marketkeyPress(data.market)"></textarea> | 555 | <textarea name="market" ng-required="market" class="text-input textarea" ng-model="data.market" ng-if="market" placeholder="Go to market strategy" ng-change="abc(); marketkeyPress(data.market)"></textarea> |
513 | </div> | 556 | </div> |
514 | <div class="col-xs-12 col-md-12 f-family line-adjust" ng-if="risks"> | 557 | <div class="col-xs-12 col-md-12 f-family line-adjust" ng-if="risks"> |
515 | <strong>Who are your existing competitors and potential risk factors?</strong> | 558 | <strong>Who are your existing competitors and potential risk factors?</strong> |
516 | <p class="line-space" ></p> | 559 | <p class="line-space" ></p> |
517 | </div> | 560 | </div> |
518 | <div class="col-xs-12 col-md-12 input-wrapper" ng-if="risks"> | 561 | <div class="col-xs-12 col-md-12 input-wrapper" ng-if="risks"> |
519 | <div class="icon-circle-m"> | 562 | <div class="icon-circle-m"> |
520 | <i class="material-icons" style="line-height: 30px;">adjust</i> | 563 | <i class="material-icons" style="line-height: 30px;">adjust</i> |
521 | </div> | 564 | </div> |
522 | <textarea name="risks" ng-required="risks" class="text-input textarea" ng-model="data.risks" ng-if="risks" placeholder="Competition and risks" ng-change="abc(); riskkeyPress(data.risks)"></textarea> | 565 | <textarea name="risks" ng-required="risks" class="text-input textarea" ng-model="data.risks" ng-if="risks" placeholder="Competition and risks" ng-change="abc(); riskkeyPress(data.risks)"></textarea> |
523 | </div> | 566 | </div> |
524 | <div class="col-xs-12 col-md-12 f-family line-adjust" ng-if="team"> | 567 | <div class="col-xs-12 col-md-12 f-family line-adjust" ng-if="team"> |
525 | <strong>Who all are there in your team?</strong> | 568 | <strong>Who all are there in your team?</strong> |
526 | <p class="line-space" >What are their backgrounds?</p> | 569 | <p class="line-space" >What are their backgrounds?</p> |
527 | </div> | 570 | </div> |
528 | <div class="col-xs-12 col-md-12 input-wrapper" ng-if="team"> | 571 | <div class="col-xs-12 col-md-12 input-wrapper" ng-if="team"> |
529 | <div class="icon-circle-n" ng-if="team"> | 572 | <div class="icon-circle-n" ng-if="team"> |
530 | <i class="material-icons" style="line-height: 30px;">games</i> | 573 | <i class="material-icons" style="line-height: 30px;">games</i> |
531 | </div> | 574 | </div> |
532 | <textarea name="team" ng-required="team" class="text-input textarea" ng-model="data.team" ng-if="team" placeholder="Team" ng-change="abc(); teamkeyPress(data.team)"></textarea> | 575 | <textarea name="team" ng-required="team" class="text-input textarea" ng-model="data.team" ng-if="team" placeholder="Team" ng-change="abc(); teamkeyPress(data.team)"></textarea> |
533 | </div> | 576 | </div> |
534 | <div class="col-xs-12 col-md-12 f-family line-adjust" ng-if="pitch"> | 577 | <div class="col-xs-12 col-md-12 f-family line-adjust" ng-if="pitch"> |
535 | <strong>Provide the Google Docs link for pitch-deck/presentation (mentioning the details of your startup).</strong> | 578 | <strong>Provide the Google Docs link for pitch-deck/presentation (mentioning the details of your startup).</strong> |
536 | <p class="line-space" ></p> | 579 | <p class="line-space" ></p> |
537 | </div> | 580 | </div> |
538 | <div class="col-xs-12 col-md-12 input-wrapper" ng-if="pitch"> | 581 | <div class="col-xs-12 col-md-12 input-wrapper" ng-if="pitch"> |
539 | <div class="icon-circle-z"> | 582 | <div class="icon-circle-z"> |
540 | <i class="material-icons" style="line-height: 30px;">offline_pin</i> | 583 | <i class="material-icons" style="line-height: 30px;">offline_pin</i> |
541 | </div> | 584 | </div> |
542 | <input type="text" ng-required="pitch" class="text-input" ng-model="data.pitch" ng-if="pitch" placeholder="Provide pitch deck" ng-change="abc(); pitchkeyPress(data.pitch)"> | 585 | <input type="text" ng-required="pitch" class="text-input" ng-model="data.pitch" ng-if="pitch" placeholder="Provide pitch deck" ng-change="abc(); pitchkeyPress(data.pitch)"> |
543 | </div> | 586 | </div> |
544 | <div class="col-xs-12 col-md-12 f-family line-adjust" ng-if="financials"> | 587 | <div class="col-xs-12 col-md-12 f-family line-adjust" ng-if="financials"> |
545 | <strong>Provide the Google Docs link for financial projections (funding requirements of your startup).</strong> | 588 | <strong>Provide the Google Docs link for financial projections (funding requirements of your startup).</strong> |
546 | <p class="line-space" ></p> | 589 | <p class="line-space" ></p> |
547 | </div> | 590 | </div> |
548 | <div class="col-xs-12 col-md-12 input-wrapper" ng-if="financials"> | 591 | <div class="col-xs-12 col-md-12 input-wrapper" ng-if="financials"> |
549 | <div class="icon-circle-q"> | 592 | <div class="icon-circle-q"> |
550 | <i class="material-icons" style="line-height: 30px;">timeline</i> | 593 | <i class="material-icons" style="line-height: 30px;">timeline</i> |
551 | </div> | 594 | </div> |
552 | <input type="text" name="financials" ng-required="financials" class="text-input" ng-model="data.financials" ng-if="financials" placeholder="Provide financials" ng-change="abc(); financialskeyPress(data.financials)"> | 595 | <input type="text" name="financials" ng-required="financials" class="text-input" ng-model="data.financials" ng-if="financials" placeholder="Provide financials" ng-change="abc(); financialskeyPress(data.financials)"> |
553 | </div> | 596 | </div> |
554 | <div class="clearfix"></div> | 597 | <div class="clearfix"></div> |
555 | </div> | 598 | </div> |
556 | <div class="identity-shadow"> | 599 | <div class="identity-shadow"> |
557 | <div class="icon-circle-ab"> | 600 | <div class="icon-circle-ab"> |
558 | <i class="material-icons" style="line-height: 30px;">perm_identity</i> | 601 | <i class="material-icons" style="line-height: 30px;">perm_identity</i> |
559 | </div> | 602 | </div> |
560 | <div class="identity-question"> | 603 | <div class="identity-question"> |
561 | <div class="col-xs-12 font f-family" style="margin:10px 10px 0px 10px;"> | 604 | <div class="col-xs-12 font f-family" style="margin:10px 10px 0px 10px;"> |
562 | <b>Who are you?</b> | 605 | <b>Who are you?</b> |
563 | <p style="color:grey">kindly choose one option.</p> | 606 | <p style="color:grey">kindly choose one option.</p> |
564 | </div> | 607 | </div> |
565 | <div class="clearfix"></div> | 608 | <div class="clearfix"></div> |
566 | </div> | 609 | </div> |
567 | <div class="stages identity-align"> | 610 | <div class="stages identity-align"> |
568 | <div class="col-xs-12"> | 611 | <div class="col-xs-12"> |
569 | <label class="card-small margin-right-label"> | 612 | <label class="card-small margin-right-label"> |
570 | <input type="radio" required value="student" ng-model="data.identity" class="option-input-a radio-a pull-left" id="studentRadio" ng-change="student(data.identity); studentkeyPress()" name="file" ng-click="show='a'"> | 613 | <input type="radio" required value="student" ng-model="data.identity" class="option-input-a radio-a pull-left" id="studentRadio" ng-change="student(data.identity); studentkeyPress()" name="file" ng-click="show='a'"> |
571 | <!-- <img src="images/RURAL_ICON.png"> --> | 614 | <!-- <img src="images/RURAL_ICON.png"> --> |
572 | <label class="f-family pull-left width-auto" for="studentRadio">Student</label> | 615 | <label class="f-family pull-left width-auto" for="studentRadio">Student</label> |
573 | </label> | 616 | </label> |
574 | <label class="card-small margin-right-label"> | 617 | <label class="card-small margin-right-label"> |
575 | <input type="radio" required value="others" ng-model="data.identity" class="option-input-a radio-a pull-left" id="othersRadio" ng-change="student(data.identity); studentkeyPress()" name="file" ng-click="show='b'"> | 618 | <input type="radio" required value="others" ng-model="data.identity" class="option-input-a radio-a pull-left" id="othersRadio" ng-change="student(data.identity); studentkeyPress()" name="file" ng-click="show='b'"> |
576 | <!-- <img src="images/education.png"> --> | 619 | <!-- <img src="images/education.png"> --> |
577 | <label class="f-family pull-left width-auto" for="othersRadio">Others</label> | 620 | <label class="f-family pull-left width-auto" for="othersRadio">Others</label> |
578 | </label> | 621 | </label> |
579 | </div> | 622 | </div> |
580 | </div> | 623 | </div> |
581 | <!-- CLOSE stages identity-align --> | 624 | <!-- CLOSE stages identity-align --> |
582 | <div class="clearfix"></div> | 625 | <div class="clearfix"></div> |
583 | </div> | 626 | </div> |
584 | <!-- CLOSE identity-shadow --> | 627 | <!-- CLOSE identity-shadow --> |
585 | <div class="col-xs-12 input-wrapper"> | 628 | <div class="col-xs-12 input-wrapper"> |
586 | <div class="referel-icon" style="z-index: 999;"> | 629 | <div class="referel-icon" style="z-index: 999;"> |
587 | <i class="material-icons" style="line-height: 30px;">code</i> | 630 | <i class="material-icons" style="line-height: 30px;">code</i> |
588 | </div> | 631 | </div> |
589 | <input class="text-input" ng-model="data.referalToken" placeholder="Enter Coupon code" style="position: relative;" ng-required="referalToken" ng-change="changeReferalIconColor(data.referalToken)"> | 632 | <input class="text-input" ng-model="data.referalToken" placeholder="Enter Coupon code" style="position: relative;" ng-required="referalToken" ng-change="changeReferalIconColor(data.referalToken)"> |
590 | <i class="material-icons coupen-approved" ng-if="tokencheck == true">check</i> | 633 | <i class="material-icons coupen-approved" ng-if="tokencheck == true">check</i> |
591 | <i class="material-icons coupen-approved" style="color:red;" ng-if="tokencheck == false">close</i> | 634 | <i class="material-icons coupen-approved" style="color:red;" ng-if="tokencheck == false">close</i> |
592 | <button type="button" ng-click="tokenCall(data.referalToken)" class="pull-right apply-coupen-btn">Apply</button> | 635 | <button type="button" ng-click="tokenCall(data.referalToken)" class="pull-right apply-coupen-btn">Apply</button> |
593 | </div> | 636 | </div> |
594 | <div class="clearfix"></div> | 637 | <div class="clearfix"></div> |
595 | <div class="text-center"> | 638 | <div class="text-center"> |
596 | <input type="submit" class="btn submit-button" data-toggle="modal" data-target="#myModal" ng-disabled="applicantForm.$invalid|| check|| numberCheck" value="Submit" ng-click="calculateAmount()"> | 639 | <input type="submit" class="btn submit-button" data-toggle="modal" data-target="#myModal" ng-disabled="applicantForm.$invalid|| check|| numberCheck" value="Submit" ng-click="calculateAmount()"> |
597 | </div> | 640 | </div> |
598 | </div> | 641 | </div> |
599 | <!-- CLOSE step-two-form --> | 642 | <!-- CLOSE step-two-form --> |
600 | </div> | 643 | </div> |
601 | <!-- col-xs-12 col-md-8 col-md-offset-2 --> | 644 | <!-- col-xs-12 col-md-8 col-md-offset-2 --> |
602 | </form> | 645 | </form> |
603 | <!-- CLOSE FORM --> | 646 | <!-- CLOSE FORM --> |
604 | <footer> | 647 | <footer> |
605 | <img id="footer" class="img-responsive banner"> | 648 | <img id="footer" class="img-responsive banner"> |
606 | <center class="footer"> Powered By <a class="footer-link" href="http://www.viithiisys.com/" target="_blank">Viithiisys Technolgies.</a> </center> | 649 | <center class="footer"> Powered By <a class="footer-link" href="http://www.viithiisys.com/" target="_blank">Viithiisys Technolgies.</a> </center> |
607 | </footer> | 650 | </footer> |
608 | <!-- </div> CLOSE CHECK VIEW --> | 651 | <!-- </div> CLOSE CHECK VIEW --> |
609 | <div ng-if="verifyView"> | 652 | <div ng-if="verifyView"> |
610 | <div style="margin-bottom: 0px;" class="text-center"> | 653 | <div style="margin-bottom: 0px;" class="text-center"> |
611 | <input type="button" class="btn submit-button" ng-disabled="applicantForm.$invalid" value="check the status" ng-click="update()"> | 654 | <input type="button" class="btn submit-button" ng-disabled="applicantForm.$invalid" value="check the status" ng-click="update()"> |
612 | </div> | 655 | </div> |
613 | </div> | 656 | </div> |
614 | </div> <!-- CLOSE NEW-CONTROLLER --> | 657 | </div> <!-- CLOSE NEW-CONTROLLER --> |
615 | <!-- <div id="snacsskbar">Registration done successfully.</div> | 658 | <!-- <div id="snacsskbar">Registration done successfully.</div> |
616 | --><div class="modal fade" id="myModal" role="dialog"> | 659 | --><div class="modal fade" id="myModal" role="dialog"> |
617 | <div class="modal-dialog" style="left: auto;"> | 660 | <div class="modal-dialog" style="left: auto;"> |
618 | <div class="modal-content"> | 661 | <div class="modal-content"> |
619 | <h4 style="text-align:center;">Congratulations, you are now eligible for:</h4> | 662 | <h4 style="text-align:center;">Congratulations, you are now eligible for:</h4> |
620 | <table width="100%" border="0" align="right" cellpadding="0" cellspacing="0" style="border:1px solid #f6f6eb;margin-top:10px"> | 663 | <table width="100%" border="0" align="right" cellpadding="0" cellspacing="0" style="border:1px solid #f6f6eb;margin-top:10px"> |
621 | <tbody style="background-color:#f9f9f9"> | 664 | <tbody style="background-color:#f9f9f9"> |
622 | <tr> | 665 | <tr> |
623 | <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td> | 666 | <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td> |
624 | </tr> | 667 | </tr> |
625 | <tr> | 668 | <tr> |
626 | <td align="left" valign="top" style="padding:10px"> | 669 | <td align="left" valign="top" style="padding:10px"> |
627 | <table width="100%" border="0" cellspacing="0" cellpadding="0"> | 670 | <table width="100%" border="0" cellspacing="0" cellpadding="0"> |
628 | <tbody> | 671 | <tbody> |
629 | <tr> | 672 | <tr> |
630 | <td align="left" valign="middle" style="color:#5e5e5e;font-size:20px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">Ticket Summary</td> | 673 | <td align="left" valign="middle" style="color:#5e5e5e;font-size:20px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">Ticket Summary</td> |
631 | </tr> | 674 | </tr> |
632 | </tbody> | 675 | </tbody> |
633 | </table> | 676 | </table> |
634 | </td> | 677 | </td> |
635 | </tr> | 678 | </tr> |
636 | </tbody> | 679 | </tbody> |
637 | <tbody> | 680 | <tbody> |
638 | <tr> | 681 | <tr> |
639 | <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td> | 682 | <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td> |
640 | </tr> | 683 | </tr> |
641 | <tr> | 684 | <tr> |
642 | <td align="left" valign="top" style="padding:10px"> | 685 | <td align="left" valign="top" style="padding:10px"> |
643 | <table width="100%" border="0" cellspacing="0" cellpadding="0"> | 686 | <table width="100%" border="0" cellspacing="0" cellpadding="0"> |
644 | <tbody> | 687 | <tbody> |
645 | <tr> | 688 | <tr> |
646 | <td align="left" valign="middle" style="color:#5e5e5e;font-size:16px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">Ticket Amount</td> | 689 | <td align="left" valign="middle" style="color:#5e5e5e;font-size:16px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">Ticket Amount</td> |
647 | <td align="right" valign="middle" style="color:#5e5e5e;font-size:18px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">{{ticketAmnt}}</td> | 690 | <td align="right" valign="middle" style="color:#5e5e5e;font-size:18px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">{{ticketAmnt}}</td> |
648 | </tr> | 691 | </tr> |
649 | </tbody> | 692 | </tbody> |
650 | </table> | 693 | </table> |
651 | </td> | 694 | </td> |
652 | </tr> | 695 | </tr> |
653 | <tr> | 696 | <tr> |
654 | <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td> | 697 | <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td> |
655 | </tr> | 698 | </tr> |
656 | <tr> | 699 | <tr> |
657 | <td align="left" valign="top" style="padding:10px"> | 700 | <td align="left" valign="top" style="padding:10px"> |
658 | <table width="100%" border="0" cellspacing="0" cellpadding="0"> | 701 | <table width="100%" border="0" cellspacing="0" cellpadding="0"> |
659 | <tbody> | 702 | <tbody> |
660 | <tr> | 703 | <tr> |
661 | <td align="left" valign="middle" style="color:#5e5e5e;font-size:16px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">Discount</td> | 704 | <td align="left" valign="middle" style="color:#5e5e5e;font-size:16px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">Discount</td> |
662 | <td align="right" valign="middle" style="color:#5e5e5e;font-size:18px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">{{discountAmount}}</td> | 705 | <td align="right" valign="middle" style="color:#5e5e5e;font-size:18px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">{{discountAmount}}</td> |
663 | </tr> | 706 | </tr> |
664 | </tbody> | 707 | </tbody> |
665 | </table> | 708 | </table> |
666 | </td> | 709 | </td> |
667 | </tr> | 710 | </tr> |
668 | <tr> | 711 | <tr> |
669 | <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td> | 712 | <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td> |
670 | </tr> | 713 | </tr> |
671 | <tr> | 714 | <tr> |
672 | <td align="left" valign="top" style="padding:10px"> | 715 | <td align="left" valign="top" style="padding:10px"> |
673 | <table width="100%" border="0" cellspacing="0" cellpadding="0"> | 716 | <table width="100%" border="0" cellspacing="0" cellpadding="0"> |
674 | <tbody> | 717 | <tbody> |
675 | <tr> | 718 | <tr> |
676 | <td align="left" valign="middle" style="color:#5e5e5e;font-size:14px;line-height:26px;font-family:Avenir-Medium,arial,sans-serif">GST</td> | 719 | <td align="left" valign="middle" style="color:#5e5e5e;font-size:14px;line-height:26px;font-family:Avenir-Medium,arial,sans-serif">GST</td> |
677 | <td align="right" valign="middle" style="color:#5e5e5e;font-size:16px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">{{taxTotal}}</td> | 720 | <td align="right" valign="middle" style="color:#5e5e5e;font-size:16px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">{{taxTotal}}</td> |
678 | </tr> | 721 | </tr> |
679 | </tbody> | 722 | </tbody> |
680 | </table> | 723 | </table> |
681 | </td> | 724 | </td> |
682 | </tr> | 725 | </tr> |
683 | <tr> | 726 | <tr> |
684 | <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td> | 727 | <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td> |
685 | </tr> | 728 | </tr> |
686 | <tr> | 729 | <tr> |
687 | <td align="left" valign="top" bgcolor="#f9f9f9" style="padding:10px"> | 730 | <td align="left" valign="top" bgcolor="#f9f9f9" style="padding:10px"> |
688 | <table width="100%" border="0" cellspacing="0" cellpadding="0"> | 731 | <table width="100%" border="0" cellspacing="0" cellpadding="0"> |
689 | <tbody> | 732 | <tbody> |
690 | <tr> | 733 | <tr> |
691 | <td align="left" valign="middle" style="color:#5e5e5e;font-size:22px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">Total Amount</td> | 734 | <td align="left" valign="middle" style="color:#5e5e5e;font-size:22px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">Total Amount</td> |
692 | <td align="right" valign="middle" style="color:#29bd9d;font-size:24px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">{{payingAmnt}}</td> | 735 | <td align="right" valign="middle" style="color:#29bd9d;font-size:24px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">{{payingAmnt}}</td> |
693 | </tr> | 736 | </tr> |
694 | </tbody> | 737 | </tbody> |
695 | </table> | 738 | </table> |
696 | </td> | 739 | </td> |
697 | </tr> | 740 | </tr> |
698 | <tr> | 741 | <tr> |
699 | <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td> | 742 | <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td> |
700 | </tr> | 743 | </tr> |
701 | </tbody> | 744 | </tbody> |
702 | </table> | 745 | </table> |
703 | <div style="text-align:center;margin-bottom:5%"> | 746 | <div style="text-align:center;margin-bottom:5%"> |
704 | <button type="button" style="color:#fff;background-color:#4CAF50;margin-top:5%" class="btn btn-default" data-dismiss="modal" ng-click="create()">Proceed to Pay</button> | 747 | <button type="button" style="color:#fff;background-color:#4CAF50;margin-top:5%" class="btn btn-default" data-dismiss="modal" ng-click="create()">Proceed to Pay</button> |
705 | </div> | 748 | </div> |
706 | </div> | 749 | </div> |
707 | </div> | 750 | </div> |
708 | </div> | 751 | </div> |
709 | 752 | ||
710 | <div class="modal fade" id="videoModel" role="dialog" ng-click="closeModal()"> | 753 | <div class="modal fade" id="videoModel" role="dialog" ng-click="closeModal()"> |
711 | <div class="modal-dialog" style="left: auto;"> | 754 | <div class="modal-dialog" style="left: auto;"> |
712 | <div class="modal-content" > | 755 | <div class="modal-content" > |
713 | 756 | ||
714 | <div class="modal-body" style="text-align: right;" > | 757 | <div class="modal-body" style="text-align: right;" > |
715 | <i class="material-icons" style="cursor: pointer;" data-dismiss="modal" ng-click="closeModal()">clear</i> | 758 | <i class="material-icons" style="cursor: pointer;" data-dismiss="modal" ng-click="closeModal()">clear</i> |
716 | <iframe width="560" id="youtubePlayer" height="315" src="https://www.youtube.com/embed/8i1bLQ7jS0I" frameborder="0" allowfullscreen></iframe> | 759 | <iframe width="560" id="youtubePlayer" height="315" src="https://www.youtube.com/embed/8i1bLQ7jS0I" frameborder="0" allowfullscreen></iframe> |
717 | </div> | 760 | </div> |
718 | 761 | ||
719 | </div> | 762 | </div> |
720 | </div> | 763 | </div> |
721 | </div> | 764 | </div> |
722 | 765 | ||
723 | 766 | ||
724 | <div class="modal fade" id="videoModels" role="dialog" ng-click="closed()"> | 767 | <div class="modal fade" id="videoModels" role="dialog" ng-click="closed()"> |
725 | <div class="modal-dialog" style="left: auto;"> | 768 | <div class="modal-dialog" style="left: auto;"> |
726 | <div class="modal-content"> | 769 | <div class="modal-content"> |
727 | <div class="modal-body" style="text-align: right;" > | 770 | <div class="modal-body" style="text-align: right;" > |
728 | <i class="material-icons" style="cursor: pointer;" data-dismiss="modal" ng-click="closed()">clear</i> | 771 | <i class="material-icons" style="cursor: pointer;" data-dismiss="modal" ng-click="closed()">clear</i> |
729 | <iframe width="560" id="youtubePlayersss" height="315" src="https://www.youtube.com/embed/oBqdz-p3R6Y" frameborder="0" allowfullscreen></iframe> | 772 | <iframe width="560" id="youtubePlayersss" height="315" src="https://www.youtube.com/embed/oBqdz-p3R6Y" frameborder="0" allowfullscreen></iframe> |
730 | </div> | 773 | </div> |
731 | 774 | ||
732 | </div> | 775 | </div> |
733 | </div> | 776 | </div> |
734 | </div> | 777 | </div> |
735 | 778 | ||
736 | 779 | ||
737 | 780 | ||
738 | 781 | ||
739 | 782 | ||
740 | 783 | ||
741 | 784 |
script.js
1 | // create the module and name it scotchApp | 1 | // create the module and name it scotchApp |
2 | var scotchApp = angular.module('scotchApp', ['ngRoute']); | 2 | var scotchApp = angular.module('scotchApp', ['ngRoute','angular-google-analytics']); |
3 | 3 | ||
4 | // configure our routes | 4 | // configure our routes |
5 | scotchApp.config(function($routeProvider) { | 5 | scotchApp.config(function($routeProvider) { |
6 | $routeProvider | 6 | $routeProvider |
7 | 7 | ||
8 | // route for the home page | 8 | // route for the home page |
9 | .when('/', { | 9 | .when('/', { |
10 | templateUrl: 'pages/home.html', | 10 | templateUrl: 'pages/home.html', |
11 | controller: 'mainController' | 11 | controller: 'mainController' |
12 | }) | 12 | }) |
13 | 13 | ||
14 | // route for the paymentVerify page | 14 | // route for the paymentVerify page |
15 | .when('/pendingPayment/:id', { | 15 | .when('/pendingPayment/:id', { |
16 | templateUrl: 'pages/verify.html', | 16 | templateUrl: 'pages/verify.html', |
17 | controller: 'verifyController' | 17 | controller: 'verifyController' |
18 | }) | 18 | }) |
19 | 19 | ||
20 | // route for the ambassador page | 20 | // route for the ambassador page |
21 | .when('/ambassador', { | 21 | .when('/ambassador', { |
22 | templateUrl: 'pages/ambassador.html', | 22 | templateUrl: 'pages/ambassador.html', |
23 | controller: 'ambassadorController' | 23 | controller: 'ambassadorController' |
24 | }) | 24 | }) |
25 | 25 | ||
26 | // route for the confirmation page | 26 | // route for the confirmation page |
27 | .when('/confirmation', { | 27 | .when('/confirmation', { |
28 | templateUrl: 'pages/confirmation.html', | 28 | templateUrl: 'pages/confirmation.html', |
29 | controller: 'mainController' | 29 | controller: 'mainController' |
30 | }) | 30 | }) |
31 | 31 | ||
32 | }); | 32 | }); |
33 | 33 | ||
34 | scotchApp.constant("BASE_URL", "http://139.59.68.74:4001/api") | 34 | scotchApp.config(['AnalyticsProvider', function (AnalyticsProvider) { |
35 | //scotchApp.constant("BASE_URL", "http://0.0.0.0:4001/api") | 35 | // Add configuration code as desired |
36 | // AnalyticsProvider.setAccount('UA-106416759-1'); //UU-XXXXXXX-X should be your tracking code | ||
37 | |||
38 | AnalyticsProvider.setAccount({ | ||
39 | tracker: 'UA-106416759-1', | ||
40 | name: "startupjalsa-app", | ||
41 | trackEvent: true, | ||
42 | trackEcommerce: true | ||
43 | }); | ||
44 | |||
45 | // Track all routes (default is true). | ||
46 | AnalyticsProvider.trackPages(true); | ||
47 | |||
48 | // Track all URL query params (default is false). | ||
49 | AnalyticsProvider.trackUrlParams(true); | ||
50 | |||
51 | }]).run(['Analytics', function(Analytics) { }]); | ||
52 | |||
53 | //scotchApp.constant("BASE_URL", "http://139.59.68.74:4001/api") | ||
54 | scotchApp.constant("BASE_URL", "http://0.0.0.0:4001/api") | ||
36 | 55 | ||
37 | // create the controller and inject Angular's $scope | 56 | // create the controller and inject Angular's $scope |
38 | scotchApp.controller('mainController', function($scope, $http, $location, $route, $rootScope, BASE_URL) { | 57 | scotchApp.controller('mainController', function($scope, $http, $location, $route, $rootScope, BASE_URL, Analytics) { |
39 | $scope.data = { | 58 | $scope.data = { |
40 | show: true, | 59 | show: true, |
41 | hide: false | 60 | hide: false |
42 | }; | 61 | }; |
43 | 62 | ||
44 | $scope.infoForm = false; /*THIS CODE FOR HIDE STEP 2 FORM*/ | 63 | $scope.infoForm = false; /*THIS CODE FOR HIDE STEP 2 FORM*/ |
45 | 64 | ||
46 | $scope.max = 100; | 65 | $scope.max = 100; |
47 | $scope.current = 0; | 66 | $scope.current = 0; |
48 | $scope.payingAmnt = 0; | 67 | $scope.payingAmnt = 0; |
49 | if ($scope.data.stage == 'select') { | 68 | if ($scope.data.stage == 'select') { |
50 | 69 | ||
51 | } | 70 | } |
52 | 71 | ||
53 | //$scope.author = 'Swarn Singh'; | 72 | //$scope.author = 'Swarn Singh'; |
54 | $scope.data = {}; | 73 | $scope.data = {}; |
55 | $scope.data.stage = 'Idea'; | 74 | $scope.data.stage = 'Idea'; |
56 | $scope.discountAmount = 0; | 75 | $scope.discountAmount = 0; |
57 | $scope.check = false; | 76 | $scope.check = false; |
58 | $scope.numberCheck = false; | 77 | $scope.numberCheck = false; |
59 | $scope.paymentResult = {}; | 78 | $scope.paymentResult = {}; |
60 | var data = { | 79 | var data = { |
61 | "amount": $scope.payingAmnt, | 80 | "amount": $scope.payingAmnt, |
62 | "currency": "INR", | 81 | "currency": "INR", |
63 | "status": "pending" | 82 | "status": "pending" |
64 | } | 83 | } |
65 | 84 | ||
66 | /*open videos in modal*/ | 85 | /*open videos in modal*/ |
67 | $scope.openyoutube16 = function(){ | 86 | $scope.openyoutube16 = function(){ |
68 | $('#videoModel').modal('show'); | 87 | $('#videoModel').modal('show'); |
69 | } | 88 | } |
70 | 89 | ||
71 | $scope.openyoutube17 = function(){ | 90 | $scope.openyoutube17 = function(){ |
72 | $('#videoModels').modal('show'); | 91 | $('#videoModels').modal('show'); |
73 | } | 92 | } |
74 | 93 | ||
75 | $scope.closeModal = function(){ | 94 | $scope.closeModal = function(){ |
76 | var url = $('#youtubePlayer').attr('src'); | 95 | var url = $('#youtubePlayer').attr('src'); |
77 | $('#youtubePlayer').attr('src', ''); | 96 | $('#youtubePlayer').attr('src', ''); |
78 | $('#youtubePlayer').attr('src', url); | 97 | $('#youtubePlayer').attr('src', url); |
79 | } | 98 | } |
80 | 99 | ||
81 | 100 | ||
82 | $scope.closed = function(){ | 101 | $scope.closed = function(){ |
83 | var url = $('#youtubePlayersss').attr('src'); | 102 | var url = $('#youtubePlayersss').attr('src'); |
84 | $('#youtubePlayersss').attr('src', ''); | 103 | $('#youtubePlayersss').attr('src', ''); |
85 | $('#youtubePlayersss').attr('src', url); | 104 | $('#youtubePlayersss').attr('src', url); |
86 | } | 105 | } |
87 | /*open videos ends here*/ | 106 | /*open videos ends here*/ |
88 | 107 | ||
89 | $scope.removeError = function() { | 108 | $scope.removeError = function() { |
90 | $('#invalidEmail').css('display', 'none'); | 109 | $('#invalidEmail').css('display', 'none'); |
91 | $('#alreadyExist').css('display', 'none'); | 110 | $('#alreadyExist').css('display', 'none'); |
92 | }; | 111 | }; |
93 | 112 | ||
94 | $scope.emailcheck = function(val) { | 113 | $scope.emailcheck = function(val) { |
95 | if (val == undefined) { | 114 | if (val == undefined) { |
96 | $('#invalidEmail').css('display', 'block'); | 115 | $('#invalidEmail').css('display', 'block'); |
97 | } else { | 116 | } else { |
98 | $http({ | 117 | $http({ |
99 | method: 'GET', | 118 | method: 'GET', |
100 | url: BASE_URL + '/applicants?filter={"where": {"email": {"like":"%25' + $scope.data.email + '%25"}}}', | 119 | url: BASE_URL + '/applicants?filter={"where": {"email": {"like":"%25' + $scope.data.email + '%25"}}}', |
101 | headers: {} | 120 | headers: {} |
102 | }).then(function mySuccess(searchResult) { | 121 | }).then(function mySuccess(searchResult) { |
103 | console.log("searchResult1===>", searchResult) | 122 | console.log("searchResult1===>", searchResult) |
104 | if (searchResult.data.length == 0) { | 123 | if (searchResult.data.length == 0) { |
105 | $scope.check = false; | 124 | $scope.check = false; |
106 | } else { | 125 | } else { |
107 | $scope.check = true; | 126 | $scope.check = true; |
108 | $('#alreadyExist').css('display', 'block'); | 127 | $('#alreadyExist').css('display', 'block'); |
109 | } | 128 | } |
110 | }, function myError(error) {}); | 129 | }, function myError(error) {}); |
111 | } | 130 | } |
112 | }; | 131 | }; |
113 | 132 | ||
114 | $scope.removeNoError = function() { | 133 | $scope.removeNoError = function() { |
115 | $('#noExist').css('display', 'none'); | 134 | $('#noExist').css('display', 'none'); |
116 | }; | 135 | }; |
117 | 136 | ||
118 | $scope.numbercheck = function(number) { | 137 | $scope.numbercheck = function(number) { |
119 | $http({ | 138 | $http({ |
120 | method: 'GET', | 139 | method: 'GET', |
121 | url: BASE_URL + '/applicants?filter={"where": {"phone": {"like":"%25' + number + '%25"}}}', | 140 | url: BASE_URL + '/applicants?filter={"where": {"phone": {"like":"%25' + number + '%25"}}}', |
122 | data: $scope.data, | 141 | data: $scope.data, |
123 | headers: {} | 142 | headers: {} |
124 | }).then(function mySuccess(searchResult) { | 143 | }).then(function mySuccess(searchResult) { |
125 | console.log("searchResult===>", searchResult) | 144 | console.log("searchResult===>", searchResult) |
126 | if (searchResult.data.length == 0) { | 145 | if (searchResult.data.length == 0) { |
127 | $scope.numberCheck = false; | 146 | $scope.numberCheck = false; |
128 | 147 | ||
129 | } else { | 148 | } else { |
130 | $scope.numberCheck = true; | 149 | $scope.numberCheck = true; |
131 | $('#noExist').css('display', 'block'); | 150 | $('#noExist').css('display', 'block'); |
132 | } | 151 | } |
133 | }, function myError(error) {}); | 152 | }, function myError(error) {}); |
134 | }; | 153 | }; |
135 | 154 | ||
136 | $rootScope.tokenCall = function(val) { | 155 | $rootScope.tokenCall = function(val) { |
137 | console.log('val-------->', val); | 156 | console.log('val-------->', val); |
138 | if (val == undefined) { | 157 | if (val == undefined) { |
139 | $('#invalidEmail').css('display', 'block'); | 158 | $('#invalidEmail').css('display', 'block'); |
140 | } else { | 159 | } else { |
141 | val = val.toUpperCase(); | 160 | val = val.toUpperCase(); |
142 | $http.get(BASE_URL + '/ambassadors?filter={"where": {"referalToken": {"like":"%25' + val + '%25"}}}') | 161 | $http.get(BASE_URL + '/ambassadors?filter={"where": {"referalToken": {"like":"%25' + val + '%25"}}}') |
143 | .then(function(searchResult) { | 162 | .then(function(searchResult) { |
144 | if (searchResult.data.length == 0) { | 163 | if (searchResult.data.length == 0) { |
145 | $scope.tokencheck = false; | 164 | $scope.tokencheck = false; |
146 | $scope.discountAmount = 0; | 165 | $scope.discountAmount = 0; |
147 | } else { | 166 | } else { |
148 | $scope.tokencheck = true; | 167 | $scope.tokencheck = true; |
149 | } | 168 | } |
150 | },function(err){ | 169 | },function(err){ |
151 | console.log(err) | 170 | console.log(err) |
152 | }); | 171 | }); |
153 | 172 | ||
154 | } | 173 | } |
155 | }; | 174 | }; |
156 | 175 | ||
157 | /*THIS CODE FOR ENABLED SUBMIT BUTTON AFTER UPLOAD IMAGE*/ | 176 | /*THIS CODE FOR ENABLED SUBMIT BUTTON AFTER UPLOAD IMAGE*/ |
158 | $(document).ready( | 177 | $(document).ready( |
159 | function() { | 178 | function() { |
160 | $('input:submit').attr('disabled', true); | 179 | $('input:submit').attr('disabled', true); |
161 | $('input:file').change( | 180 | $('input:file').change( |
162 | function() { | 181 | function() { |
163 | if ($("#picture").val()) { | 182 | if ($("#picture").val()) { |
164 | $('input:submit').removeAttr('disabled'); | 183 | $('input:submit').removeAttr('disabled'); |
165 | } else { | 184 | } else { |
166 | $('input:submit').attr('disabled', true); | 185 | $('input:submit').attr('disabled', true); |
167 | } | 186 | } |
168 | }); | 187 | }); |
169 | }); | 188 | }); |
170 | 189 | ||
171 | /*****THIS IS FOR STEP ONE FORM ******/ | 190 | /*****THIS IS FOR STEP ONE FORM ******/ |
172 | $scope.next = function() { | 191 | $scope.next = function() { |
192 | // var pageTracker = _gat._getTracker("UA-12345-1"); | ||
193 | // console.log(pageTracker) | ||
194 | // pageTracker._setDomainName("none"); | ||
195 | // pageTracker._trackPageview(); | ||
196 | Analytics.trackEvent('video', 'play', 'django.mp4'); | ||
197 | |||
173 | $scope.data.status = null | 198 | $scope.data.status = null |
174 | if ($scope.data.stage == undefined || $scope.data.name == undefined || $scope.data.email == undefined || $scope.data.number == undefined || $scope.data.city == undefined) { | 199 | if ($scope.data.stage == undefined || $scope.data.name == undefined || $scope.data.email == undefined || $scope.data.number == undefined || $scope.data.city == undefined) { |
175 | var x = document.getElementById("snackbar") | 200 | var x = document.getElementById("snackbar") |
176 | x.className = "show"; | 201 | x.className = "show"; |
177 | setTimeout(function() { | 202 | setTimeout(function() { |
178 | x.className = x.className.replace("show", ""); | 203 | x.className = x.className.replace("show", ""); |
179 | }, 3000); | 204 | }, 3000); |
180 | } else if ($scope.data.stage != undefined && $scope.data.name != undefined && $scope.data.email != undefined && $scope.data.number != undefined && $scope.data.city != undefined) { | 205 | } else if ($scope.data.stage != undefined && $scope.data.name != undefined && $scope.data.email != undefined && $scope.data.number != undefined && $scope.data.city != undefined) { |
181 | $scope.infoForm = true; | 206 | $scope.infoForm = true; |
182 | console.log("sdasdasdsa"); | 207 | console.log("sdasdasdsa"); |
183 | $scope.data.stage = $scope.data.stage; | 208 | $scope.data.stage = $scope.data.stage; |
184 | $scope.detail = {}; | 209 | $scope.detail = {}; |
185 | $scope.data.phone = "+91" + $scope.data.number; | 210 | $scope.data.phone = "+91" + $scope.data.number; |
186 | $http({ | 211 | $http({ |
187 | method: 'POST', | 212 | method: 'POST', |
188 | url: BASE_URL + '/information', | 213 | url: BASE_URL + '/information', |
189 | data: $scope.data, | 214 | data: $scope.data, |
190 | headers: {} | 215 | headers: {} |
191 | }).then(function mySuccess(result) { | 216 | }).then(function mySuccess(result) { |
192 | console.log("result", result) | 217 | console.log("result", result) |
193 | $scope.detail = result; | 218 | $scope.detail = result; |
194 | data.applicantId = result.data.id; | 219 | data.applicantId = result.data.id; |
195 | $scope.userId = result.data.id; | 220 | $scope.userId = result.data.id; |
196 | 221 | ||
197 | }, function myError(error) {}); | 222 | }, function myError(error) {}); |
223 | |||
224 | // ga(function() { | ||
225 | // // Logs the "myTracker" tracker object to the console. | ||
226 | // console.log(ga.getByName('myTracker')); | ||
227 | // }); | ||
198 | } | 228 | } |
199 | 229 | ||
200 | } | 230 | } |
201 | 231 | ||
202 | $scope.calculateAmount = function(){ | 232 | $scope.calculateAmount = function(){ |
203 | 233 | ||
204 | if ($scope.data.stage == undefined || $scope.data.name == undefined || $scope.data.email == undefined || $scope.data.number == undefined || $scope.data.city == undefined) { | 234 | if ($scope.data.stage == undefined || $scope.data.name == undefined || $scope.data.email == undefined || $scope.data.number == undefined || $scope.data.city == undefined) { |
205 | var x = document.getElementById("snackbar") | 235 | var x = document.getElementById("snackbar") |
206 | x.className = "show"; | 236 | x.className = "show"; |
207 | setTimeout(function() { | 237 | setTimeout(function() { |
208 | x.className = x.className.replace("show", ""); | 238 | x.className = x.className.replace("show", ""); |
209 | }, 3000); | 239 | }, 3000); |
210 | } else if ($scope.data.stage != undefined && $scope.data.name != undefined && $scope.data.email != undefined && $scope.data.number != undefined && $scope.data.city != undefined) { | 240 | } else if ($scope.data.stage != undefined && $scope.data.name != undefined && $scope.data.email != undefined && $scope.data.number != undefined && $scope.data.city != undefined) { |
211 | $scope.infoForm = true; | 241 | $scope.infoForm = true; |
212 | console.log("sdasdasdsa"); | 242 | console.log("sdasdasdsa"); |
213 | $scope.data.stage = $scope.data.stage; | 243 | $scope.data.stage = $scope.data.stage; |
214 | $scope.detail = {}; | 244 | $scope.detail = {}; |
215 | $scope.data.phone = "+91" + $scope.data.number; | 245 | $scope.data.phone = "+91" + $scope.data.number; |
216 | $http({ | 246 | $http({ |
217 | method: 'POST', | 247 | method: 'POST', |
218 | url: BASE_URL + '/applicants', | 248 | url: BASE_URL + '/applicants', |
219 | data: $scope.data, | 249 | data: $scope.data, |
220 | headers: {} | 250 | headers: {} |
221 | }).then(function mySuccess(result) { | 251 | }).then(function mySuccess(result) { |
222 | console.log("result", result) | 252 | console.log("result", result) |
223 | $scope.detail = result; | 253 | $scope.detail = result; |
224 | data.applicantId = result.data.id; | 254 | data.applicantId = result.data.id; |
225 | $scope.userId = result.data.id; | 255 | $scope.userId = result.data.id; |
226 | 256 | ||
227 | }, function myError(error) {}); | 257 | }, function myError(error) {}); |
228 | } | 258 | } |
229 | 259 | ||
230 | if ($scope.data.stage == "Idea") { | 260 | if ($scope.data.stage == "Idea") { |
231 | console.log("$scope.data", $scope.data) | 261 | console.log("$scope.data", $scope.data) |
232 | $scope.ticketAmnt = 500; | 262 | $scope.ticketAmnt = 500; |
233 | } | 263 | } |
234 | 264 | ||
235 | if ($scope.data.stage == "Product") { | 265 | if ($scope.data.stage == "Product") { |
236 | $scope.ticketAmnt = 1000; | 266 | $scope.ticketAmnt = 1000; |
237 | } | 267 | } |
238 | 268 | ||
239 | if ($scope.data.stage == "Growth") { | 269 | if ($scope.data.stage == "Growth") { |
240 | $scope.ticketAmnt = 2000; | 270 | $scope.ticketAmnt = 2000; |
241 | } | 271 | } |
242 | 272 | ||
243 | if($scope.tokencheck == true){ | 273 | if($scope.tokencheck == true){ |
244 | var amount = $scope.ticketAmnt | 274 | var amount = $scope.ticketAmnt |
245 | $scope.discountAmount = (amount * 10)/100 | 275 | $scope.discountAmount = (amount * 10)/100 |
246 | console.log("finalAmount====>",$scope.payingAmnt) | 276 | console.log("finalAmount====>",$scope.payingAmnt) |
247 | } | 277 | } |
248 | 278 | ||
249 | var taxAmount = $scope.ticketAmnt - $scope.discountAmount | 279 | var taxAmount = $scope.ticketAmnt - $scope.discountAmount |
250 | $scope.taxTotal = (taxAmount * 18)/100 | 280 | $scope.taxTotal = (taxAmount * 18)/100 |
251 | $scope.payingAmnt = taxAmount + $scope.taxTotal | 281 | $scope.payingAmnt = taxAmount + $scope.taxTotal |
252 | console.log("taxincludedamount----", $scope.payingAmnt) | 282 | console.log("taxincludedamount----", $scope.payingAmnt) |
253 | } | 283 | } |
254 | 284 | ||
255 | /*****THIS IS FOR STEP THREE FORM ******/ | 285 | /*****THIS IS FOR STEP THREE FORM ******/ |
256 | $scope.create = function() { | 286 | $scope.create = function() { |
257 | // if ($scope.data.name == undefined || $scope.data.email == undefined || $scope.data.number == undefined) { | 287 | // if ($scope.data.name == undefined || $scope.data.email == undefined || $scope.data.number == undefined) { |
258 | // var x = document.getElementById("snackbar") | 288 | // var x = document.getElementById("snackbar") |
259 | // x.className = "show"; | 289 | // x.className = "show"; |
260 | // setTimeout(function() { | 290 | // setTimeout(function() { |
261 | // x.className = x.className.replace("show", ""); | 291 | // x.className = x.className.replace("show", ""); |
262 | // }, 3000); | 292 | // }, 3000); |
263 | // } else if ($scope.data.name != undefined && $scope.data.email != undefined && $scope.data.number != undefined) { | 293 | // } else if ($scope.data.name != undefined && $scope.data.email != undefined && $scope.data.number != undefined) { |
264 | // $scope.infoForm = true; | 294 | // $scope.infoForm = true; |
265 | // console.log("sdasdasdsa"); | 295 | // console.log("sdasdasdsa"); |
266 | // $scope.data.stage = $scope.data.stage; | 296 | // $scope.data.stage = $scope.data.stage; |
267 | // $scope.detail = {}; | 297 | // $scope.detail = {}; |
268 | // $scope.data.phone = "+91" + $scope.data.number; | 298 | // $scope.data.phone = "+91" + $scope.data.number; |
269 | // $http({ | 299 | // $http({ |
270 | // method: 'POST', | 300 | // method: 'POST', |
271 | // url: BASE_URL + '/applicants', | 301 | // url: BASE_URL + '/applicants', |
272 | // data: $scope.data, | 302 | // data: $scope.data, |
273 | // headers: {} | 303 | // headers: {} |
274 | // }).then(function mySuccess(result) { | 304 | // }).then(function mySuccess(result) { |
275 | 305 | ||
276 | // console.log("=====result=====", result) | 306 | // console.log("=====result=====", result) |
277 | // $scope.detail = result; | 307 | // $scope.detail = result; |
278 | // data.applicantId = result.data.id; | 308 | // data.applicantId = result.data.id; |
279 | // $scope.userId = result.data.id; | 309 | // $scope.userId = result.data.id; |
280 | // console.log("=====data=====", data) | 310 | // console.log("=====data=====", data) |
281 | data.amount = $scope.payingAmnt; | 311 | data.amount = $scope.payingAmnt; |
282 | if ($scope.detail != null) { | 312 | if ($scope.detail != null) { |
283 | $http({ | 313 | $http({ |
284 | method: 'POST', | 314 | method: 'POST', |
285 | url: BASE_URL + '/payments', | 315 | url: BASE_URL + '/payments', |
286 | data: data, | 316 | data: data, |
287 | headers: {} | 317 | headers: {} |
288 | }).then(function mySuccess(paymentResult) { | 318 | }).then(function mySuccess(paymentResult) { |
289 | console.log("paymentResult",paymentResult) | 319 | console.log("paymentResult",paymentResult) |
290 | $scope.paymentResult = paymentResult; | 320 | $scope.paymentResult = paymentResult; |
291 | }, function myError(error) {}); | 321 | }, function myError(error) {}); |
292 | } | 322 | } |
293 | var i = 0; | 323 | var i = 0; |
294 | $scope.payingAmnt = $scope.payingAmnt * 100; | 324 | $scope.payingAmnt = $scope.payingAmnt * 100; |
295 | var options = { | 325 | var options = { |
296 | "key": "rzp_live_mhSE1uOBlXvFyJ", | 326 | "key": "rzp_live_mhSE1uOBlXvFyJ", |
297 | "amount": $scope.payingAmnt, | 327 | "amount": $scope.payingAmnt, |
298 | 328 | ||
299 | "name": "Startup Jalsa", | 329 | "name": "Startup Jalsa", |
300 | "description": "amount", | 330 | "description": "amount", |
301 | "currency": "INR", | 331 | "currency": "INR", |
302 | "status": "done", | 332 | "status": "done", |
303 | 333 | ||
304 | "theme": { | 334 | "theme": { |
305 | "color": "#2196f3 ", | 335 | "color": "#2196f3 ", |
306 | "image_padding": "NO" | 336 | "image_padding": "NO" |
307 | }, | 337 | }, |
308 | "modal": { | 338 | "modal": { |
309 | "ondismiss": function() {} | 339 | "ondismiss": function() {} |
310 | }, | 340 | }, |
311 | "handler": function(response) { | 341 | "handler": function(response) { |
312 | createPayment(response); | 342 | createPayment(response); |
313 | } | 343 | } |
314 | }; | 344 | }; |
315 | var rzp1 = new Razorpay(options); | 345 | var rzp1 = new Razorpay(options); |
316 | rzp1.open(); | 346 | rzp1.open(); |
317 | $scope.paymentResponse = {}; | 347 | $scope.paymentResponse = {}; |
318 | 348 | ||
319 | function createPayment(response) { | 349 | function createPayment(response) { |
320 | console.log("response====from===razorpay",response) | 350 | console.log("response====from===razorpay",response) |
321 | $route.reload(); | 351 | $route.reload(); |
322 | $scope.paymentResponse.razorPaymentId = response.razorpay_payment_id; | 352 | $scope.paymentResponse.razorPaymentId = response.razorpay_payment_id; |
323 | $scope.paymentResponse.razorOrderId = $scope.paymentResult.data.razorOrderId; | 353 | $scope.paymentResponse.razorOrderId = $scope.paymentResult.data.razorOrderId; |
324 | $scope.paymentResponse.amount = data.amount; | 354 | $scope.paymentResponse.amount = data.amount; |
325 | $scope.paymentResponse.currency = "INR"; | 355 | $scope.paymentResponse.currency = "INR"; |
326 | $scope.paymentResponse.status = $scope.paymentResult.data.status; | 356 | $scope.paymentResponse.status = $scope.paymentResult.data.status; |
327 | $http({ | 357 | $http({ |
328 | method: 'PUT', | 358 | method: 'PUT', |
329 | url: BASE_URL + '/payments/' + $scope.paymentResult.data.id, | 359 | url: BASE_URL + '/payments/' + $scope.paymentResult.data.id, |
330 | data: $scope.paymentResponse, | 360 | data: $scope.paymentResponse, |
331 | headers: {} | 361 | headers: {} |
332 | }).then(function mySuccess(searchResult) { | 362 | }).then(function mySuccess(searchResult) { |
333 | console.log("searchResult", searchResult) | 363 | console.log("searchResult", searchResult) |
334 | $location.path("/confirmation") | 364 | $location.path("/confirmation") |
335 | //$scope.showToastr() | 365 | //$scope.showToastr() |
336 | //toaster.success("Registration done successfully"); | 366 | //toaster.success("Registration done successfully"); |
337 | 367 | ||
338 | }, function myError(error) {}); | 368 | }, function myError(error) {}); |
339 | } | 369 | } |
340 | 370 | ||
341 | //}, function myError(error) {}); | 371 | //}, function myError(error) {}); |
342 | //} | 372 | //} |
343 | 373 | ||
344 | } | 374 | } |
345 | 375 | ||
346 | // $scope.showToastr = function() { | 376 | // $scope.showToastr = function() { |
347 | // console.log("called toast") | 377 | // console.log("called toast") |
348 | // var x = document.getElementById("snacsskbar") | 378 | // var x = document.getElementById("snacsskbar") |
349 | // x.className = "show"; | 379 | // x.className = "show"; |
350 | // setTimeout(function() { | 380 | // setTimeout(function() { |
351 | // x.className = x.className.replace("show", ""); | 381 | // x.className = x.className.replace("show", ""); |
352 | // }, 3000); | 382 | // }, 3000); |
353 | // } | 383 | // } |
354 | 384 | ||
355 | /*kk***This code for change data when click to chooses stages***/ | 385 | /*kk***This code for change data when click to chooses stages***/ |
356 | $scope.proto = true; | 386 | $scope.proto = true; |
357 | $scope.businessmodel = true; | 387 | $scope.businessmodel = true; |
358 | $scope.Idea = true; | 388 | $scope.Idea = true; |
359 | $scope.current = true; | 389 | $scope.current = true; |
360 | 390 | ||
361 | $scope.stage = function(stage) { | 391 | $scope.stage = function(stage) { |
362 | $scope.stagekeyPress(); | 392 | $scope.stagekeyPress(); |
363 | console.log("stage--2",stage) | 393 | console.log("stage--2",stage) |
364 | if (stage == 'Idea') { | 394 | if (stage == 'Idea') { |
365 | $scope.current = 10; | 395 | $scope.current = 10; |
366 | $scope.proto = true; | 396 | $scope.proto = true; |
367 | $scope.prototyp = false; | 397 | $scope.prototyp = false; |
368 | $scope.market = false; | 398 | $scope.market = false; |
369 | $scope.risks = false; | 399 | $scope.risks = false; |
370 | $scope.team = false; | 400 | $scope.team = false; |
371 | $scope.pitch = false; | 401 | $scope.pitch = false; |
372 | $scope.financials = false; | 402 | $scope.financials = false; |
373 | $scope.businessmodel = true; | 403 | $scope.businessmodel = true; |
374 | $scope.data.stage = stage; | 404 | $scope.data.stage = stage; |
375 | // for right content | 405 | // for right content |
376 | $scope.Idea = true; | 406 | $scope.Idea = true; |
377 | $scope.Product = false; | 407 | $scope.Product = false; |
378 | $scope.Growth = false; | 408 | $scope.Growth = false; |
379 | } else if (stage == 'Product') { | 409 | } else if (stage == 'Product') { |
380 | $scope.current = 10; | 410 | $scope.current = 10; |
381 | $scope.proto = true; | 411 | $scope.proto = true; |
382 | $scope.prototyp = true; | 412 | $scope.prototyp = true; |
383 | $scope.market = true; | 413 | $scope.market = true; |
384 | $scope.risks = true; | 414 | $scope.risks = true; |
385 | $scope.team = true; | 415 | $scope.team = true; |
386 | $scope.pitch = true; | 416 | $scope.pitch = true; |
387 | $scope.financials = true; | 417 | $scope.financials = true; |
388 | $scope.businessmodel = false; | 418 | $scope.businessmodel = false; |
389 | $scope.data.stage = stage; | 419 | $scope.data.stage = stage; |
390 | // for right content | 420 | // for right content |
391 | $scope.Idea = false; | 421 | $scope.Idea = false; |
392 | $scope.Product = true; | 422 | $scope.Product = true; |
393 | $scope.Growth = false; | 423 | $scope.Growth = false; |
394 | } else if (stage == 'Growth') { | 424 | } else if (stage == 'Growth') { |
395 | $scope.current = 10; | 425 | $scope.current = 10; |
396 | $scope.proto = false; | 426 | $scope.proto = false; |
397 | $scope.prototyp = true; | 427 | $scope.prototyp = true; |
398 | $scope.market = true; | 428 | $scope.market = true; |
399 | $scope.risks = true; | 429 | $scope.risks = true; |
400 | $scope.team = true; | 430 | $scope.team = true; |
401 | $scope.pitch = true; | 431 | $scope.pitch = true; |
402 | $scope.financials = true; | 432 | $scope.financials = true; |
403 | $scope.businessmodel = false; | 433 | $scope.businessmodel = false; |
404 | // for right content | 434 | // for right content |
405 | $scope.Idea = false; | 435 | $scope.Idea = false; |
406 | $scope.Product = false; | 436 | $scope.Product = false; |
407 | $scope.Growth = true; | 437 | $scope.Growth = true; |
408 | $scope.data.stage = stage; | 438 | $scope.data.stage = stage; |
409 | } | 439 | } |
410 | } | 440 | } |
411 | $scope.enterbusiness = function(business) { | 441 | $scope.enterbusiness = function(business) { |
412 | console.log("business", business); | 442 | console.log("business", business); |
413 | if (name == undefined) { | 443 | if (name == undefined) { |
414 | $scope.current = false; | 444 | $scope.current = false; |
415 | 445 | ||
416 | } else if (name != undefined) { | 446 | } else if (name != undefined) { |
417 | $scope.current = true; | 447 | $scope.current = true; |
418 | } | 448 | } |
419 | } | 449 | } |
420 | /*******FOR FILL THE DATA AND SHOWS ICON GREEN*/ | 450 | /*******FOR FILL THE DATA AND SHOWS ICON GREEN*/ |
421 | $scope.stagekeyPress = function() { | 451 | $scope.stagekeyPress = function() { |
422 | $('.icon-circle-a').css('background-color', 'rgb(66, 181, 73)'); | 452 | $('.icon-circle-a').css('background-color', 'rgb(66, 181, 73)'); |
423 | } | 453 | } |
424 | $scope.sectorkeyPress = function() { | 454 | $scope.sectorkeyPress = function() { |
425 | $('.icon-circle-b').css('background-color', 'rgb(66, 181, 73)'); | 455 | $('.icon-circle-b').css('background-color', 'rgb(66, 181, 73)'); |
426 | } | 456 | } |
427 | 457 | ||
428 | $scope.studentkeyPress = function() { | 458 | $scope.studentkeyPress = function() { |
429 | $('.icon-circle-ab').css('background-color', 'rgb(66, 181, 73)'); | 459 | $('.icon-circle-ab').css('background-color', 'rgb(66, 181, 73)'); |
430 | } | 460 | } |
431 | 461 | ||
432 | $scope.namekeyPress = function(name) { | 462 | $scope.namekeyPress = function(name) { |
433 | console.log("name", name); | 463 | console.log("name", name); |
434 | if (name == undefined) { | 464 | if (name == undefined) { |
435 | $('.icon-circle-c').css('background-color', 'rgb(102, 102, 102)'); | 465 | $('.icon-circle-c').css('background-color', 'rgb(102, 102, 102)'); |
436 | } else { | 466 | } else { |
437 | $('.icon-circle-c').css('background-color', 'rgb(66, 181, 73)'); | 467 | $('.icon-circle-c').css('background-color', 'rgb(66, 181, 73)'); |
438 | } | 468 | } |
439 | } | 469 | } |
440 | $scope.emailkeyPress = function(email) { | 470 | $scope.emailkeyPress = function(email) { |
441 | console.log("email", email); | 471 | console.log("email", email); |
442 | if (email == undefined) { | 472 | if (email == undefined) { |
443 | $('.icon-circle-d').css('background-color', 'rgb(102, 102, 102)'); | 473 | $('.icon-circle-d').css('background-color', 'rgb(102, 102, 102)'); |
444 | } else { | 474 | } else { |
445 | $('.icon-circle-d').css('background-color', 'rgb(66, 181, 73)'); | 475 | $('.icon-circle-d').css('background-color', 'rgb(66, 181, 73)'); |
446 | } | 476 | } |
447 | } | 477 | } |
448 | 478 | ||
449 | 479 | ||
450 | $scope.phonekeyPress = function(number) { | 480 | $scope.phonekeyPress = function(number) { |
451 | console.log("number", number); | 481 | console.log("number", number); |
452 | if (number == undefined) { | 482 | if (number == undefined) { |
453 | $('.icon-circle-e').css('background-color', 'rgb(102, 102, 102)'); | 483 | $('.icon-circle-e').css('background-color', 'rgb(102, 102, 102)'); |
454 | } else { | 484 | } else { |
455 | $('.icon-circle-e').css('background-color', 'rgb(66, 181, 73)'); | 485 | $('.icon-circle-e').css('background-color', 'rgb(66, 181, 73)'); |
456 | } | 486 | } |
457 | } | 487 | } |
458 | 488 | ||
459 | $scope.citykeyPress = function(city) { | 489 | $scope.citykeyPress = function(city) { |
460 | console.log("city", city); | 490 | console.log("city", city); |
461 | if (city == undefined) { | 491 | if (city == undefined) { |
462 | $('.icon-circle-f').css('background-color', 'rgb(102, 102, 102)'); | 492 | $('.icon-circle-f').css('background-color', 'rgb(102, 102, 102)'); |
463 | } else { | 493 | } else { |
464 | $('.icon-circle-f').css('background-color', 'rgb(66, 181, 73)'); | 494 | $('.icon-circle-f').css('background-color', 'rgb(66, 181, 73)'); |
465 | } | 495 | } |
466 | } | 496 | } |
467 | 497 | ||
468 | $scope.questionkeyPress = function(q) { | 498 | $scope.questionkeyPress = function(q) { |
469 | if (q == undefined) { | 499 | if (q == undefined) { |
470 | $('.icon-circle-x').css('background-color', 'rgb(102, 102, 102)'); | 500 | $('.icon-circle-x').css('background-color', 'rgb(102, 102, 102)'); |
471 | } else { | 501 | } else { |
472 | $('.icon-circle-x').css('background-color', 'rgb(66, 181, 73)'); | 502 | $('.icon-circle-x').css('background-color', 'rgb(66, 181, 73)'); |
473 | } | 503 | } |
474 | } | 504 | } |
475 | 505 | ||
476 | $scope.technologykeyPress = function(technology) { | 506 | $scope.technologykeyPress = function(technology) { |
477 | if (technology == undefined) { | 507 | if (technology == undefined) { |
478 | $('.icon-circle-h').css('background-color', 'rgb(102, 102, 102)'); | 508 | $('.icon-circle-h').css('background-color', 'rgb(102, 102, 102)'); |
479 | } else { | 509 | } else { |
480 | $('.icon-circle-h').css('background-color', 'rgb(66, 181, 73)'); | 510 | $('.icon-circle-h').css('background-color', 'rgb(66, 181, 73)'); |
481 | } | 511 | } |
482 | } | 512 | } |
483 | $scope.problemkeyPress = function(problem) { | 513 | $scope.problemkeyPress = function(problem) { |
484 | if (problem == undefined) { | 514 | if (problem == undefined) { |
485 | $('.icon-circle-i').css('background-color', 'rgb(102, 102, 102)'); | 515 | $('.icon-circle-i').css('background-color', 'rgb(102, 102, 102)'); |
486 | } else { | 516 | } else { |
487 | $('.icon-circle-i').css('background-color', 'rgb(66, 181, 73)'); | 517 | $('.icon-circle-i').css('background-color', 'rgb(66, 181, 73)'); |
488 | } | 518 | } |
489 | } | 519 | } |
490 | $scope.solutionkeyPress = function(solution) { | 520 | $scope.solutionkeyPress = function(solution) { |
491 | if (solution == undefined) { | 521 | if (solution == undefined) { |
492 | $('.icon-circle-j').css('background-color', 'rgb(102, 102, 102)'); | 522 | $('.icon-circle-j').css('background-color', 'rgb(102, 102, 102)'); |
493 | } else { | 523 | } else { |
494 | $('.icon-circle-j').css('background-color', 'rgb(66, 181, 73)'); | 524 | $('.icon-circle-j').css('background-color', 'rgb(66, 181, 73)'); |
495 | } | 525 | } |
496 | } | 526 | } |
497 | $scope.businesskeyPress = function(business) { | 527 | $scope.businesskeyPress = function(business) { |
498 | $('.icon-circle-p').css('background-color', 'rgb(66, 181, 73)'); | 528 | $('.icon-circle-p').css('background-color', 'rgb(66, 181, 73)'); |
499 | } | 529 | } |
500 | 530 | ||
501 | $scope.prototypekeyPress = function(prototype) { | 531 | $scope.prototypekeyPress = function(prototype) { |
502 | if (prototype == undefined) { | 532 | if (prototype == undefined) { |
503 | $('.icon-circle-k').css('background-color', 'rgb(102, 102, 102)'); | 533 | $('.icon-circle-k').css('background-color', 'rgb(102, 102, 102)'); |
504 | } else { | 534 | } else { |
505 | $('.icon-circle-k').css('background-color', 'rgb(66, 181, 73)'); | 535 | $('.icon-circle-k').css('background-color', 'rgb(66, 181, 73)'); |
506 | } | 536 | } |
507 | } | 537 | } |
508 | 538 | ||
509 | $scope.marketkeyPress = function(market) { | 539 | $scope.marketkeyPress = function(market) { |
510 | if (market == undefined) { | 540 | if (market == undefined) { |
511 | $('.icon-circle-l').css('background-color', 'rgb(102, 102, 102)'); | 541 | $('.icon-circle-l').css('background-color', 'rgb(102, 102, 102)'); |
512 | } else { | 542 | } else { |
513 | $('.icon-circle-l').css('background-color', 'rgb(66, 181, 73)'); | 543 | $('.icon-circle-l').css('background-color', 'rgb(66, 181, 73)'); |
514 | } | 544 | } |
515 | } | 545 | } |
516 | 546 | ||
517 | $scope.riskkeyPress = function(risk) { | 547 | $scope.riskkeyPress = function(risk) { |
518 | if (risk == undefined) { | 548 | if (risk == undefined) { |
519 | $('.icon-circle-m').css('background-color', 'rgb(102, 102, 102)'); | 549 | $('.icon-circle-m').css('background-color', 'rgb(102, 102, 102)'); |
520 | } else { | 550 | } else { |
521 | $('.icon-circle-m').css('background-color', 'rgb(66, 181, 73)'); | 551 | $('.icon-circle-m').css('background-color', 'rgb(66, 181, 73)'); |
522 | } | 552 | } |
523 | } | 553 | } |
524 | 554 | ||
525 | $scope.teamkeyPress = function(team) { | 555 | $scope.teamkeyPress = function(team) { |
526 | if (team == undefined) { | 556 | if (team == undefined) { |
527 | $('.icon-circle-n').css('background-color', 'rgb(102, 102, 102)'); | 557 | $('.icon-circle-n').css('background-color', 'rgb(102, 102, 102)'); |
528 | } else { | 558 | } else { |
529 | $('.icon-circle-n').css('background-color', 'rgb(66, 181, 73)'); | 559 | $('.icon-circle-n').css('background-color', 'rgb(66, 181, 73)'); |
530 | } | 560 | } |
531 | } | 561 | } |
532 | 562 | ||
533 | $scope.pitchkeyPress = function(pitch) { | 563 | $scope.pitchkeyPress = function(pitch) { |
534 | if (pitch == undefined) { | 564 | if (pitch == undefined) { |
535 | $('.icon-circle-z').css('background-color', 'rgb(102, 102, 102)'); | 565 | $('.icon-circle-z').css('background-color', 'rgb(102, 102, 102)'); |
536 | } else { | 566 | } else { |
537 | $('.icon-circle-z').css('background-color', 'rgb(66, 181, 73)'); | 567 | $('.icon-circle-z').css('background-color', 'rgb(66, 181, 73)'); |
538 | } | 568 | } |
539 | } | 569 | } |
540 | 570 | ||
541 | $scope.financialskeyPress = function(financial) { | 571 | $scope.financialskeyPress = function(financial) { |
542 | console.log("financial", financial); | 572 | console.log("financial", financial); |
543 | if (financial == undefined) { | 573 | if (financial == undefined) { |
544 | $('.icon-circle-q').css('background-color', 'rgb(102, 102, 102)'); | 574 | $('.icon-circle-q').css('background-color', 'rgb(102, 102, 102)'); |
545 | } else { | 575 | } else { |
546 | $('.icon-circle-q').css('background-color', 'rgb(66, 181, 73)'); | 576 | $('.icon-circle-q').css('background-color', 'rgb(66, 181, 73)'); |
547 | } | 577 | } |
548 | } | 578 | } |
549 | $scope.changeReferalIconColor = function(referalToken){ | 579 | $scope.changeReferalIconColor = function(referalToken){ |
550 | if (referalToken == undefined || referalToken == '') { | 580 | if (referalToken == undefined || referalToken == '') { |
551 | $('.referel-icon').css('background-color', 'rgb(102, 102, 102)'); | 581 | $('.referel-icon').css('background-color', 'rgb(102, 102, 102)'); |
552 | }else { | 582 | }else { |
553 | $('.referel-icon').css('background-color', 'rgb(66, 181, 73)'); | 583 | $('.referel-icon').css('background-color', 'rgb(66, 181, 73)'); |
554 | } | 584 | } |
555 | } | 585 | } |
556 | 586 | ||
557 | }); | 587 | }); |
558 | 588 | ||
559 | scotchApp.controller('verifyController', function($scope, $http, $location, $route,BASE_URL) { | 589 | scotchApp.controller('verifyController', function($scope, $http, $location, $route,BASE_URL) { |
560 | $scope.pendingPaymentId = $route.current.params.id | 590 | $scope.pendingPaymentId = $route.current.params.id |
561 | $http({ | 591 | $http({ |
562 | method: "GET", | 592 | method: "GET", |
563 | url: BASE_URL + '/applicants/' + $scope.pendingPaymentId, | 593 | url: BASE_URL + '/applicants/' + $scope.pendingPaymentId, |
564 | }).then(function mySuccess(response) { | 594 | }).then(function mySuccess(response) { |
565 | $scope.data = response.data; | 595 | $scope.data = response.data; |
566 | console.log("response-1", response); | 596 | console.log("response-1", response); |
567 | $scope.pendingPaymentId = $route.current.params.id; | 597 | $scope.pendingPaymentId = $route.current.params.id; |
568 | 598 | ||
569 | $http({ | 599 | $http({ |
570 | method: "GET", | 600 | method: "GET", |
571 | url: BASE_URL + '/payments?filter={"where":{"applicantId":' + $scope.pendingPaymentId + '}}', | 601 | url: BASE_URL + '/payments?filter={"where":{"applicantId":' + $scope.pendingPaymentId + '}}', |
572 | }).then(function mySuccess(response) { | 602 | }).then(function mySuccess(response) { |
573 | $scope.paymentRecord = response.data; | 603 | $scope.paymentRecord = response.data; |
574 | }, function myError(response) { | 604 | }, function myError(response) { |
575 | }); | 605 | }); |
576 | }, function myError(response) { | 606 | }, function myError(response) { |
577 | $scope.myWelcome = response.statusText; | 607 | $scope.myWelcome = response.statusText; |
578 | }); | 608 | }); |
579 | 609 | ||
580 | $scope.checkView = false; | 610 | $scope.checkView = false; |
581 | $scope.verifyView = false; | 611 | $scope.verifyView = false; |
582 | 612 | ||
583 | $scope.pendingPaymentId = ''; | 613 | $scope.pendingPaymentId = ''; |
584 | 614 | ||
585 | $scope.update = function() { | 615 | $scope.update = function() { |
586 | 616 | ||
587 | $http({ | 617 | $http({ |
588 | method: 'GET', | 618 | method: 'GET', |
589 | url: BASE_URL + '/payments?filter={"where":{"applicantId": ' + $scope.pendingPaymentId + '}}', | 619 | url: BASE_URL + '/payments?filter={"where":{"applicantId": ' + $scope.pendingPaymentId + '}}', |
590 | headers: {} | 620 | headers: {} |
591 | }).then(function mySuccess(searchResult) { | 621 | }).then(function mySuccess(searchResult) { |
592 | if (searchResult.data[0].status == "created") { | 622 | if (searchResult.data[0].status == "created") { |
593 | $scope.checkView = true; | 623 | $scope.checkView = true; |
594 | $scope.verifyView = false; | 624 | $scope.verifyView = false; |
595 | $scope.amount = searchResult.data[0].amount; | 625 | $scope.amount = searchResult.data[0].amount; |
596 | $scope.searchResult = searchResult.data[0]; | 626 | $scope.searchResult = searchResult.data[0]; |
597 | console.log('====searchResult===', searchResult); | 627 | console.log('====searchResult===', searchResult); |
598 | console.log("searchResult=====",searchResult.data[0].razorOrderId) | 628 | console.log("searchResult=====",searchResult.data[0].razorOrderId) |
599 | var i = 0; | 629 | var i = 0; |
600 | $scope.amount = $scope.amount * 100; | 630 | $scope.amount = $scope.amount * 100; |
601 | var options = { | 631 | var options = { |
602 | "key": "rzp_live_mhSE1uOBlXvFyJ", | 632 | "key": "rzp_live_mhSE1uOBlXvFyJ", |
603 | //"key" : "rzp_test_YwHsVFiDIQ2WUQ", | 633 | //"key" : "rzp_test_YwHsVFiDIQ2WUQ", |
604 | "amount": $scope.amount, | 634 | "amount": $scope.amount, |
605 | 635 | ||
606 | "name": "Startup Jalsa", | 636 | "name": "Startup Jalsa", |
607 | "description": "amount", | 637 | "description": "amount", |
608 | "currency": "INR", | 638 | "currency": "INR", |
609 | "status": "done", | 639 | "status": "done", |
610 | 640 | ||
611 | "theme": { | 641 | "theme": { |
612 | "color": "#2196f3 ", | 642 | "color": "#2196f3 ", |
613 | "image_padding": "NO" | 643 | "image_padding": "NO" |
614 | }, | 644 | }, |
615 | "modal": { | 645 | "modal": { |
616 | "ondismiss": function() {} | 646 | "ondismiss": function() {} |
617 | }, | 647 | }, |
618 | "handler": function(response) { | 648 | "handler": function(response) { |
619 | createPayment(response); | 649 | createPayment(response); |
620 | } | 650 | } |
621 | }; | 651 | }; |
622 | var rzp1 = new Razorpay(options); | 652 | var rzp1 = new Razorpay(options); |
623 | rzp1.open(); | 653 | rzp1.open(); |
624 | $scope.paymentResponse = {}; | 654 | $scope.paymentResponse = {}; |
625 | function createPayment(response) { | 655 | function createPayment(response) { |
626 | $scope.amount = $scope.amount / 100; | 656 | $scope.amount = $scope.amount / 100; |
627 | console.log("response======retepaymen",response); | 657 | console.log("response======retepaymen",response); |
628 | $scope.paymentResponse.razorPaymentId = response.razorpay_payment_id; | 658 | $scope.paymentResponse.razorPaymentId = response.razorpay_payment_id; |
629 | $scope.paymentResponse.razorOrderId = $scope.searchResult.razorOrderId; | 659 | $scope.paymentResponse.razorOrderId = $scope.searchResult.razorOrderId; |
630 | $scope.paymentResponse.amount = $scope.amount; | 660 | $scope.paymentResponse.amount = $scope.amount; |
631 | $scope.paymentResponse.currency = $scope.searchResult.currency; | 661 | $scope.paymentResponse.currency = $scope.searchResult.currency; |
632 | $scope.paymentResponse.status = $scope.searchResult.status; | 662 | $scope.paymentResponse.status = $scope.searchResult.status; |
633 | $scope.paymentResponse.applicantId = $scope.searchResult.applicantId; | 663 | $scope.paymentResponse.applicantId = $scope.searchResult.applicantId; |
634 | console.log("$scope.paymentResponse", $scope.paymentResponse) | 664 | console.log("$scope.paymentResponse", $scope.paymentResponse) |
635 | $http({ | 665 | $http({ |
636 | method: 'PUT', | 666 | method: 'PUT', |
637 | url: BASE_URL + '/payments/' + $scope.searchResult.id, | 667 | url: BASE_URL + '/payments/' + $scope.searchResult.id, |
638 | data: $scope.paymentResponse, | 668 | data: $scope.paymentResponse, |
639 | headers: {} | 669 | headers: {} |
640 | }).then(function mySuccess(searchResult) { | 670 | }).then(function mySuccess(searchResult) { |
641 | console.log("finalsearchResult",searchResult) | 671 | console.log("finalsearchResult",searchResult) |
642 | $location.path("/confirmation") | 672 | $location.path("/confirmation") |
643 | }, function myError(error) { | 673 | }, function myError(error) { |
644 | 674 | ||
645 | }); | 675 | }); |
646 | } | 676 | } |
647 | } else { | 677 | } else { |
648 | 678 | ||
649 | } | 679 | } |
650 | 680 | ||
651 | }, function myError(error) {}); | 681 | }, function myError(error) {}); |
652 | } | 682 | } |
653 | }); | 683 | }); |
654 | 684 | ||
655 | scotchApp.controller('ambassadorController', function($scope, $http, $location, $route,BASE_URL) { | 685 | scotchApp.controller('ambassadorController', function($scope, $http, $location, $route,BASE_URL) { |
656 | $scope.data = {}; | 686 | $scope.data = {}; |
657 | $scope.check = false; | 687 | $scope.check = false; |
658 | $scope.numberCheck = false; | 688 | $scope.numberCheck = false; |
659 | 689 | ||
660 | /*open videos in modal*/ | 690 | /*open videos in modal*/ |
661 | $scope.openyoutube16 = function(){ | 691 | $scope.openyoutube16 = function(){ |
662 | $('#videoModel').modal('show'); | 692 | $('#videoModel').modal('show'); |
663 | } | 693 | } |
664 | 694 | ||
665 | $scope.openyoutube17 = function(){ | 695 | $scope.openyoutube17 = function(){ |
666 | $('#videoModels').modal('show'); | 696 | $('#videoModels').modal('show'); |
667 | } | 697 | } |
668 | 698 | ||
669 | $scope.closeModal = function(){ | 699 | $scope.closeModal = function(){ |
670 | var url = $('#youtubePlayer').attr('src'); | 700 | var url = $('#youtubePlayer').attr('src'); |
671 | $('#youtubePlayer').attr('src', ''); | 701 | $('#youtubePlayer').attr('src', ''); |
672 | $('#youtubePlayer').attr('src', url); | 702 | $('#youtubePlayer').attr('src', url); |
673 | } | 703 | } |
674 | /*open videos ends here*/ | 704 | /*open videos ends here*/ |
675 | 705 | ||
676 | $scope.removeError = function() { | 706 | $scope.removeError = function() { |
677 | $('#invalidEmail').css('display', 'none'); | 707 | $('#invalidEmail').css('display', 'none'); |
678 | $('#alreadyExist').css('display', 'none'); | 708 | $('#alreadyExist').css('display', 'none'); |
679 | }; | 709 | }; |
680 | 710 | ||
681 | $scope.emailcheck = function(val) { | 711 | $scope.emailcheck = function(val) { |
682 | if (val == undefined) { | 712 | if (val == undefined) { |
683 | $('#invalidEmail').css('display', 'block'); | 713 | $('#invalidEmail').css('display', 'block'); |
684 | } else { | 714 | } else { |
685 | $http({ | 715 | $http({ |
686 | method: 'GET', | 716 | method: 'GET', |
687 | url: BASE_URL + '/ambassadors?filter={"where": {"email": {"like":"%25' + $scope.data.email + '%25"}}}', | 717 | url: BASE_URL + '/ambassadors?filter={"where": {"email": {"like":"%25' + $scope.data.email + '%25"}}}', |
688 | headers: {} | 718 | headers: {} |
689 | }).then(function mySuccess(searchResult) { | 719 | }).then(function mySuccess(searchResult) { |
690 | console.log("searchResult1===>", searchResult) | 720 | console.log("searchResult1===>", searchResult) |
691 | if (searchResult.data.length == 0) { | 721 | if (searchResult.data.length == 0) { |
692 | $scope.check = false; | 722 | $scope.check = false; |
693 | } else { | 723 | } else { |
694 | $scope.check = true; | 724 | $scope.check = true; |
695 | $('#alreadyExist').css('display', 'block'); | 725 | $('#alreadyExist').css('display', 'block'); |
696 | } | 726 | } |
697 | }, function myError(error) {}); | 727 | }, function myError(error) {}); |
698 | } | 728 | } |
699 | }; | 729 | }; |
700 | 730 | ||
701 | $scope.removeNoError = function() { | 731 | $scope.removeNoError = function() { |
702 | $('#invalidNumber').css('display', 'none'); | 732 | $('#invalidNumber').css('display', 'none'); |
703 | $('#noExist').css('display', 'none'); | 733 | $('#noExist').css('display', 'none'); |
704 | }; | 734 | }; |
705 | 735 | ||
706 | $scope.numbercheck = function(number) { | 736 | $scope.numbercheck = function(number) { |
707 | // if (val == undefined) { | 737 | // if (val == undefined) { |
708 | // $('#invalidNumber').css('display', 'block'); | 738 | // $('#invalidNumber').css('display', 'block'); |
709 | // } else { | 739 | // } else { |
710 | $http({ | 740 | $http({ |
711 | method: 'GET', | 741 | method: 'GET', |
712 | url: BASE_URL + '/ambassadors?filter={"where": {"mobile": {"like":"%25' + number + '%25"}}}', | 742 | url: BASE_URL + '/ambassadors?filter={"where": {"mobile": {"like":"%25' + number + '%25"}}}', |
713 | data: $scope.data, | 743 | data: $scope.data, |
714 | headers: {} | 744 | headers: {} |
715 | }).then(function mySuccess(searchResult) { | 745 | }).then(function mySuccess(searchResult) { |
716 | console.log("searchResult===>", searchResult) | 746 | console.log("searchResult===>", searchResult) |
717 | if (searchResult.data.length == 0) { | 747 | if (searchResult.data.length == 0) { |
718 | $scope.numberCheck = false; | 748 | $scope.numberCheck = false; |
719 | } else { | 749 | } else { |
720 | $scope.numberCheck = true; | 750 | $scope.numberCheck = true; |
721 | $('#noExist').css('display', 'block'); | 751 | $('#noExist').css('display', 'block'); |
722 | } | 752 | } |
723 | }, function myError(error) {}); | 753 | }, function myError(error) {}); |
724 | //} | 754 | //} |
725 | 755 | ||
726 | }; | 756 | }; |
727 | 757 | ||
728 | $scope.submit = function() { | 758 | $scope.submit = function() { |
729 | console.log($scope.data.name) | 759 | console.log($scope.data.name) |
730 | var randomNumber = ""+Math.random(); | 760 | var randomNumber = ""+Math.random(); |
731 | var nameSpliced = $scope.data.name.slice(0,3); | 761 | var nameSpliced = $scope.data.name.slice(0,3); |
732 | var numberSpliced = randomNumber.slice(2,5); | 762 | var numberSpliced = randomNumber.slice(2,5); |
733 | $scope.data.referalToken = nameSpliced+numberSpliced; | 763 | $scope.data.referalToken = nameSpliced+numberSpliced; |
734 | $scope.data.referalToken = $scope.data.referalToken.toUpperCase(); | 764 | $scope.data.referalToken = $scope.data.referalToken.toUpperCase(); |
735 | 765 | ||
736 | $http({ | 766 | $http({ |
737 | method: 'POST', | 767 | method: 'POST', |
738 | url: BASE_URL + '/ambassadors', | 768 | url: BASE_URL + '/ambassadors', |
739 | data: $scope.data, | 769 | data: $scope.data, |
740 | headers: {} | 770 | headers: {} |
741 | }).then(function mySuccess(result) { | 771 | }).then(function mySuccess(result) { |
742 | console.log("result", result) | 772 | console.log("result", result) |
743 | $scope.detail = result; | 773 | $scope.detail = result; |
744 | $('#myModal').modal('show'); | 774 | $('#myModal').modal('show'); |
745 | $scope.data.name = ''; | 775 | $scope.data.name = ''; |
746 | $scope.data.email = ''; | 776 | $scope.data.email = ''; |
747 | $scope.data.mobile = ''; | 777 | $scope.data.mobile = ''; |
748 | 778 | ||
749 | }, function myError(error) { | 779 | }, function myError(error) { |
750 | console.log(error) | 780 | console.log(error) |
751 | console.log(error.data.error.message) | 781 | console.log(error.data.error.message) |
752 | }); | 782 | }); |
753 | console.log($scope.data) | 783 | console.log($scope.data) |
754 | } | 784 | } |
755 | }); | 785 | }); |
756 | 786 | ||
757 | 787 |