Commit 242e4cb06fcb65b2e7a0dc7a841af22178cb6772
Exists in
master
and in
1 other branch
Merge branch 'master' of http://git.viithiisys.com/viithiisys/startup_jalsa_frontend
Showing
2 changed files
Show diff stats
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 class="select-stage" style="font-size:20px;">Please select one stage.</p> | 15 | <p class="select-stage" style="font-size:20px;">Please select one stage.</p> |
16 | <div class="stage-shadow"> | 16 | <div class="stage-shadow"> |
17 | <div class="stages card-align"> | 17 | <div class="stages card-align"> |
18 | <div class="col-xs-4 no-padding"> | 18 | <div class="col-xs-4 no-padding"> |
19 | <div class="card stages-card"> | 19 | <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')"> | 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')"> |
21 | <label style="cursor:pointer" class="thumbnail radius-border stage-thumbnail" for="ideation"> | 21 | <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"> | 22 | <img class="stage-img stage-idea" src="images/idea-stage.png" alt="Lights"> |
23 | <div class="card-content f-family"> | 23 | <div class="card-content f-family"> |
24 | <p align="center">Idea</p> | 24 | <p align="center">Idea</p> |
25 | </div> | 25 | </div> |
26 | </label> | 26 | </label> |
27 | </div> | 27 | </div> |
28 | <div class="clearfix"></div> | 28 | <div class="clearfix"></div> |
29 | <div class="cards-content hidden-xs"> | 29 | <div class="cards-content hidden-xs"> |
30 | <p> | 30 | <p> |
31 | ⚬ Have an idea and need execution help?<br> | 31 | ⚬ Have an idea and need execution help?<br> |
32 | ⚬ Get feedback from mentors<br> | 32 | ⚬ Get feedback from mentors<br> |
33 | ⚬ Validate your idea. | 33 | ⚬ Validate your idea. |
34 | </p> | 34 | </p> |
35 | </div> | 35 | </div> |
36 | </div> | 36 | </div> |
37 | <div class="col-xs-4 no-padding-mobile"> | 37 | <div class="col-xs-4 no-padding-mobile"> |
38 | <div class="card stages-card margin-auto-mobile"> | 38 | <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')"> | 39 | <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"> | 40 | <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"> | 41 | <img class="stage-img stage-product" src="images/production-stage.png" alt="Lights"> |
42 | <div class="card-content f-family"> | 42 | <div class="card-content f-family"> |
43 | <p align="center">Product</p> | 43 | <p align="center">Product</p> |
44 | </div> | 44 | </div> |
45 | </label> | 45 | </label> |
46 | </div> | 46 | </div> |
47 | <div class="clearfix"></div> | 47 | <div class="clearfix"></div> |
48 | <div class="cards-content hidden-xs"> | 48 | <div class="cards-content hidden-xs"> |
49 | <p> | 49 | <p> |
50 | ⚬ Have a prototype and want to take it to next level?<br> | 50 | ⚬ Have a prototype and want to take it to next level?<br> |
51 | ⚬ Advice on fundraising<br> | 51 | ⚬ Advice on fundraising<br> |
52 | ⚬ Advice on go-to-market strategy | 52 | ⚬ Advice on go-to-market strategy |
53 | </p> | 53 | </p> |
54 | </div> | 54 | </div> |
55 | </div> | 55 | </div> |
56 | <div class="col-xs-4 no-padding"> | 56 | <div class="col-xs-4 no-padding"> |
57 | <div class="card stages-card right-stage-card"> | 57 | <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')"> | 58 | <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"> | 59 | <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"> | 60 | <img class="stage-img stage-growth" src="images/growth-stage.png" alt="Lights"> |
61 | <div class="card-content f-family"> | 61 | <div class="card-content f-family"> |
62 | <p align="center">Growth</p> | 62 | <p align="center">Growth</p> |
63 | </div> | 63 | </div> |
64 | </label> | 64 | </label> |
65 | </div> | 65 | </div> |
66 | <div class="clearfix"></div> | 66 | <div class="clearfix"></div> |
67 | <div class="cards-content hidden-xs"> | 67 | <div class="cards-content hidden-xs"> |
68 | <p> | 68 | <p> |
69 | ⚬ Have traction and looking to scale up?<br> | 69 | ⚬ Have traction and looking to scale up?<br> |
70 | ⚬ Connect with Series A investors<br> | 70 | ⚬ Connect with Series A investors<br> |
71 | ⚬ Connect and hire top startups | 71 | ⚬ Connect and hire top startups |
72 | </p> | 72 | </p> |
73 | </div> | 73 | </div> |
74 | </div> | 74 | </div> |
75 | <div class="clearfix"></div> | 75 | <div class="clearfix"></div> |
76 | </div> | 76 | </div> |
77 | <div class="clearfix"></div> | 77 | <div class="clearfix"></div> |
78 | </div> | 78 | </div> |
79 | <div class="hidden-sm hidden-md hidden-lg"> | 79 | <div class="hidden-sm hidden-md hidden-lg"> |
80 | <div class="cards-content" ng-if="data.stage == 'Idea'"> | 80 | <div class="cards-content" ng-if="data.stage == 'Idea'"> |
81 | <p> | 81 | <p> |
82 | ⚬ Have an idea and need execution help?<br> | 82 | ⚬ Have an idea and need execution help?<br> |
83 | ⚬ Get feedback from mentors<br> | 83 | ⚬ Get feedback from mentors<br> |
84 | ⚬ Validate your idea. | 84 | ⚬ Validate your idea. |
85 | </p> | 85 | </p> |
86 | </div> | 86 | </div> |
87 | <div class="cards-content" ng-if="data.stage == 'Product'"> | 87 | <div class="cards-content" ng-if="data.stage == 'Product'"> |
88 | <p> | 88 | <p> |
89 | ⚬ Have a prototype and want to take it to next level?<br> | 89 | ⚬ Have a prototype and want to take it to next level?<br> |
90 | ⚬ Advice on fundraising<br> | 90 | ⚬ Advice on fundraising<br> |
91 | ⚬ Advice on go-to-market strategy | 91 | ⚬ Advice on go-to-market strategy |
92 | </p> | 92 | </p> |
93 | </div> | 93 | </div> |
94 | <div class="cards-content" ng-if="data.stage == 'Growth'"> | 94 | <div class="cards-content" ng-if="data.stage == 'Growth'"> |
95 | <p> | 95 | <p> |
96 | ⚬ Have traction and looking to scale up?<br> | 96 | ⚬ Have traction and looking to scale up?<br> |
97 | ⚬ Connect with Series A investors<br> | 97 | ⚬ Connect with Series A investors<br> |
98 | ⚬ Connect and hire top startups | 98 | ⚬ Connect and hire top startups |
99 | </p> | 99 | </p> |
100 | </div> | 100 | </div> |
101 | </div> | 101 | </div> |
102 | <!-- CLOSE STAGE SHADOW --> | 102 | <!-- CLOSE STAGE SHADOW --> |
103 | <form name="informationForm"> | 103 | <form name="informationForm"> |
104 | <div class="form-all"> | 104 | <div class="form-all"> |
105 | <table style="width: 100%;"> | 105 | <table style="width: 100%;"> |
106 | <tr> | 106 | <tr> |
107 | <td> | 107 | <td> |
108 | <div class="step-one-form"> | 108 | <div class="step-one-form"> |
109 | <!-- form step 1 --> | 109 | <!-- form step 1 --> |
110 | <div class="col-xs-12 col-md-6 input-wrapper"> | 110 | <div class="col-xs-12 col-md-6 input-wrapper"> |
111 | <div id="snackbar">Error ! Please fill in all fields.</div> | 111 | <div id="snackbar">Error ! Please fill in all fields.</div> |
112 | <div class="icon-circle-c"> | 112 | <div class="icon-circle-c"> |
113 | <i class="material-icons" style="line-height: 31px;">assignment_ind</i> | 113 | <i class="material-icons" style="line-height: 31px;">assignment_ind</i> |
114 | </div> | 114 | </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)"> | 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)"> |
116 | </div> | 116 | </div> |
117 | <div class="col-xs-12 col-md-6 input-wrapper"> | 117 | <div class="col-xs-12 col-md-6 input-wrapper"> |
118 | <div id="snackbar">Error ! Please fill in all fields.</div> | 118 | <div id="snackbar">Error ! Please fill in all fields.</div> |
119 | <div class="icon-circle-d"> | 119 | <div class="icon-circle-d"> |
120 | <i class="material-icons" style="line-height: 30px;">email</i> | 120 | <i class="material-icons" style="line-height: 30px;">email</i> |
121 | </div> | 121 | </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)"> | 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)"> |
123 | <label class="error-message f-family" id="invalidEmail">Please enter a valid email address.</label> | 123 | <label class="error-message f-family" id="invalidEmail">Please enter a valid email address.</label> |
124 | <label ng-if="check">Email already exist.</label> | 124 | <label ng-if="check">Email already exist.</label> |
125 | </div> | 125 | </div> |
126 | <div class="col-xs-12 col-md-6 input-wrapper"> | 126 | <div class="col-xs-12 col-md-6 input-wrapper"> |
127 | <div class="icon-circle-e"> | 127 | <div class="icon-circle-e"> |
128 | <i class="material-icons" style="line-height: 30px;">phone</i> | 128 | <i class="material-icons" style="line-height: 30px;">phone</i> |
129 | </div> | 129 | </div> |
130 | <input type="number" ng-pattern="/^[0-9+-]*$/" maxlength="15" required class="text-input" ng-model="data.number" placeholder="Mobile No." ng-blur="numbercheck(data.number)" ng-focus="removeNoError()" ng-change="enternumber(data.number); phonekeyPress(data.number)"> | 130 | <input type="number" ng-pattern="/^[0-9+-]*$/" maxlength="15" required class="text-input" ng-model="data.number" placeholder="Mobile No." ng-blur="numbercheck(data.number)" ng-focus="removeNoError()" ng-change="enternumber(data.number); phonekeyPress(data.number)"> |
131 | <label ng-if="numberCheck">Contact Number already exist.</label> | 131 | <label ng-if="numberCheck">Contact Number already exist.</label> |
132 | </div> | 132 | </div> |
133 | <div class="col-xs-12 col-md-6 input-wrapper f-family"> | 133 | <div class="col-xs-12 col-md-6 input-wrapper f-family"> |
134 | <div class="icon-circle-f"> | 134 | <div class="icon-circle-f"> |
135 | <i class="material-icons" style="line-height: 30px;">location_city</i> | 135 | <i class="material-icons" style="line-height: 30px;">location_city</i> |
136 | </div> | 136 | </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;"> | 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;"> |
138 | <option name="city" selected disabled value="">Choose City</option> | 138 | <option name="city" selected disabled value="">Choose City</option> |
139 | <option value="Agra">Agra</option> | 139 | <option value="Agra">Agra</option> |
140 | <option value="Ahmedabad">Ahmedabad</option> | 140 | <option value="Ahmedabad">Ahmedabad</option> |
141 | <option value="Ajmer">Ajmer</option> | 141 | <option value="Ajmer">Ajmer</option> |
142 | <option value="Aligarh">Aligarh</option> | 142 | <option value="Aligarh">Aligarh</option> |
143 | <option value="Allahabad">Allahabad</option> | 143 | <option value="Allahabad">Allahabad</option> |
144 | <option value="Ambattur">Ambattur</option> | 144 | <option value="Ambattur">Ambattur</option> |
145 | <option value="Amravati">Amravati</option> | 145 | <option value="Amravati">Amravati</option> |
146 | <option value="Amritsar">Amritsar</option> | 146 | <option value="Amritsar">Amritsar</option> |
147 | <option value="Asansol">Asansol</option> | 147 | <option value="Asansol">Asansol</option> |
148 | <option value="Aurangabad">Aurangabad</option> | 148 | <option value="Aurangabad">Aurangabad</option> |
149 | <option value="Bareilly">Bareilly</option> | 149 | <option value="Bareilly">Bareilly</option> |
150 | <option value="Belgaum">Belgaum</option> | 150 | <option value="Belgaum">Belgaum</option> |
151 | <option value="Bengaluru">Bengaluru</option> | 151 | <option value="Bengaluru">Bengaluru</option> |
152 | <option value="Bhavnagar">Bhavnagar</option> | 152 | <option value="Bhavnagar">Bhavnagar</option> |
153 | <option value="Bhayander">Bhayander</option> | 153 | <option value="Bhayander">Bhayander</option> |
154 | <option value="Bhilai Nagar">Bhilai Nagar</option> | 154 | <option value="Bhilai Nagar">Bhilai Nagar</option> |
155 | <option value="Bhiwandi">Bhiwandi</option> | 155 | <option value="Bhiwandi">Bhiwandi</option> |
156 | <option value="Bhopal">Bhopal</option> | 156 | <option value="Bhopal">Bhopal</option> |
157 | <option value="Bhubaneswar">Bhubaneswar</option> | 157 | <option value="Bhubaneswar">Bhubaneswar</option> |
158 | <option value="Bikaner">Bikaner</option> | 158 | <option value="Bikaner">Bikaner</option> |
159 | <option value="Chandigarh">Chandigarh</option> | 159 | <option value="Chandigarh">Chandigarh</option> |
160 | <option value="Chennai">Chennai</option> | 160 | <option value="Chennai">Chennai</option> |
161 | <option value="Chinchwad">Chinchwad</option> | 161 | <option value="Chinchwad">Chinchwad</option> |
162 | <option value="Coimbatore">Coimbatore</option> | 162 | <option value="Coimbatore">Coimbatore</option> |
163 | <option value="Cuttack">Cuttack</option> | 163 | <option value="Cuttack">Cuttack</option> |
164 | <option value="Dehradun">Dehradun</option> | 164 | <option value="Dehradun">Dehradun</option> |
165 | <option value="Delhi-NCR">Delhi-NCR</option> | 165 | <option value="Delhi-NCR">Delhi-NCR</option> |
166 | <option value="Dhanbad">Dhanbad</option> | 166 | <option value="Dhanbad">Dhanbad</option> |
167 | <option value="Dharwad">Dharwad</option> | 167 | <option value="Dharwad">Dharwad</option> |
168 | <option value="Dombivali">Dombivali</option> | 168 | <option value="Dombivali">Dombivali</option> |
169 | <option value="Durgapur">Durgapur</option> | 169 | <option value="Durgapur">Durgapur</option> |
170 | <option value="Faridabad">Faridabad</option> | 170 | <option value="Faridabad">Faridabad</option> |
171 | <option value="Firozabad">Firozabad</option> | 171 | <option value="Firozabad">Firozabad</option> |
172 | <option value="Gaya">Gaya</option> | 172 | <option value="Gaya">Gaya</option> |
173 | <option value="Ghaziabad">Ghaziabad</option> | 173 | <option value="Ghaziabad">Ghaziabad</option> |
174 | <option value="Gorakhpur">Gorakhpur</option> | 174 | <option value="Gorakhpur">Gorakhpur</option> |
175 | <option value="Gulbarga">Gulbarga</option> | 175 | <option value="Gulbarga">Gulbarga</option> |
176 | <option value="Guntur">Guntur</option> | 176 | <option value="Guntur">Guntur</option> |
177 | <option value="Gurgaon">Gurgaon</option> | 177 | <option value="Gurgaon">Gurgaon</option> |
178 | <option value="Guwahati">Guwahati</option> | 178 | <option value="Guwahati">Guwahati</option> |
179 | <option value="Gwalior">Gwalior</option> | 179 | <option value="Gwalior">Gwalior</option> |
180 | <option value="Haora">Haora</option> | 180 | <option value="Haora">Haora</option> |
181 | <option value="Hubli">Hubli</option> | 181 | <option value="Hubli">Hubli</option> |
182 | <option value="Hyderabad">Hyderabad</option> | 182 | <option value="Hyderabad">Hyderabad</option> |
183 | <option value="Indore">Indore</option> | 183 | <option value="Indore">Indore</option> |
184 | <option value="Jabalpur">Jabalpur</option> | 184 | <option value="Jabalpur">Jabalpur</option> |
185 | <option value="Jaipur">Jaipur</option> | 185 | <option value="Jaipur">Jaipur</option> |
186 | <option value="Jalandhar">Jalandhar</option> | 186 | <option value="Jalandhar">Jalandhar</option> |
187 | <option value="Jalgaon">Jalgaon</option> | 187 | <option value="Jalgaon">Jalgaon</option> |
188 | <option value="Jammu">Jammu</option> | 188 | <option value="Jammu">Jammu</option> |
189 | <option value="Jamnagar">Jamnagar</option> | 189 | <option value="Jamnagar">Jamnagar</option> |
190 | <option value="Jamshedpur">Jamshedpur</option> | 190 | <option value="Jamshedpur">Jamshedpur</option> |
191 | <option value="Jhansi">Jhansi</option> | 191 | <option value="Jhansi">Jhansi</option> |
192 | <option value="Jodhpur">Jodhpur</option> | 192 | <option value="Jodhpur">Jodhpur</option> |
193 | <option value="Kalyan">Kalyan</option> | 193 | <option value="Kalyan">Kalyan</option> |
194 | <option value="Kanpur">Kanpur</option> | 194 | <option value="Kanpur">Kanpur</option> |
195 | <option value="Kochi">Kochi</option> | 195 | <option value="Kochi">Kochi</option> |
196 | <option value="Kolapur">Kolapur</option> | 196 | <option value="Kolapur">Kolapur</option> |
197 | <option value="Kolkata">Kolkata</option> | 197 | <option value="Kolkata">Kolkata</option> |
198 | <option value="Kota">Kota</option> | 198 | <option value="Kota">Kota</option> |
199 | <option value="Loni">Loni</option> | 199 | <option value="Loni">Loni</option> |
200 | <option value="Lucknow">Lucknow</option> | 200 | <option value="Lucknow">Lucknow</option> |
201 | <option value="Ludhiana">Ludhiana</option> | 201 | <option value="Ludhiana">Ludhiana</option> |
202 | <option value="Madurai">Madurai</option> | 202 | <option value="Madurai">Madurai</option> |
203 | <option value="Maheshtala">Maheshtala</option> | 203 | <option value="Maheshtala">Maheshtala</option> |
204 | <option value="Malegoan">Malegoan</option> | 204 | <option value="Malegoan">Malegoan</option> |
205 | <option value="Mangalore">Mangalore</option> | 205 | <option value="Mangalore">Mangalore</option> |
206 | <option value="Meerut">Meerut</option> | 206 | <option value="Meerut">Meerut</option> |
207 | <option value="Mira">Mira</option> | 207 | <option value="Mira">Mira</option> |
208 | <option value="Moradabad">Moradabad</option> | 208 | <option value="Moradabad">Moradabad</option> |
209 | <option value="Mumbai">Mumbai</option> | 209 | <option value="Mumbai">Mumbai</option> |
210 | <option value="Mysore">Mysore</option> | 210 | <option value="Mysore">Mysore</option> |
211 | <option value="Nagpur">Nagpur</option> | 211 | <option value="Nagpur">Nagpur</option> |
212 | <option value="Nanded Waghala">Nanded Waghala</option> | 212 | <option value="Nanded Waghala">Nanded Waghala</option> |
213 | <option value="Nashik">Nashik</option> | 213 | <option value="Nashik">Nashik</option> |
214 | <option value="Navi Mumbai">Navi Mumbai</option> | 214 | <option value="Navi Mumbai">Navi Mumbai</option> |
215 | <option value="Nellore">Nellore</option> | 215 | <option value="Nellore">Nellore</option> |
216 | <option value="Noida">Noida</option> | 216 | <option value="Noida">Noida</option> |
217 | <option value="Patna">Patna</option> | 217 | <option value="Patna">Patna</option> |
218 | <option value="Pimpri">Pimpri</option> | 218 | <option value="Pimpri">Pimpri</option> |
219 | <option value="Pune">Pune</option> | 219 | <option value="Pune">Pune</option> |
220 | <option value="Raipur">Raipur</option> | 220 | <option value="Raipur">Raipur</option> |
221 | <option value="Rajkot">Rajkot</option> | 221 | <option value="Rajkot">Rajkot</option> |
222 | <option value="Ranchi">Ranchi</option> | 222 | <option value="Ranchi">Ranchi</option> |
223 | <option value="Saharanpur">Saharanpur</option> | 223 | <option value="Saharanpur">Saharanpur</option> |
224 | <option value="Salem">Salem</option> | 224 | <option value="Salem">Salem</option> |
225 | <option value="Sangli Miraj Kupwad">Sangli Miraj Kupwad</option> | 225 | <option value="Sangli Miraj Kupwad">Sangli Miraj Kupwad</option> |
226 | <option value="Siliguri">Siliguri</option> | 226 | <option value="Siliguri">Siliguri</option> |
227 | <option value="Solapur">Solapur</option> | 227 | <option value="Solapur">Solapur</option> |
228 | <option value="Srinagar">Srinagar</option> | 228 | <option value="Srinagar">Srinagar</option> |
229 | <option value="Surat">Surat</option> | 229 | <option value="Surat">Surat</option> |
230 | <option value="Thane">Thane</option> | 230 | <option value="Thane">Thane</option> |
231 | <option value="Thiruvananthapuram">Thiruvananthapuram</option> | 231 | <option value="Thiruvananthapuram">Thiruvananthapuram</option> |
232 | <option value="Tiruchirappalli">Tiruchirappalli</option> | 232 | <option value="Tiruchirappalli">Tiruchirappalli</option> |
233 | <option value="Tirunelveli">Tirunelveli</option> | 233 | <option value="Tirunelveli">Tirunelveli</option> |
234 | <option value="Udaipur">Udaipur</option> | 234 | <option value="Udaipur">Udaipur</option> |
235 | <option value="Ujjain">Ujjain</option> | 235 | <option value="Ujjain">Ujjain</option> |
236 | <option value="Ulhasnagar">Ulhasnagar</option> | 236 | <option value="Ulhasnagar">Ulhasnagar</option> |
237 | <option value="Vadodara">Vadodara</option> | 237 | <option value="Vadodara">Vadodara</option> |
238 | <option value="Varanasi">Varanasi</option> | 238 | <option value="Varanasi">Varanasi</option> |
239 | <option value="Vasai Virar">Vasai Virar</option> | 239 | <option value="Vasai Virar">Vasai Virar</option> |
240 | <option value="Vijayawada">Vijayawada</option> | 240 | <option value="Vijayawada">Vijayawada</option> |
241 | <option value="Visakhapatnam">Visakhapatnam</option> | 241 | <option value="Visakhapatnam">Visakhapatnam</option> |
242 | <option value="Warangal">Warangal</option> | 242 | <option value="Warangal">Warangal</option> |
243 | <option value="anyOther">Any other</option> | 243 | <option value="anyOther">Any other</option> |
244 | </select> | 244 | </select> |
245 | </div> | 245 | </div> |
246 | <div class="clearfix"></div> | 246 | <div class="clearfix"></div> |
247 | <div class="col-xs-12 text-right"> | 247 | <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()"> | 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()"> |
249 | Next | 249 | Next |
250 | </button> | 250 | </button> |
251 | </div> | 251 | </div> |
252 | </div> | 252 | </div> |
253 | <!-- close step-one-form --> | 253 | <!-- close step-one-form --> |
254 | </td> | 254 | </td> |
255 | </tr> | 255 | </tr> |
256 | </table> | 256 | </table> |
257 | </div> | 257 | </div> |
258 | <!-- CLOSE form-all --> | 258 | <!-- CLOSE form-all --> |
259 | </form> | 259 | </form> |
260 | <div class="step-two-form" ng-show="infoForm"> | 260 | <div class="step-two-form" ng-show="infoForm"> |
261 | <div class="sectors-card"> | 261 | <div class="sectors-card"> |
262 | <div class="icon-circle-b"> | 262 | <div class="icon-circle-b"> |
263 | <i class="material-icons" style="line-height: 31px;">open_with</i> | 263 | <i class="material-icons" style="line-height: 31px;">open_with</i> |
264 | </div> | 264 | </div> |
265 | <div class="sector-question"> | 265 | <div class="sector-question"> |
266 | <div class="col-xs-12 font f-family"> | 266 | <div class="col-xs-12 font f-family"> |
267 | To which sector would you relate your company? | 267 | To which sector would you relate your company? |
268 | </div> | 268 | </div> |
269 | <div class="clearfix"></div> | 269 | <div class="clearfix"></div> |
270 | </div> | 270 | </div> |
271 | <div class="clearfix" style="height:15px;"></div> | 271 | <div class="clearfix" style="height:15px;"></div> |
272 | <div class="sector-align"> | 272 | <div class="sector-align"> |
273 | <div class="col-xs-6 col-md-3"> | 273 | <div class="col-xs-6 col-md-3"> |
274 | <label class="card-small"> | 274 | <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"> | 275 | <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"> | 276 | <img src="images/retail.png"> |
277 | <label class="f-family">Retail</label> | 277 | <label class="f-family">Retail</label> |
278 | </label> | 278 | </label> |
279 | </div> | 279 | </div> |
280 | <div class="col-xs-6 col-md-3"> | 280 | <div class="col-xs-6 col-md-3"> |
281 | <label class="card-small"> | 281 | <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"> | 282 | <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"> | 283 | <img src="images/transport.png"> |
284 | <label class="f-family">Travel</label> | 284 | <label class="f-family">Travel</label> |
285 | </label> | 285 | </label> |
286 | </div> | 286 | </div> |
287 | <div class="col-xs-6 col-md-3"> | 287 | <div class="col-xs-6 col-md-3"> |
288 | <label class="card-small"> | 288 | <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"> | 289 | <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"> | 290 | <img src="images/paymens.png"> |
291 | <label class="f-family">B2B commerce</label> | 291 | <label class="f-family">B2B commerce</label> |
292 | </label> | 292 | </label> |
293 | </div> | 293 | </div> |
294 | <div class="col-xs-6 col-md-3"> | 294 | <div class="col-xs-6 col-md-3"> |
295 | <label class="card-small"> | 295 | <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"> | 296 | <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"> | 297 | <img src="images/food.png"> |
298 | <label class="f-family">Agritech</label> | 298 | <label class="f-family">Agritech</label> |
299 | </label> | 299 | </label> |
300 | </div> | 300 | </div> |
301 | <div class="col-xs-6 col-md-3"> | 301 | <div class="col-xs-6 col-md-3"> |
302 | <label class="card-small"> | 302 | <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"> | 303 | <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"> | 304 | <img src="images/online_media.png"> |
305 | <label class="f-family">Fintech</label> | 305 | <label class="f-family">Fintech</label> |
306 | </label> | 306 | </label> |
307 | </div> | 307 | </div> |
308 | <div class="col-xs-6 col-md-3"> | 308 | <div class="col-xs-6 col-md-3"> |
309 | <label class="card-small"> | 309 | <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"> | 310 | <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"> | 311 | <img src="images/hardware.png"> |
312 | <label class="f-family">Hyperlocal services</label> | 312 | <label class="f-family">Hyperlocal services</label> |
313 | </label> | 313 | </label> |
314 | </div> | 314 | </div> |
315 | <div class="col-xs-6 col-md-3"> | 315 | <div class="col-xs-6 col-md-3"> |
316 | <label class="card-small"> | 316 | <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"> | 317 | <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"> | 318 | <img src="images/education.png"> |
319 | <label class="f-family">Education</label> | 319 | <label class="f-family">Education</label> |
320 | </label> | 320 | </label> |
321 | </div> | 321 | </div> |
322 | <div class="col-xs-6 col-md-3"> | 322 | <div class="col-xs-6 col-md-3"> |
323 | <label class="card-small"> | 323 | <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"> | 324 | <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"> | 325 | <img src="images/RURAL_ICON.png"> |
326 | <label class="f-family">Rural</label> | 326 | <label class="f-family">Rural</label> |
327 | </label> | 327 | </label> |
328 | </div> | 328 | </div> |
329 | </div> | 329 | </div> |
330 | <div class="clearfix"></div> | 330 | <div class="clearfix"></div> |
331 | </div> | 331 | </div> |
332 | <!-- CLOSE sectors-card --> | 332 | <!-- CLOSE sectors-card --> |
333 | <div class="col-xs-12 col-md-12 f-family line-adjust" ng-if="proto"> | 333 | <div class="col-xs-12 col-md-12 f-family line-adjust" ng-if="proto"> |
334 | <strong>Do you have a prototype ready?</strong> | 334 | <strong>Do you have a prototype ready?</strong> |
335 | <p class="line-space" >If yes, please share the link to demo/website/application</p> | 335 | <p class="line-space" >If yes, please share the link to demo/website/application</p> |
336 | </div> | 336 | </div> |
337 | <div class="col-xs-12 col-md-12 input-wrapper" ng-if="proto"> | 337 | <div class="col-xs-12 col-md-12 input-wrapper" ng-if="proto"> |
338 | <div class="icon-circle-k"> | 338 | <div class="icon-circle-k"> |
339 | <i class="material-icons" style="line-height: 30px;">device_hub</i> | 339 | <i class="material-icons" style="line-height: 30px;">device_hub</i> |
340 | </div> | 340 | </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> | 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> |
342 | </div> | 342 | </div> |
343 | <div class="col-xs-11 col-md-12 f-family line-adjust"> | 343 | <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> | 344 | <strong>Tell us about the problem that your company is trying to address. </strong> |
345 | <p class="line-space" ></p> | 345 | <p class="line-space" ></p> |
346 | </div> | 346 | </div> |
347 | <div class="col-xs-12 col-md-12 input-wrapper"> | 347 | <div class="col-xs-12 col-md-12 input-wrapper"> |
348 | <div class="icon-circle-i"> | 348 | <div class="icon-circle-i"> |
349 | <i class="material-icons" style="line-height: 30px;">report_problem</i> | 349 | <i class="material-icons" style="line-height: 30px;">report_problem</i> |
350 | </div> | 350 | </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> | 351 | <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> | 352 | </div> |
353 | <div class="col-xs-12 col-md-12 f-family line-adjust"> | 353 | <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> | 354 | <strong>Tell us about the solution that your product/company has come up with.</strong> |
355 | <p class="line-space" ></p> | 355 | <p class="line-space" ></p> |
356 | </div> | 356 | </div> |
357 | <div class="col-xs-12 col-md-12 input-wrapper"> | 357 | <div class="col-xs-12 col-md-12 input-wrapper"> |
358 | <div class="icon-circle-j"> | 358 | <div class="icon-circle-j"> |
359 | <i class="material-icons" style="line-height: 30px;">help</i> | 359 | <i class="material-icons" style="line-height: 30px;">help</i> |
360 | </div> | 360 | </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> | 361 | <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> | 362 | </div> |
363 | <div class="col-xs-12 col-md-12 f-family line-adjust" ng-if="businessmodel"> | 363 | <div class="col-xs-12 col-md-12 f-family line-adjust" ng-if="businessmodel"> |
364 | <strong>What is your business model?</strong> | 364 | <strong>What is your business model?</strong> |
365 | <p class="line-space" >How do you plan to make money?</p> | 365 | <p class="line-space" >How do you plan to make money?</p> |
366 | </div> | 366 | </div> |
367 | <div class="col-xs-12 col-md-12 input-wrapper f-family" ng-if="businessmodel"> | 367 | <div class="col-xs-12 col-md-12 input-wrapper f-family" ng-if="businessmodel"> |
368 | <div class="icon-circle-p"> | 368 | <div class="icon-circle-p"> |
369 | <i class="material-icons" style="line-height: 30px;">business_center</i> | 369 | <i class="material-icons" style="line-height: 30px;">business_center</i> |
370 | </div> | 370 | </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;"> | 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;"> |
372 | <option selected disabled value="">Business Model</option> | 372 | <option selected disabled value="">Business Model</option> |
373 | <option value="B2B">B2B</option> | 373 | <option value="B2B">B2B</option> |
374 | <option value="B2C">B2C</option> | 374 | <option value="B2C">B2C</option> |
375 | <option value="B2G">B2G</option> | 375 | <option value="B2G">B2G</option> |
376 | </select> | 376 | </select> |
377 | </div> | 377 | </div> |
378 | <div class="clearfix"></div> | 378 | <div class="clearfix"></div> |
379 | <div class="hideform" ng-if="prototyp"> | 379 | <div class="hideform" ng-if="prototyp"> |
380 | <!-- **************************For Quiz All About Input********************** --> | 380 | <!-- **************************For Quiz All About Input********************** --> |
381 | <div class="question-shadow"> | 381 | <div class="question-shadow"> |
382 | <div class="icon-circle-x"> | 382 | <div class="icon-circle-x"> |
383 | <i class="material-icons" style="line-height: 30px;">question_answer</i> | 383 | <i class="material-icons" style="line-height: 30px;">question_answer</i> |
384 | </div> | 384 | </div> |
385 | <div class="sector-question"> | 385 | <div class="sector-question"> |
386 | <div class="col-xs-12 font f-family"> | 386 | <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. | 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. |
388 | </div> | 388 | </div> |
389 | <div class="clearfix"></div> | 389 | <div class="clearfix"></div> |
390 | </div> | 390 | </div> |
391 | <div class="stages q-card-align"> | 391 | <div class="stages q-card-align"> |
392 | <div class="col-sm-8 group"> | 392 | <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> | 393 | <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> | 394 | <span class="highlight"></span> |
395 | <span class="bar"></span> | 395 | <span class="bar"></span> |
396 | </div> | 396 | </div> |
397 | <div class="col-sm-3 col-md-offset-1"> | 397 | <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> | 398 | <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> | 399 | <option selected disabled value="">Select</option> |
400 | <option>Sales</option> | 400 | <option>Sales</option> |
401 | <option>Marketing</option> | 401 | <option>Marketing</option> |
402 | <option>Technology</option> | 402 | <option>Technology</option> |
403 | <option>Scale</option> | 403 | <option>Scale</option> |
404 | <option>Fund-raising</option> | 404 | <option>Fund-raising</option> |
405 | <option>Go-to-market strategy</option> | 405 | <option>Go-to-market strategy</option> |
406 | <option>Team/hiring issues</option> | 406 | <option>Team/hiring issues</option> |
407 | <option>Emotional/personal issues</option> | 407 | <option>Emotional/personal issues</option> |
408 | <option>Any other</option> | 408 | <option>Any other</option> |
409 | </select> | 409 | </select> |
410 | </div> | 410 | </div> |
411 | <div class="col-sm-8 group"> | 411 | <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> | 412 | <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> | 413 | <span class="highlight"></span> |
414 | <span class="bar"></span> | 414 | <span class="bar"></span> |
415 | </div> | 415 | </div> |
416 | <div class="col-sm-3 col-md-offset-1"> | 416 | <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> | 417 | <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> | 418 | <option selected disabled value="">Select</option> |
419 | <option>Sales</option> | 419 | <option>Sales</option> |
420 | <option>Marketing</option> | 420 | <option>Marketing</option> |
421 | <option>Technology</option> | 421 | <option>Technology</option> |
422 | <option>Scale</option> | 422 | <option>Scale</option> |
423 | <option>Fund-raising</option> | 423 | <option>Fund-raising</option> |
424 | <option>Go-to-market strategy</option> | 424 | <option>Go-to-market strategy</option> |
425 | <option>Team/hiring issues</option> | 425 | <option>Team/hiring issues</option> |
426 | <option>Emotional/personal issues</option> | 426 | <option>Emotional/personal issues</option> |
427 | <option>Any other</option> | 427 | <option>Any other</option> |
428 | </select> | 428 | </select> |
429 | </div> | 429 | </div> |
430 | <div class="col-sm-8 group"> | 430 | <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> | 431 | <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> | 432 | <span class="highlight"></span> |
433 | <span class="bar"></span> | 433 | <span class="bar"></span> |
434 | </div> | 434 | </div> |
435 | <div class="col-sm-3 col-md-offset-1"> | 435 | <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> | 436 | <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> | 437 | <option selected disabled value="">Select</option> |
438 | <option>Sales</option> | 438 | <option>Sales</option> |
439 | <option>Marketing</option> | 439 | <option>Marketing</option> |
440 | <option>Technology</option> | 440 | <option>Technology</option> |
441 | <option>Scale</option> | 441 | <option>Scale</option> |
442 | <option>Fund-raising</option> | 442 | <option>Fund-raising</option> |
443 | <option>Go-to-market strategy</option> | 443 | <option>Go-to-market strategy</option> |
444 | <option>Team/hiring issues</option> | 444 | <option>Team/hiring issues</option> |
445 | <option>Emotional/personal issues</option> | 445 | <option>Emotional/personal issues</option> |
446 | <option>Any other</option> | 446 | <option>Any other</option> |
447 | </select> | 447 | </select> |
448 | </div> | 448 | </div> |
449 | <div class="col-sm-8 group"> | 449 | <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> | 450 | <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> | 451 | <span class="highlight"></span> |
452 | <span class="bar"></span> | 452 | <span class="bar"></span> |
453 | </div> | 453 | </div> |
454 | <div class="col-sm-3 col-md-offset-1"> | 454 | <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> | 455 | <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> | 456 | <option selected disabled value="">Select</option> |
457 | <option>Sales</option> | 457 | <option>Sales</option> |
458 | <option>Marketing</option> | 458 | <option>Marketing</option> |
459 | <option>Technology</option> | 459 | <option>Technology</option> |
460 | <option>Scale</option> | 460 | <option>Scale</option> |
461 | <option>Fund-raising</option> | 461 | <option>Fund-raising</option> |
462 | <option>Go-to-market strategy</option> | 462 | <option>Go-to-market strategy</option> |
463 | <option>Team/hiring issues</option> | 463 | <option>Team/hiring issues</option> |
464 | <option>Emotional/personal issues</option> | 464 | <option>Emotional/personal issues</option> |
465 | <option>Any other</option> | 465 | <option>Any other</option> |
466 | </select> | 466 | </select> |
467 | </div> | 467 | </div> |
468 | <div class="col-sm-8 group"> | 468 | <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> | 469 | <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> | 470 | <span class="highlight"></span> |
471 | <span class="bar"></span> | 471 | <span class="bar"></span> |
472 | </div> | 472 | </div> |
473 | <div class="col-sm-3 col-md-offset-1"> | 473 | <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> | 474 | <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> | 475 | <option selected disabled value="">Select</option> |
476 | <option>Sales</option> | 476 | <option>Sales</option> |
477 | <option>Marketing</option> | 477 | <option>Marketing</option> |
478 | <option>Technology</option> | 478 | <option>Technology</option> |
479 | <option>Scale</option> | 479 | <option>Scale</option> |
480 | <option>Fund-raising</option> | 480 | <option>Fund-raising</option> |
481 | <option>Go-to-market strategy</option> | 481 | <option>Go-to-market strategy</option> |
482 | <option>Team/hiring issues</option> | 482 | <option>Team/hiring issues</option> |
483 | <option>Emotional/personal issues</option> | 483 | <option>Emotional/personal issues</option> |
484 | <option>Any other</option> | 484 | <option>Any other</option> |
485 | </select> | 485 | </select> |
486 | </div> | 486 | </div> |
487 | <div class="clearfix"></div> | 487 | <div class="clearfix"></div> |
488 | </div> | 488 | </div> |
489 | <div class="clearfix"></div> | 489 | <div class="clearfix"></div> |
490 | </div> | 490 | </div> |
491 | <!--CLOSE question-shadow --> | 491 | <!--CLOSE question-shadow --> |
492 | <div class="clearfix"></div> | 492 | <div class="clearfix"></div> |
493 | <!-- **************************CLOSE QUIZ FORM********************** --> | 493 | <!-- **************************CLOSE QUIZ FORM********************** --> |
494 | <div class="col-xs-11 col-md-12 f-family line-adjust"> | 494 | <div class="col-xs-11 col-md-12 f-family line-adjust"> |
495 | <strong>What technology are you using in the product?</strong> | 495 | <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> | 496 | <p class="line-space" >Please explain in detail the technologies that you are using or plan to use in the product?</p> |
497 | </div> | 497 | </div> |
498 | <div class="col-xs-12 col-md-12 input-wrapper"> | 498 | <div class="col-xs-12 col-md-12 input-wrapper"> |
499 | <div class="icon-circle-h"> | 499 | <div class="icon-circle-h"> |
500 | <i class="material-icons" style="line-height: 30px;">phone_android</i> | 500 | <i class="material-icons" style="line-height: 30px;">phone_android</i> |
501 | </div> | 501 | </div> |
502 | <input type="text" class="text-input" ng-model="data.technology" placeholder="Technology" ng-change="entertechnology(data.technology); technologykeyPress(data.technology)" required> | 502 | <input type="text" class="text-input" ng-model="data.technology" placeholder="Technology" ng-change="entertechnology(data.technology); technologykeyPress(data.technology)" required> |
503 | </div> | 503 | </div> |
504 | <div class="col-xs-12 col-md-12 f-family line-adjust" ng-if="market"> | 504 | <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> | 505 | <strong>What is your go-to-market strategy?</strong> |
506 | <p class="line-space" ></p> | 506 | <p class="line-space" ></p> |
507 | </div> | 507 | </div> |
508 | <div class="col-xs-12 col-md-12 input-wrapper" ng-if="market"> | 508 | <div class="col-xs-12 col-md-12 input-wrapper" ng-if="market"> |
509 | <div class="icon-circle-l"> | 509 | <div class="icon-circle-l"> |
510 | <i class="material-icons" style="line-height: 30px;">multiline_chart</i> | 510 | <i class="material-icons" style="line-height: 30px;">multiline_chart</i> |
511 | </div> | 511 | </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> | 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> |
513 | </div> | 513 | </div> |
514 | <div class="col-xs-12 col-md-12 f-family line-adjust" ng-if="risks"> | 514 | <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> | 515 | <strong>Who are your existing competitors and potential risk factors?</strong> |
516 | <p class="line-space" ></p> | 516 | <p class="line-space" ></p> |
517 | </div> | 517 | </div> |
518 | <div class="col-xs-12 col-md-12 input-wrapper" ng-if="risks"> | 518 | <div class="col-xs-12 col-md-12 input-wrapper" ng-if="risks"> |
519 | <div class="icon-circle-m"> | 519 | <div class="icon-circle-m"> |
520 | <i class="material-icons" style="line-height: 30px;">adjust</i> | 520 | <i class="material-icons" style="line-height: 30px;">adjust</i> |
521 | </div> | 521 | </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> | 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> |
523 | </div> | 523 | </div> |
524 | <div class="col-xs-12 col-md-12 f-family line-adjust" ng-if="team"> | 524 | <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> | 525 | <strong>Who all are there in your team?</strong> |
526 | <p class="line-space" >What are their backgrounds?</p> | 526 | <p class="line-space" >What are their backgrounds?</p> |
527 | </div> | 527 | </div> |
528 | <div class="col-xs-12 col-md-12 input-wrapper" ng-if="team"> | 528 | <div class="col-xs-12 col-md-12 input-wrapper" ng-if="team"> |
529 | <div class="icon-circle-n" ng-if="team"> | 529 | <div class="icon-circle-n" ng-if="team"> |
530 | <i class="material-icons" style="line-height: 30px;">games</i> | 530 | <i class="material-icons" style="line-height: 30px;">games</i> |
531 | </div> | 531 | </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> | 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> |
533 | </div> | 533 | </div> |
534 | <div class="col-xs-12 col-md-12 f-family line-adjust" ng-if="pitch"> | 534 | <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> | 535 | <strong>Provide the Google Docs link for pitch-deck/presentation (mentioning the details of your startup).</strong> |
536 | <p class="line-space" ></p> | 536 | <p class="line-space" ></p> |
537 | </div> | 537 | </div> |
538 | <div class="col-xs-12 col-md-12 input-wrapper" ng-if="pitch"> | 538 | <div class="col-xs-12 col-md-12 input-wrapper" ng-if="pitch"> |
539 | <div class="icon-circle-z"> | 539 | <div class="icon-circle-z"> |
540 | <i class="material-icons" style="line-height: 30px;">offline_pin</i> | 540 | <i class="material-icons" style="line-height: 30px;">offline_pin</i> |
541 | </div> | 541 | </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)"> | 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)"> |
543 | </div> | 543 | </div> |
544 | <div class="col-xs-12 col-md-12 f-family line-adjust" ng-if="financials"> | 544 | <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> | 545 | <strong>Provide the Google Docs link for financial projections (funding requirements of your startup).</strong> |
546 | <p class="line-space" ></p> | 546 | <p class="line-space" ></p> |
547 | </div> | 547 | </div> |
548 | <div class="col-xs-12 col-md-12 input-wrapper" ng-if="financials"> | 548 | <div class="col-xs-12 col-md-12 input-wrapper" ng-if="financials"> |
549 | <div class="icon-circle-q"> | 549 | <div class="icon-circle-q"> |
550 | <i class="material-icons" style="line-height: 30px;">timeline</i> | 550 | <i class="material-icons" style="line-height: 30px;">timeline</i> |
551 | </div> | 551 | </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)"> | 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)"> |
553 | </div> | 553 | </div> |
554 | <div class="clearfix"></div> | 554 | <div class="clearfix"></div> |
555 | </div> | 555 | </div> |
556 | <div class="identity-shadow"> | 556 | <div class="identity-shadow"> |
557 | <div class="icon-circle-ab"> | 557 | <div class="icon-circle-ab"> |
558 | <i class="material-icons" style="line-height: 30px;">perm_identity</i> | 558 | <i class="material-icons" style="line-height: 30px;">perm_identity</i> |
559 | </div> | 559 | </div> |
560 | <div class="identity-question"> | 560 | <div class="identity-question"> |
561 | <div class="col-xs-12 font f-family" style="margin:10px 10px 0px 10px;"> | 561 | <div class="col-xs-12 font f-family" style="margin:10px 10px 0px 10px;"> |
562 | <b>Who are you?</b> | 562 | <b>Who are you?</b> |
563 | <p style="color:grey">kindly choose one option.</p> | 563 | <p style="color:grey">kindly choose one option.</p> |
564 | </div> | 564 | </div> |
565 | <div class="clearfix"></div> | 565 | <div class="clearfix"></div> |
566 | </div> | 566 | </div> |
567 | <div class="stages identity-align"> | 567 | <div class="stages identity-align"> |
568 | <div class="col-xs-12"> | 568 | <div class="col-xs-12"> |
569 | <label class="card-small margin-right-label"> | 569 | <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'"> | 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'"> |
571 | <!-- <img src="images/RURAL_ICON.png"> --> | 571 | <!-- <img src="images/RURAL_ICON.png"> --> |
572 | <label class="f-family pull-left width-auto" for="studentRadio">Student</label> | 572 | <label class="f-family pull-left width-auto" for="studentRadio">Student</label> |
573 | </label> | 573 | </label> |
574 | <label class="card-small margin-right-label"> | 574 | <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'"> | 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'"> |
576 | <!-- <img src="images/education.png"> --> | 576 | <!-- <img src="images/education.png"> --> |
577 | <label class="f-family pull-left width-auto" for="othersRadio">Others</label> | 577 | <label class="f-family pull-left width-auto" for="othersRadio">Others</label> |
578 | </label> | 578 | </label> |
579 | </div> | 579 | </div> |
580 | </div> | 580 | </div> |
581 | <!-- CLOSE stages identity-align --> | 581 | <!-- CLOSE stages identity-align --> |
582 | <div class="clearfix"></div> | 582 | <div class="clearfix"></div> |
583 | </div> | 583 | </div> |
584 | <!-- CLOSE identity-shadow --> | 584 | <!-- CLOSE identity-shadow --> |
585 | <div class="col-xs-12 input-wrapper"> | 585 | <div class="col-xs-12 input-wrapper"> |
586 | <div class="referel-icon" style="z-index: 999;"> | 586 | <div class="referel-icon" style="z-index: 999;"> |
587 | <i class="material-icons" style="line-height: 30px;">code</i> | 587 | <i class="material-icons" style="line-height: 30px;">code</i> |
588 | </div> | 588 | </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)"> | 589 | <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> | 590 | <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> | 591 | <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> | 592 | <button type="button" ng-click="tokenCall(data.referalToken)" class="pull-right apply-coupen-btn">Apply</button> |
593 | </div> | 593 | </div> |
594 | <div class="clearfix"></div> | 594 | <div class="clearfix"></div> |
595 | <div class="text-center"> | 595 | <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()"> | 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()"> |
597 | </div> | 597 | </div> |
598 | </div> | 598 | </div> |
599 | <!-- CLOSE step-two-form --> | 599 | <!-- CLOSE step-two-form --> |
600 | </div> | 600 | </div> |
601 | <!-- col-xs-12 col-md-8 col-md-offset-2 --> | 601 | <!-- col-xs-12 col-md-8 col-md-offset-2 --> |
602 | </form> | 602 | </form> |
603 | <!-- CLOSE FORM --> | 603 | <!-- CLOSE FORM --> |
604 | <footer> | 604 | <footer> |
605 | <img id="footer" class="img-responsive banner"> | 605 | <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> | 606 | <center class="footer"> Powered By <a class="footer-link" href="http://www.viithiisys.com/" target="_blank">Viithiisys Technolgies.</a> </center> |
607 | </footer> | 607 | </footer> |
608 | <!-- </div> CLOSE CHECK VIEW --> | 608 | <!-- </div> CLOSE CHECK VIEW --> |
609 | <div ng-if="verifyView"> | 609 | <div ng-if="verifyView"> |
610 | <div style="margin-bottom: 0px;" class="text-center"> | 610 | <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()"> | 611 | <input type="button" class="btn submit-button" ng-disabled="applicantForm.$invalid" value="check the status" ng-click="update()"> |
612 | </div> | 612 | </div> |
613 | </div> | 613 | </div> |
614 | </div> <!-- CLOSE NEW-CONTROLLER --> | 614 | </div> <!-- CLOSE NEW-CONTROLLER --> |
615 | <!-- <div id="snacsskbar">Registration done successfully.</div> | 615 | <!-- <div id="snacsskbar">Registration done successfully.</div> |
616 | --><div class="modal fade" id="myModal" role="dialog"> | 616 | --><div class="modal fade" id="myModal" role="dialog"> |
617 | <div class="modal-dialog" style="left: auto;"> | 617 | <div class="modal-dialog" style="left: auto;"> |
618 | <div class="modal-content"> | 618 | <div class="modal-content"> |
619 | <h4 style="text-align:center;">Congratulations, you are now eligible for:</h4> | 619 | <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"> | 620 | <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"> | 621 | <tbody style="background-color:#f9f9f9"> |
622 | <tr> | 622 | <tr> |
623 | <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td> | 623 | <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td> |
624 | </tr> | 624 | </tr> |
625 | <tr> | 625 | <tr> |
626 | <td align="left" valign="top" style="padding:10px"> | 626 | <td align="left" valign="top" style="padding:10px"> |
627 | <table width="100%" border="0" cellspacing="0" cellpadding="0"> | 627 | <table width="100%" border="0" cellspacing="0" cellpadding="0"> |
628 | <tbody> | 628 | <tbody> |
629 | <tr> | 629 | <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> | 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> |
631 | </tr> | 631 | </tr> |
632 | </tbody> | 632 | </tbody> |
633 | </table> | 633 | </table> |
634 | </td> | 634 | </td> |
635 | </tr> | 635 | </tr> |
636 | </tbody> | 636 | </tbody> |
637 | <tbody> | 637 | <tbody> |
638 | <tr> | 638 | <tr> |
639 | <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td> | 639 | <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td> |
640 | </tr> | 640 | </tr> |
641 | <tr> | 641 | <tr> |
642 | <td align="left" valign="top" style="padding:10px"> | 642 | <td align="left" valign="top" style="padding:10px"> |
643 | <table width="100%" border="0" cellspacing="0" cellpadding="0"> | 643 | <table width="100%" border="0" cellspacing="0" cellpadding="0"> |
644 | <tbody> | 644 | <tbody> |
645 | <tr> | 645 | <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> | 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> |
647 | <td align="right" valign="middle" style="color:#5e5e5e;font-size:18px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">{{ticketAmnt}}</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> |
648 | </tr> | 648 | </tr> |
649 | </tbody> | 649 | </tbody> |
650 | </table> | 650 | </table> |
651 | </td> | 651 | </td> |
652 | </tr> | 652 | </tr> |
653 | <tr> | 653 | <tr> |
654 | <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td> | 654 | <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td> |
655 | </tr> | 655 | </tr> |
656 | <tr> | 656 | <tr> |
657 | <td align="left" valign="top" style="padding:10px"> | 657 | <td align="left" valign="top" style="padding:10px"> |
658 | <table width="100%" border="0" cellspacing="0" cellpadding="0"> | 658 | <table width="100%" border="0" cellspacing="0" cellpadding="0"> |
659 | <tbody> | 659 | <tbody> |
660 | <tr> | 660 | <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> | 661 | <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> | 662 | <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> | 663 | </tr> |
664 | </tbody> | 664 | </tbody> |
665 | </table> | 665 | </table> |
666 | </td> | 666 | </td> |
667 | </tr> | 667 | </tr> |
668 | <tr> | 668 | <tr> |
669 | <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td> | 669 | <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td> |
670 | </tr> | 670 | </tr> |
671 | <tr> | 671 | <tr> |
672 | <td align="left" valign="top" style="padding:10px"> | 672 | <td align="left" valign="top" style="padding:10px"> |
673 | <table width="100%" border="0" cellspacing="0" cellpadding="0"> | 673 | <table width="100%" border="0" cellspacing="0" cellpadding="0"> |
674 | <tbody> | 674 | <tbody> |
675 | <tr> | 675 | <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> | 676 | <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> | 677 | <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> | 678 | </tr> |
679 | </tbody> | 679 | </tbody> |
680 | </table> | 680 | </table> |
681 | </td> | 681 | </td> |
682 | </tr> | 682 | </tr> |
683 | <tr> | 683 | <tr> |
684 | <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td> | 684 | <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td> |
685 | </tr> | 685 | </tr> |
686 | <tr> | 686 | <tr> |
687 | <td align="left" valign="top" bgcolor="#f9f9f9" style="padding:10px"> | 687 | <td align="left" valign="top" bgcolor="#f9f9f9" style="padding:10px"> |
688 | <table width="100%" border="0" cellspacing="0" cellpadding="0"> | 688 | <table width="100%" border="0" cellspacing="0" cellpadding="0"> |
689 | <tbody> | 689 | <tbody> |
690 | <tr> | 690 | <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> | 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> |
692 | <td align="right" valign="middle" style="color:#29bd9d;font-size:24px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">{{payingAmnt}}</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> |
693 | </tr> | 693 | </tr> |
694 | </tbody> | 694 | </tbody> |
695 | </table> | 695 | </table> |
696 | </td> | 696 | </td> |
697 | </tr> | 697 | </tr> |
698 | <tr> | 698 | <tr> |
699 | <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td> | 699 | <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td> |
700 | </tr> | 700 | </tr> |
701 | </tbody> | 701 | </tbody> |
702 | </table> | 702 | </table> |
703 | <div style="text-align:center;margin-bottom:5%"> | 703 | <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> | 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> |
705 | </div> | 705 | </div> |
706 | </div> | 706 | </div> |
707 | </div> | 707 | </div> |
708 | </div> | 708 | </div> |
709 | 709 | ||
710 | <div class="modal fade" id="videoModel" role="dialog" ng-click="closeModal()"> | 710 | <div class="modal fade" id="videoModel" role="dialog" ng-click="closeModal()"> |
711 | <div class="modal-dialog" style="left: auto;"> | 711 | <div class="modal-dialog" style="left: auto;"> |
712 | <div class="modal-content" > | ||
713 | |||
712 | <div class="modal-content"> | 714 | <div class="modal-body" style="text-align: right;" > |
713 | <div class="modal-body"> | 715 | <i class="material-icons" style="cursor: pointer;" data-dismiss="modal" ng-click="closeModal()">clear</i> |
714 | <iframe width="560" id="youtubePlayer" height="315" src="https://www.youtube.com/embed/8i1bLQ7jS0I" frameborder="0" allowfullscreen></iframe> | 716 | <iframe width="560" id="youtubePlayer" height="315" src="https://www.youtube.com/embed/8i1bLQ7jS0I" frameborder="0" allowfullscreen></iframe> |
715 | </div> | ||
716 | <!-- <div class="modal-footers" style="text-align: center;margin-bottom: 5px;"> | ||
717 | <button type="button" class="btn btn-default" data-dismiss="modal" ng-click="closeModal()">Close</button> | 717 | </div> |
718 | </div> --> | 718 | |
719 | </div> | 719 | </div> |
720 | </div> | 720 | </div> |
721 | </div> | 721 | </div> |
722 | 722 | ||
723 | 723 | ||
724 | <div class="modal fade" id="videoModels" role="dialog" ng-click="closeModal()"> | 724 | <div class="modal fade" id="videoModels" role="dialog" ng-click="closed()"> |
725 | <div class="modal-dialog" style="left: auto;"> | 725 | <div class="modal-dialog" style="left: auto;"> |
726 | <div class="modal-content"> | 726 | <div class="modal-content"> |
727 | <div class="modal-body" style="text-align: right;" > | ||
727 | <div class="modal-body"> | 728 | <i class="material-icons" style="cursor: pointer;" data-dismiss="modal" ng-click="closed()">clear</i> |
728 | <iframe width="560" id="youtubePlayer" height="315" src="https://www.youtube.com/embed/oBqdz-p3R6Y" frameborder="0" allowfullscreen></iframe> | 729 | <iframe width="560" id="youtubePlayersss" height="315" src="https://www.youtube.com/embed/oBqdz-p3R6Y" frameborder="0" allowfullscreen></iframe> |
729 | </div> | ||
730 | <!-- <div class="modal-footers" style="text-align: center;margin-bottom: 5px;"> | ||
731 | <button type="button" class="btn btn-default" data-dismiss="modal" ng-click="closeModal()">Close</button> | 730 | </div> |
732 | </div> --> | 731 | |
733 | </div> | 732 | </div> |
734 | </div> | 733 | </div> |
735 | </div> | 734 | </div> |
736 | 735 | ||
737 | 736 | ||
738 | 737 | ||
739 | 738 |
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']); |
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('/paymentVerification/:id', { | 15 | .when('/paymentVerification/: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.constant("BASE_URL", "http://139.59.68.74:4001/api") |
35 | //scotchApp.constant("BASE_URL", "http://0.0.0.0:4001/api") | 35 | //scotchApp.constant("BASE_URL", "http://0.0.0.0:4001/api") |
36 | 36 | ||
37 | // create the controller and inject Angular's $scope | 37 | // create the controller and inject Angular's $scope |
38 | scotchApp.controller('mainController', function($scope, $http, $location, $route, $rootScope, BASE_URL) { | 38 | scotchApp.controller('mainController', function($scope, $http, $location, $route, $rootScope, BASE_URL) { |
39 | $scope.data = { | 39 | $scope.data = { |
40 | show: true, | 40 | show: true, |
41 | hide: false | 41 | hide: false |
42 | }; | 42 | }; |
43 | 43 | ||
44 | $scope.infoForm = false; /*THIS CODE FOR HIDE STEP 2 FORM*/ | 44 | $scope.infoForm = false; /*THIS CODE FOR HIDE STEP 2 FORM*/ |
45 | 45 | ||
46 | $scope.max = 100; | 46 | $scope.max = 100; |
47 | $scope.current = 0; | 47 | $scope.current = 0; |
48 | $scope.payingAmnt = 0; | 48 | $scope.payingAmnt = 0; |
49 | if ($scope.data.stage == 'select') { | 49 | if ($scope.data.stage == 'select') { |
50 | 50 | ||
51 | } | 51 | } |
52 | 52 | ||
53 | $scope.author = 'Swarn Singh'; | 53 | $scope.author = 'Swarn Singh'; |
54 | $scope.data = {}; | 54 | $scope.data = {}; |
55 | $scope.data.stage = 'Idea'; | 55 | $scope.data.stage = 'Idea'; |
56 | $scope.discountAmount = 0; | 56 | $scope.discountAmount = 0; |
57 | $scope.check = false; | 57 | $scope.check = false; |
58 | $scope.numberCheck = false; | 58 | $scope.numberCheck = false; |
59 | $scope.paymentResult = {}; | 59 | $scope.paymentResult = {}; |
60 | var data = { | 60 | var data = { |
61 | "amount": $scope.payingAmnt, | 61 | "amount": $scope.payingAmnt, |
62 | "currency": "INR", | 62 | "currency": "INR", |
63 | "status": "pending" | 63 | "status": "pending" |
64 | } | 64 | } |
65 | 65 | ||
66 | /*open videos in modal*/ | 66 | /*open videos in modal*/ |
67 | $scope.openyoutube16 = function(){ | 67 | $scope.openyoutube16 = function(){ |
68 | $('#videoModel').modal('show'); | 68 | $('#videoModel').modal('show'); |
69 | } | 69 | } |
70 | 70 | ||
71 | $scope.openyoutube17 = function(){ | 71 | $scope.openyoutube17 = function(){ |
72 | $('#videoModels').modal('show'); | 72 | $('#videoModels').modal('show'); |
73 | } | 73 | } |
74 | 74 | ||
75 | $scope.closeModal = function(){ | 75 | $scope.closeModal = function(){ |
76 | var url = $('#youtubePlayer').attr('src'); | 76 | var url = $('#youtubePlayer').attr('src'); |
77 | $('#youtubePlayer').attr('src', ''); | 77 | $('#youtubePlayer').attr('src', ''); |
78 | $('#youtubePlayer').attr('src', url); | ||
79 | } | ||
80 | |||
81 | |||
82 | $scope.closed = function(){ | ||
83 | var url = $('#youtubePlayersss').attr('src'); | ||
84 | $('#youtubePlayersss').attr('src', ''); | ||
78 | $('#youtubePlayer').attr('src', url); | 85 | $('#youtubePlayersss').attr('src', url); |
79 | } | 86 | } |
80 | /*open videos ends here*/ | 87 | /*open videos ends here*/ |
81 | 88 | ||
82 | $scope.removeError = function() { | 89 | $scope.removeError = function() { |
83 | $('#invalidEmail').css('display', 'none'); | 90 | $('#invalidEmail').css('display', 'none'); |
84 | $('#alreadyExist').css('display', 'none'); | 91 | $('#alreadyExist').css('display', 'none'); |
85 | }; | 92 | }; |
86 | 93 | ||
87 | $scope.emailcheck = function(val) { | 94 | $scope.emailcheck = function(val) { |
88 | if (val == undefined) { | 95 | if (val == undefined) { |
89 | $('#invalidEmail').css('display', 'block'); | 96 | $('#invalidEmail').css('display', 'block'); |
90 | } else { | 97 | } else { |
91 | $http({ | 98 | $http({ |
92 | method: 'GET', | 99 | method: 'GET', |
93 | url: BASE_URL + '/applicants?filter={"where": {"email": {"like":"%25' + $scope.data.email + '%25"}}}', | 100 | url: BASE_URL + '/applicants?filter={"where": {"email": {"like":"%25' + $scope.data.email + '%25"}}}', |
94 | headers: {} | 101 | headers: {} |
95 | }).then(function mySuccess(searchResult) { | 102 | }).then(function mySuccess(searchResult) { |
96 | console.log("searchResult1===>", searchResult) | 103 | console.log("searchResult1===>", searchResult) |
97 | if (searchResult.data.length == 0) { | 104 | if (searchResult.data.length == 0) { |
98 | $scope.check = false; | 105 | $scope.check = false; |
99 | } else { | 106 | } else { |
100 | $scope.check = true; | 107 | $scope.check = true; |
101 | $('#alreadyExist').css('display', 'block'); | 108 | $('#alreadyExist').css('display', 'block'); |
102 | } | 109 | } |
103 | }, function myError(error) {}); | 110 | }, function myError(error) {}); |
104 | } | 111 | } |
105 | }; | 112 | }; |
106 | 113 | ||
107 | $scope.removeNoError = function() { | 114 | $scope.removeNoError = function() { |
108 | $('#noExist').css('display', 'none'); | 115 | $('#noExist').css('display', 'none'); |
109 | }; | 116 | }; |
110 | 117 | ||
111 | $scope.numbercheck = function(number) { | 118 | $scope.numbercheck = function(number) { |
112 | $http({ | 119 | $http({ |
113 | method: 'GET', | 120 | method: 'GET', |
114 | url: BASE_URL + '/applicants?filter={"where": {"phone": {"like":"%25' + number + '%25"}}}', | 121 | url: BASE_URL + '/applicants?filter={"where": {"phone": {"like":"%25' + number + '%25"}}}', |
115 | data: $scope.data, | 122 | data: $scope.data, |
116 | headers: {} | 123 | headers: {} |
117 | }).then(function mySuccess(searchResult) { | 124 | }).then(function mySuccess(searchResult) { |
118 | console.log("searchResult===>", searchResult) | 125 | console.log("searchResult===>", searchResult) |
119 | if (searchResult.data.length == 0) { | 126 | if (searchResult.data.length == 0) { |
120 | $scope.numberCheck = false; | 127 | $scope.numberCheck = false; |
121 | 128 | ||
122 | } else { | 129 | } else { |
123 | $scope.numberCheck = true; | 130 | $scope.numberCheck = true; |
124 | $('#noExist').css('display', 'block'); | 131 | $('#noExist').css('display', 'block'); |
125 | } | 132 | } |
126 | }, function myError(error) {}); | 133 | }, function myError(error) {}); |
127 | }; | 134 | }; |
128 | 135 | ||
129 | $rootScope.tokenCall = function(val) { | 136 | $rootScope.tokenCall = function(val) { |
130 | console.log('val-------->', val); | 137 | console.log('val-------->', val); |
131 | if (val == undefined) { | 138 | if (val == undefined) { |
132 | $('#invalidEmail').css('display', 'block'); | 139 | $('#invalidEmail').css('display', 'block'); |
133 | } else { | 140 | } else { |
134 | val = val.toUpperCase(); | 141 | val = val.toUpperCase(); |
135 | $http.get(BASE_URL + '/ambassadors?filter={"where": {"referalToken": {"like":"%25' + val + '%25"}}}') | 142 | $http.get(BASE_URL + '/ambassadors?filter={"where": {"referalToken": {"like":"%25' + val + '%25"}}}') |
136 | .then(function(searchResult) { | 143 | .then(function(searchResult) { |
137 | if (searchResult.data.length == 0) { | 144 | if (searchResult.data.length == 0) { |
138 | $scope.tokencheck = false; | 145 | $scope.tokencheck = false; |
139 | $scope.discountAmount = 0; | 146 | $scope.discountAmount = 0; |
140 | } else { | 147 | } else { |
141 | $scope.tokencheck = true; | 148 | $scope.tokencheck = true; |
142 | } | 149 | } |
143 | },function(err){ | 150 | },function(err){ |
144 | console.log(err) | 151 | console.log(err) |
145 | }); | 152 | }); |
146 | 153 | ||
147 | } | 154 | } |
148 | }; | 155 | }; |
149 | 156 | ||
150 | /*THIS CODE FOR ENABLED SUBMIT BUTTON AFTER UPLOAD IMAGE*/ | 157 | /*THIS CODE FOR ENABLED SUBMIT BUTTON AFTER UPLOAD IMAGE*/ |
151 | $(document).ready( | 158 | $(document).ready( |
152 | function() { | 159 | function() { |
153 | $('input:submit').attr('disabled', true); | 160 | $('input:submit').attr('disabled', true); |
154 | $('input:file').change( | 161 | $('input:file').change( |
155 | function() { | 162 | function() { |
156 | if ($("#picture").val()) { | 163 | if ($("#picture").val()) { |
157 | $('input:submit').removeAttr('disabled'); | 164 | $('input:submit').removeAttr('disabled'); |
158 | } else { | 165 | } else { |
159 | $('input:submit').attr('disabled', true); | 166 | $('input:submit').attr('disabled', true); |
160 | } | 167 | } |
161 | }); | 168 | }); |
162 | }); | 169 | }); |
163 | 170 | ||
164 | /*****THIS IS FOR STEP ONE FORM ******/ | 171 | /*****THIS IS FOR STEP ONE FORM ******/ |
165 | $scope.next = function() { | 172 | $scope.next = function() { |
166 | $scope.data.status = null | 173 | $scope.data.status = null |
167 | if ($scope.data.stage == undefined || $scope.data.name == undefined || $scope.data.email == undefined || $scope.data.number == undefined || $scope.data.city == undefined) { | 174 | if ($scope.data.stage == undefined || $scope.data.name == undefined || $scope.data.email == undefined || $scope.data.number == undefined || $scope.data.city == undefined) { |
168 | var x = document.getElementById("snackbar") | 175 | var x = document.getElementById("snackbar") |
169 | x.className = "show"; | 176 | x.className = "show"; |
170 | setTimeout(function() { | 177 | setTimeout(function() { |
171 | x.className = x.className.replace("show", ""); | 178 | x.className = x.className.replace("show", ""); |
172 | }, 3000); | 179 | }, 3000); |
173 | } else if ($scope.data.stage != undefined && $scope.data.name != undefined && $scope.data.email != undefined && $scope.data.number != undefined && $scope.data.city != undefined) { | 180 | } else if ($scope.data.stage != undefined && $scope.data.name != undefined && $scope.data.email != undefined && $scope.data.number != undefined && $scope.data.city != undefined) { |
174 | $scope.infoForm = true; | 181 | $scope.infoForm = true; |
175 | console.log("sdasdasdsa"); | 182 | console.log("sdasdasdsa"); |
176 | $scope.data.stage = $scope.data.stage; | 183 | $scope.data.stage = $scope.data.stage; |
177 | $scope.detail = {}; | 184 | $scope.detail = {}; |
178 | $scope.data.phone = "+91" + $scope.data.number; | 185 | $scope.data.phone = "+91" + $scope.data.number; |
179 | $http({ | 186 | $http({ |
180 | method: 'POST', | 187 | method: 'POST', |
181 | url: BASE_URL + '/information', | 188 | url: BASE_URL + '/information', |
182 | data: $scope.data, | 189 | data: $scope.data, |
183 | headers: {} | 190 | headers: {} |
184 | }).then(function mySuccess(result) { | 191 | }).then(function mySuccess(result) { |
185 | console.log("result", result) | 192 | console.log("result", result) |
186 | $scope.detail = result; | 193 | $scope.detail = result; |
187 | data.applicantId = result.data.id; | 194 | data.applicantId = result.data.id; |
188 | $scope.userId = result.data.id; | 195 | $scope.userId = result.data.id; |
189 | 196 | ||
190 | }, function myError(error) {}); | 197 | }, function myError(error) {}); |
191 | } | 198 | } |
192 | 199 | ||
193 | } | 200 | } |
194 | 201 | ||
195 | $scope.calculateAmount = function(){ | 202 | $scope.calculateAmount = function(){ |
196 | 203 | ||
197 | if ($scope.data.stage == undefined || $scope.data.name == undefined || $scope.data.email == undefined || $scope.data.number == undefined || $scope.data.city == undefined) { | 204 | if ($scope.data.stage == undefined || $scope.data.name == undefined || $scope.data.email == undefined || $scope.data.number == undefined || $scope.data.city == undefined) { |
198 | var x = document.getElementById("snackbar") | 205 | var x = document.getElementById("snackbar") |
199 | x.className = "show"; | 206 | x.className = "show"; |
200 | setTimeout(function() { | 207 | setTimeout(function() { |
201 | x.className = x.className.replace("show", ""); | 208 | x.className = x.className.replace("show", ""); |
202 | }, 3000); | 209 | }, 3000); |
203 | } else if ($scope.data.stage != undefined && $scope.data.name != undefined && $scope.data.email != undefined && $scope.data.number != undefined && $scope.data.city != undefined) { | 210 | } else if ($scope.data.stage != undefined && $scope.data.name != undefined && $scope.data.email != undefined && $scope.data.number != undefined && $scope.data.city != undefined) { |
204 | $scope.infoForm = true; | 211 | $scope.infoForm = true; |
205 | console.log("sdasdasdsa"); | 212 | console.log("sdasdasdsa"); |
206 | $scope.data.stage = $scope.data.stage; | 213 | $scope.data.stage = $scope.data.stage; |
207 | $scope.detail = {}; | 214 | $scope.detail = {}; |
208 | $scope.data.phone = "+91" + $scope.data.number; | 215 | $scope.data.phone = "+91" + $scope.data.number; |
209 | $http({ | 216 | $http({ |
210 | method: 'POST', | 217 | method: 'POST', |
211 | url: BASE_URL + '/applicants', | 218 | url: BASE_URL + '/applicants', |
212 | data: $scope.data, | 219 | data: $scope.data, |
213 | headers: {} | 220 | headers: {} |
214 | }).then(function mySuccess(result) { | 221 | }).then(function mySuccess(result) { |
215 | console.log("result", result) | 222 | console.log("result", result) |
216 | $scope.detail = result; | 223 | $scope.detail = result; |
217 | data.applicantId = result.data.id; | 224 | data.applicantId = result.data.id; |
218 | $scope.userId = result.data.id; | 225 | $scope.userId = result.data.id; |
219 | 226 | ||
220 | }, function myError(error) {}); | 227 | }, function myError(error) {}); |
221 | } | 228 | } |
222 | 229 | ||
223 | if ($scope.data.stage == "Idea") { | 230 | if ($scope.data.stage == "Idea") { |
224 | console.log("$scope.data", $scope.data) | 231 | console.log("$scope.data", $scope.data) |
225 | $scope.ticketAmnt = 500; | 232 | $scope.ticketAmnt = 500; |
226 | } | 233 | } |
227 | 234 | ||
228 | if ($scope.data.stage == "Product") { | 235 | if ($scope.data.stage == "Product") { |
229 | $scope.ticketAmnt = 1000; | 236 | $scope.ticketAmnt = 1000; |
230 | } | 237 | } |
231 | 238 | ||
232 | if ($scope.data.stage == "Growth") { | 239 | if ($scope.data.stage == "Growth") { |
233 | $scope.ticketAmnt = 2000; | 240 | $scope.ticketAmnt = 2000; |
234 | } | 241 | } |
235 | 242 | ||
236 | if($scope.tokencheck == true){ | 243 | if($scope.tokencheck == true){ |
237 | var amount = $scope.ticketAmnt | 244 | var amount = $scope.ticketAmnt |
238 | $scope.discountAmount = (amount * 10)/100 | 245 | $scope.discountAmount = (amount * 10)/100 |
239 | console.log("finalAmount====>",$scope.payingAmnt) | 246 | console.log("finalAmount====>",$scope.payingAmnt) |
240 | } | 247 | } |
241 | 248 | ||
242 | var taxAmount = $scope.ticketAmnt - $scope.discountAmount | 249 | var taxAmount = $scope.ticketAmnt - $scope.discountAmount |
243 | $scope.taxTotal = (taxAmount * 18)/100 | 250 | $scope.taxTotal = (taxAmount * 18)/100 |
244 | $scope.payingAmnt = taxAmount + $scope.taxTotal | 251 | $scope.payingAmnt = taxAmount + $scope.taxTotal |
245 | console.log("taxincludedamount----", $scope.payingAmnt) | 252 | console.log("taxincludedamount----", $scope.payingAmnt) |
246 | } | 253 | } |
247 | 254 | ||
248 | /*****THIS IS FOR STEP THREE FORM ******/ | 255 | /*****THIS IS FOR STEP THREE FORM ******/ |
249 | $scope.create = function() { | 256 | $scope.create = function() { |
250 | // if ($scope.data.name == undefined || $scope.data.email == undefined || $scope.data.number == undefined) { | 257 | // if ($scope.data.name == undefined || $scope.data.email == undefined || $scope.data.number == undefined) { |
251 | // var x = document.getElementById("snackbar") | 258 | // var x = document.getElementById("snackbar") |
252 | // x.className = "show"; | 259 | // x.className = "show"; |
253 | // setTimeout(function() { | 260 | // setTimeout(function() { |
254 | // x.className = x.className.replace("show", ""); | 261 | // x.className = x.className.replace("show", ""); |
255 | // }, 3000); | 262 | // }, 3000); |
256 | // } else if ($scope.data.name != undefined && $scope.data.email != undefined && $scope.data.number != undefined) { | 263 | // } else if ($scope.data.name != undefined && $scope.data.email != undefined && $scope.data.number != undefined) { |
257 | // $scope.infoForm = true; | 264 | // $scope.infoForm = true; |
258 | // console.log("sdasdasdsa"); | 265 | // console.log("sdasdasdsa"); |
259 | // $scope.data.stage = $scope.data.stage; | 266 | // $scope.data.stage = $scope.data.stage; |
260 | // $scope.detail = {}; | 267 | // $scope.detail = {}; |
261 | // $scope.data.phone = "+91" + $scope.data.number; | 268 | // $scope.data.phone = "+91" + $scope.data.number; |
262 | // $http({ | 269 | // $http({ |
263 | // method: 'POST', | 270 | // method: 'POST', |
264 | // url: BASE_URL + '/applicants', | 271 | // url: BASE_URL + '/applicants', |
265 | // data: $scope.data, | 272 | // data: $scope.data, |
266 | // headers: {} | 273 | // headers: {} |
267 | // }).then(function mySuccess(result) { | 274 | // }).then(function mySuccess(result) { |
268 | 275 | ||
269 | // console.log("=====result=====", result) | 276 | // console.log("=====result=====", result) |
270 | // $scope.detail = result; | 277 | // $scope.detail = result; |
271 | // data.applicantId = result.data.id; | 278 | // data.applicantId = result.data.id; |
272 | // $scope.userId = result.data.id; | 279 | // $scope.userId = result.data.id; |
273 | // console.log("=====data=====", data) | 280 | // console.log("=====data=====", data) |
274 | data.amount = $scope.payingAmnt; | 281 | data.amount = $scope.payingAmnt; |
275 | if ($scope.detail != null) { | 282 | if ($scope.detail != null) { |
276 | $http({ | 283 | $http({ |
277 | method: 'POST', | 284 | method: 'POST', |
278 | url: BASE_URL + '/payments', | 285 | url: BASE_URL + '/payments', |
279 | data: data, | 286 | data: data, |
280 | headers: {} | 287 | headers: {} |
281 | }).then(function mySuccess(paymentResult) { | 288 | }).then(function mySuccess(paymentResult) { |
282 | console.log("paymentResult",paymentResult) | 289 | console.log("paymentResult",paymentResult) |
283 | $scope.paymentResult = paymentResult; | 290 | $scope.paymentResult = paymentResult; |
284 | }, function myError(error) {}); | 291 | }, function myError(error) {}); |
285 | } | 292 | } |
286 | var i = 0; | 293 | var i = 0; |
287 | $scope.payingAmnt = $scope.payingAmnt * 100; | 294 | $scope.payingAmnt = $scope.payingAmnt * 100; |
288 | var options = { | 295 | var options = { |
289 | "key": "rzp_test_YwHsVFiDIQ2WUQ", | 296 | "key": "rzp_test_YwHsVFiDIQ2WUQ", |
290 | "amount": $scope.payingAmnt, | 297 | "amount": $scope.payingAmnt, |
291 | 298 | ||
292 | "name": "Startup Jalsa", | 299 | "name": "Startup Jalsa", |
293 | "description": "amount", | 300 | "description": "amount", |
294 | "currency": "INR", | 301 | "currency": "INR", |
295 | "status": "done", | 302 | "status": "done", |
296 | 303 | ||
297 | "theme": { | 304 | "theme": { |
298 | "color": "#2196f3 ", | 305 | "color": "#2196f3 ", |
299 | "image_padding": "NO" | 306 | "image_padding": "NO" |
300 | }, | 307 | }, |
301 | "modal": { | 308 | "modal": { |
302 | "ondismiss": function() {} | 309 | "ondismiss": function() {} |
303 | }, | 310 | }, |
304 | "handler": function(response) { | 311 | "handler": function(response) { |
305 | createPayment(response); | 312 | createPayment(response); |
306 | } | 313 | } |
307 | }; | 314 | }; |
308 | var rzp1 = new Razorpay(options); | 315 | var rzp1 = new Razorpay(options); |
309 | rzp1.open(); | 316 | rzp1.open(); |
310 | $scope.paymentResponse = {}; | 317 | $scope.paymentResponse = {}; |
311 | 318 | ||
312 | function createPayment(response) { | 319 | function createPayment(response) { |
313 | console.log("response====from===razorpay",response) | 320 | console.log("response====from===razorpay",response) |
314 | $route.reload(); | 321 | $route.reload(); |
315 | $scope.paymentResponse.razorPaymentId = response.razorpay_payment_id; | 322 | $scope.paymentResponse.razorPaymentId = response.razorpay_payment_id; |
316 | $scope.paymentResponse.razorOrderId = $scope.paymentResult.data.razorOrderId; | 323 | $scope.paymentResponse.razorOrderId = $scope.paymentResult.data.razorOrderId; |
317 | $scope.paymentResponse.amount = data.amount; | 324 | $scope.paymentResponse.amount = data.amount; |
318 | $scope.paymentResponse.currency = "INR"; | 325 | $scope.paymentResponse.currency = "INR"; |
319 | $scope.paymentResponse.status = $scope.paymentResult.data.status; | 326 | $scope.paymentResponse.status = $scope.paymentResult.data.status; |
320 | $http({ | 327 | $http({ |
321 | method: 'PUT', | 328 | method: 'PUT', |
322 | url: BASE_URL + '/payments/' + $scope.paymentResult.data.id, | 329 | url: BASE_URL + '/payments/' + $scope.paymentResult.data.id, |
323 | data: $scope.paymentResponse, | 330 | data: $scope.paymentResponse, |
324 | headers: {} | 331 | headers: {} |
325 | }).then(function mySuccess(searchResult) { | 332 | }).then(function mySuccess(searchResult) { |
326 | console.log("searchResult", searchResult) | 333 | console.log("searchResult", searchResult) |
327 | $location.path("/confirmation") | 334 | $location.path("/confirmation") |
328 | //$scope.showToastr() | 335 | //$scope.showToastr() |
329 | //toaster.success("Registration done successfully"); | 336 | //toaster.success("Registration done successfully"); |
330 | 337 | ||
331 | }, function myError(error) {}); | 338 | }, function myError(error) {}); |
332 | } | 339 | } |
333 | 340 | ||
334 | //}, function myError(error) {}); | 341 | //}, function myError(error) {}); |
335 | //} | 342 | //} |
336 | 343 | ||
337 | } | 344 | } |
338 | 345 | ||
339 | // $scope.showToastr = function() { | 346 | // $scope.showToastr = function() { |
340 | // console.log("called toast") | 347 | // console.log("called toast") |
341 | // var x = document.getElementById("snacsskbar") | 348 | // var x = document.getElementById("snacsskbar") |
342 | // x.className = "show"; | 349 | // x.className = "show"; |
343 | // setTimeout(function() { | 350 | // setTimeout(function() { |
344 | // x.className = x.className.replace("show", ""); | 351 | // x.className = x.className.replace("show", ""); |
345 | // }, 3000); | 352 | // }, 3000); |
346 | // } | 353 | // } |
347 | 354 | ||
348 | /*kk***This code for change data when click to chooses stages***/ | 355 | /*kk***This code for change data when click to chooses stages***/ |
349 | $scope.proto = true; | 356 | $scope.proto = true; |
350 | $scope.businessmodel = true; | 357 | $scope.businessmodel = true; |
351 | $scope.Idea = true; | 358 | $scope.Idea = true; |
352 | $scope.current = true; | 359 | $scope.current = true; |
353 | 360 | ||
354 | $scope.stage = function(stage) { | 361 | $scope.stage = function(stage) { |
355 | $scope.stagekeyPress(); | 362 | $scope.stagekeyPress(); |
356 | console.log("stage--2",stage) | 363 | console.log("stage--2",stage) |
357 | if (stage == 'Idea') { | 364 | if (stage == 'Idea') { |
358 | $scope.current = 10; | 365 | $scope.current = 10; |
359 | $scope.proto = true; | 366 | $scope.proto = true; |
360 | $scope.prototyp = false; | 367 | $scope.prototyp = false; |
361 | $scope.market = false; | 368 | $scope.market = false; |
362 | $scope.risks = false; | 369 | $scope.risks = false; |
363 | $scope.team = false; | 370 | $scope.team = false; |
364 | $scope.pitch = false; | 371 | $scope.pitch = false; |
365 | $scope.financials = false; | 372 | $scope.financials = false; |
366 | $scope.businessmodel = true; | 373 | $scope.businessmodel = true; |
367 | $scope.data.stage = stage; | 374 | $scope.data.stage = stage; |
368 | // for right content | 375 | // for right content |
369 | $scope.Idea = true; | 376 | $scope.Idea = true; |
370 | $scope.Product = false; | 377 | $scope.Product = false; |
371 | $scope.Growth = false; | 378 | $scope.Growth = false; |
372 | } else if (stage == 'Product') { | 379 | } else if (stage == 'Product') { |
373 | $scope.current = 10; | 380 | $scope.current = 10; |
374 | $scope.proto = true; | 381 | $scope.proto = true; |
375 | $scope.prototyp = true; | 382 | $scope.prototyp = true; |
376 | $scope.market = true; | 383 | $scope.market = true; |
377 | $scope.risks = true; | 384 | $scope.risks = true; |
378 | $scope.team = true; | 385 | $scope.team = true; |
379 | $scope.pitch = true; | 386 | $scope.pitch = true; |
380 | $scope.financials = true; | 387 | $scope.financials = true; |
381 | $scope.businessmodel = false; | 388 | $scope.businessmodel = false; |
382 | $scope.data.stage = stage; | 389 | $scope.data.stage = stage; |
383 | // for right content | 390 | // for right content |
384 | $scope.Idea = false; | 391 | $scope.Idea = false; |
385 | $scope.Product = true; | 392 | $scope.Product = true; |
386 | $scope.Growth = false; | 393 | $scope.Growth = false; |
387 | } else if (stage == 'Growth') { | 394 | } else if (stage == 'Growth') { |
388 | $scope.current = 10; | 395 | $scope.current = 10; |
389 | $scope.proto = false; | 396 | $scope.proto = false; |
390 | $scope.prototyp = true; | 397 | $scope.prototyp = true; |
391 | $scope.market = true; | 398 | $scope.market = true; |
392 | $scope.risks = true; | 399 | $scope.risks = true; |
393 | $scope.team = true; | 400 | $scope.team = true; |
394 | $scope.pitch = true; | 401 | $scope.pitch = true; |
395 | $scope.financials = true; | 402 | $scope.financials = true; |
396 | $scope.businessmodel = false; | 403 | $scope.businessmodel = false; |
397 | // for right content | 404 | // for right content |
398 | $scope.Idea = false; | 405 | $scope.Idea = false; |
399 | $scope.Product = false; | 406 | $scope.Product = false; |
400 | $scope.Growth = true; | 407 | $scope.Growth = true; |
401 | $scope.data.stage = stage; | 408 | $scope.data.stage = stage; |
402 | } | 409 | } |
403 | } | 410 | } |
404 | $scope.enterbusiness = function(business) { | 411 | $scope.enterbusiness = function(business) { |
405 | console.log("business", business); | 412 | console.log("business", business); |
406 | if (name == undefined) { | 413 | if (name == undefined) { |
407 | $scope.current = false; | 414 | $scope.current = false; |
408 | 415 | ||
409 | } else if (name != undefined) { | 416 | } else if (name != undefined) { |
410 | $scope.current = true; | 417 | $scope.current = true; |
411 | } | 418 | } |
412 | } | 419 | } |
413 | /*******FOR FILL THE DATA AND SHOWS ICON GREEN*/ | 420 | /*******FOR FILL THE DATA AND SHOWS ICON GREEN*/ |
414 | $scope.stagekeyPress = function() { | 421 | $scope.stagekeyPress = function() { |
415 | $('.icon-circle-a').css('background-color', 'rgb(66, 181, 73)'); | 422 | $('.icon-circle-a').css('background-color', 'rgb(66, 181, 73)'); |
416 | } | 423 | } |
417 | $scope.sectorkeyPress = function() { | 424 | $scope.sectorkeyPress = function() { |
418 | $('.icon-circle-b').css('background-color', 'rgb(66, 181, 73)'); | 425 | $('.icon-circle-b').css('background-color', 'rgb(66, 181, 73)'); |
419 | } | 426 | } |
420 | 427 | ||
421 | $scope.studentkeyPress = function() { | 428 | $scope.studentkeyPress = function() { |
422 | $('.icon-circle-ab').css('background-color', 'rgb(66, 181, 73)'); | 429 | $('.icon-circle-ab').css('background-color', 'rgb(66, 181, 73)'); |
423 | } | 430 | } |
424 | 431 | ||
425 | $scope.namekeyPress = function(name) { | 432 | $scope.namekeyPress = function(name) { |
426 | console.log("name", name); | 433 | console.log("name", name); |
427 | if (name == undefined) { | 434 | if (name == undefined) { |
428 | $('.icon-circle-c').css('background-color', 'rgb(102, 102, 102)'); | 435 | $('.icon-circle-c').css('background-color', 'rgb(102, 102, 102)'); |
429 | } else { | 436 | } else { |
430 | $('.icon-circle-c').css('background-color', 'rgb(66, 181, 73)'); | 437 | $('.icon-circle-c').css('background-color', 'rgb(66, 181, 73)'); |
431 | } | 438 | } |
432 | } | 439 | } |
433 | $scope.emailkeyPress = function(email) { | 440 | $scope.emailkeyPress = function(email) { |
434 | console.log("email", email); | 441 | console.log("email", email); |
435 | if (email == undefined) { | 442 | if (email == undefined) { |
436 | $('.icon-circle-d').css('background-color', 'rgb(102, 102, 102)'); | 443 | $('.icon-circle-d').css('background-color', 'rgb(102, 102, 102)'); |
437 | } else { | 444 | } else { |
438 | $('.icon-circle-d').css('background-color', 'rgb(66, 181, 73)'); | 445 | $('.icon-circle-d').css('background-color', 'rgb(66, 181, 73)'); |
439 | } | 446 | } |
440 | } | 447 | } |
441 | 448 | ||
442 | 449 | ||
443 | $scope.phonekeyPress = function(number) { | 450 | $scope.phonekeyPress = function(number) { |
444 | console.log("number", number); | 451 | console.log("number", number); |
445 | if (number == undefined) { | 452 | if (number == undefined) { |
446 | $('.icon-circle-e').css('background-color', 'rgb(102, 102, 102)'); | 453 | $('.icon-circle-e').css('background-color', 'rgb(102, 102, 102)'); |
447 | } else { | 454 | } else { |
448 | $('.icon-circle-e').css('background-color', 'rgb(66, 181, 73)'); | 455 | $('.icon-circle-e').css('background-color', 'rgb(66, 181, 73)'); |
449 | } | 456 | } |
450 | } | 457 | } |
451 | 458 | ||
452 | $scope.citykeyPress = function(city) { | 459 | $scope.citykeyPress = function(city) { |
453 | console.log("city", city); | 460 | console.log("city", city); |
454 | if (city == undefined) { | 461 | if (city == undefined) { |
455 | $('.icon-circle-f').css('background-color', 'rgb(102, 102, 102)'); | 462 | $('.icon-circle-f').css('background-color', 'rgb(102, 102, 102)'); |
456 | } else { | 463 | } else { |
457 | $('.icon-circle-f').css('background-color', 'rgb(66, 181, 73)'); | 464 | $('.icon-circle-f').css('background-color', 'rgb(66, 181, 73)'); |
458 | } | 465 | } |
459 | } | 466 | } |
460 | 467 | ||
461 | $scope.questionkeyPress = function(q) { | 468 | $scope.questionkeyPress = function(q) { |
462 | if (q == undefined) { | 469 | if (q == undefined) { |
463 | $('.icon-circle-x').css('background-color', 'rgb(102, 102, 102)'); | 470 | $('.icon-circle-x').css('background-color', 'rgb(102, 102, 102)'); |
464 | } else { | 471 | } else { |
465 | $('.icon-circle-x').css('background-color', 'rgb(66, 181, 73)'); | 472 | $('.icon-circle-x').css('background-color', 'rgb(66, 181, 73)'); |
466 | } | 473 | } |
467 | } | 474 | } |
468 | 475 | ||
469 | $scope.technologykeyPress = function(technology) { | 476 | $scope.technologykeyPress = function(technology) { |
470 | if (technology == undefined) { | 477 | if (technology == undefined) { |
471 | $('.icon-circle-h').css('background-color', 'rgb(102, 102, 102)'); | 478 | $('.icon-circle-h').css('background-color', 'rgb(102, 102, 102)'); |
472 | } else { | 479 | } else { |
473 | $('.icon-circle-h').css('background-color', 'rgb(66, 181, 73)'); | 480 | $('.icon-circle-h').css('background-color', 'rgb(66, 181, 73)'); |
474 | } | 481 | } |
475 | } | 482 | } |
476 | $scope.problemkeyPress = function(problem) { | 483 | $scope.problemkeyPress = function(problem) { |
477 | if (problem == undefined) { | 484 | if (problem == undefined) { |
478 | $('.icon-circle-i').css('background-color', 'rgb(102, 102, 102)'); | 485 | $('.icon-circle-i').css('background-color', 'rgb(102, 102, 102)'); |
479 | } else { | 486 | } else { |
480 | $('.icon-circle-i').css('background-color', 'rgb(66, 181, 73)'); | 487 | $('.icon-circle-i').css('background-color', 'rgb(66, 181, 73)'); |
481 | } | 488 | } |
482 | } | 489 | } |
483 | $scope.solutionkeyPress = function(solution) { | 490 | $scope.solutionkeyPress = function(solution) { |
484 | if (solution == undefined) { | 491 | if (solution == undefined) { |
485 | $('.icon-circle-j').css('background-color', 'rgb(102, 102, 102)'); | 492 | $('.icon-circle-j').css('background-color', 'rgb(102, 102, 102)'); |
486 | } else { | 493 | } else { |
487 | $('.icon-circle-j').css('background-color', 'rgb(66, 181, 73)'); | 494 | $('.icon-circle-j').css('background-color', 'rgb(66, 181, 73)'); |
488 | } | 495 | } |
489 | } | 496 | } |
490 | $scope.businesskeyPress = function(business) { | 497 | $scope.businesskeyPress = function(business) { |
491 | $('.icon-circle-p').css('background-color', 'rgb(66, 181, 73)'); | 498 | $('.icon-circle-p').css('background-color', 'rgb(66, 181, 73)'); |
492 | } | 499 | } |
493 | 500 | ||
494 | $scope.prototypekeyPress = function(prototype) { | 501 | $scope.prototypekeyPress = function(prototype) { |
495 | if (prototype == undefined) { | 502 | if (prototype == undefined) { |
496 | $('.icon-circle-k').css('background-color', 'rgb(102, 102, 102)'); | 503 | $('.icon-circle-k').css('background-color', 'rgb(102, 102, 102)'); |
497 | } else { | 504 | } else { |
498 | $('.icon-circle-k').css('background-color', 'rgb(66, 181, 73)'); | 505 | $('.icon-circle-k').css('background-color', 'rgb(66, 181, 73)'); |
499 | } | 506 | } |
500 | } | 507 | } |
501 | 508 | ||
502 | $scope.marketkeyPress = function(market) { | 509 | $scope.marketkeyPress = function(market) { |
503 | if (market == undefined) { | 510 | if (market == undefined) { |
504 | $('.icon-circle-l').css('background-color', 'rgb(102, 102, 102)'); | 511 | $('.icon-circle-l').css('background-color', 'rgb(102, 102, 102)'); |
505 | } else { | 512 | } else { |
506 | $('.icon-circle-l').css('background-color', 'rgb(66, 181, 73)'); | 513 | $('.icon-circle-l').css('background-color', 'rgb(66, 181, 73)'); |
507 | } | 514 | } |
508 | } | 515 | } |
509 | 516 | ||
510 | $scope.riskkeyPress = function(risk) { | 517 | $scope.riskkeyPress = function(risk) { |
511 | if (risk == undefined) { | 518 | if (risk == undefined) { |
512 | $('.icon-circle-m').css('background-color', 'rgb(102, 102, 102)'); | 519 | $('.icon-circle-m').css('background-color', 'rgb(102, 102, 102)'); |
513 | } else { | 520 | } else { |
514 | $('.icon-circle-m').css('background-color', 'rgb(66, 181, 73)'); | 521 | $('.icon-circle-m').css('background-color', 'rgb(66, 181, 73)'); |
515 | } | 522 | } |
516 | } | 523 | } |
517 | 524 | ||
518 | $scope.teamkeyPress = function(team) { | 525 | $scope.teamkeyPress = function(team) { |
519 | if (team == undefined) { | 526 | if (team == undefined) { |
520 | $('.icon-circle-n').css('background-color', 'rgb(102, 102, 102)'); | 527 | $('.icon-circle-n').css('background-color', 'rgb(102, 102, 102)'); |
521 | } else { | 528 | } else { |
522 | $('.icon-circle-n').css('background-color', 'rgb(66, 181, 73)'); | 529 | $('.icon-circle-n').css('background-color', 'rgb(66, 181, 73)'); |
523 | } | 530 | } |
524 | } | 531 | } |
525 | 532 | ||
526 | $scope.pitchkeyPress = function(pitch) { | 533 | $scope.pitchkeyPress = function(pitch) { |
527 | if (pitch == undefined) { | 534 | if (pitch == undefined) { |
528 | $('.icon-circle-z').css('background-color', 'rgb(102, 102, 102)'); | 535 | $('.icon-circle-z').css('background-color', 'rgb(102, 102, 102)'); |
529 | } else { | 536 | } else { |
530 | $('.icon-circle-z').css('background-color', 'rgb(66, 181, 73)'); | 537 | $('.icon-circle-z').css('background-color', 'rgb(66, 181, 73)'); |
531 | } | 538 | } |
532 | } | 539 | } |
533 | 540 | ||
534 | $scope.financialskeyPress = function(financial) { | 541 | $scope.financialskeyPress = function(financial) { |
535 | console.log("financial", financial); | 542 | console.log("financial", financial); |
536 | if (financial == undefined) { | 543 | if (financial == undefined) { |
537 | $('.icon-circle-q').css('background-color', 'rgb(102, 102, 102)'); | 544 | $('.icon-circle-q').css('background-color', 'rgb(102, 102, 102)'); |
538 | } else { | 545 | } else { |
539 | $('.icon-circle-q').css('background-color', 'rgb(66, 181, 73)'); | 546 | $('.icon-circle-q').css('background-color', 'rgb(66, 181, 73)'); |
540 | } | 547 | } |
541 | } | 548 | } |
542 | $scope.changeReferalIconColor = function(referalToken){ | 549 | $scope.changeReferalIconColor = function(referalToken){ |
543 | if (referalToken == undefined || referalToken == '') { | 550 | if (referalToken == undefined || referalToken == '') { |
544 | $('.referel-icon').css('background-color', 'rgb(102, 102, 102)'); | 551 | $('.referel-icon').css('background-color', 'rgb(102, 102, 102)'); |
545 | }else { | 552 | }else { |
546 | $('.referel-icon').css('background-color', 'rgb(66, 181, 73)'); | 553 | $('.referel-icon').css('background-color', 'rgb(66, 181, 73)'); |
547 | } | 554 | } |
548 | } | 555 | } |
549 | 556 | ||
550 | }); | 557 | }); |
551 | 558 | ||
552 | scotchApp.controller('verifyController', function($scope, $http, $location, $route,BASE_URL) { | 559 | scotchApp.controller('verifyController', function($scope, $http, $location, $route,BASE_URL) { |
553 | $scope.pendingPaymentId = $route.current.params.id | 560 | $scope.pendingPaymentId = $route.current.params.id |
554 | $http({ | 561 | $http({ |
555 | method: "GET", | 562 | method: "GET", |
556 | url: BASE_URL + '/applicants/' + $scope.pendingPaymentId, | 563 | url: BASE_URL + '/applicants/' + $scope.pendingPaymentId, |
557 | }).then(function mySuccess(response) { | 564 | }).then(function mySuccess(response) { |
558 | $scope.data = response.data; | 565 | $scope.data = response.data; |
559 | console.log("response-1", response); | 566 | console.log("response-1", response); |
560 | $scope.pendingPaymentId = $route.current.params.id; | 567 | $scope.pendingPaymentId = $route.current.params.id; |
561 | 568 | ||
562 | $http({ | 569 | $http({ |
563 | method: "GET", | 570 | method: "GET", |
564 | url: BASE_URL + '/payments?filter={"where":{"applicantId":' + $scope.pendingPaymentId + '}}', | 571 | url: BASE_URL + '/payments?filter={"where":{"applicantId":' + $scope.pendingPaymentId + '}}', |
565 | }).then(function mySuccess(response) { | 572 | }).then(function mySuccess(response) { |
566 | $scope.paymentRecord = response.data; | 573 | $scope.paymentRecord = response.data; |
567 | }, function myError(response) { | 574 | }, function myError(response) { |
568 | }); | 575 | }); |
569 | }, function myError(response) { | 576 | }, function myError(response) { |
570 | $scope.myWelcome = response.statusText; | 577 | $scope.myWelcome = response.statusText; |
571 | }); | 578 | }); |
572 | 579 | ||
573 | $scope.checkView = false; | 580 | $scope.checkView = false; |
574 | $scope.verifyView = false; | 581 | $scope.verifyView = false; |
575 | 582 | ||
576 | $scope.pendingPaymentId = ''; | 583 | $scope.pendingPaymentId = ''; |
577 | 584 | ||
578 | $scope.update = function() { | 585 | $scope.update = function() { |
579 | 586 | ||
580 | $http({ | 587 | $http({ |
581 | method: 'GET', | 588 | method: 'GET', |
582 | url: BASE_URL + '/payments?filter={"where":{"applicantId": ' + $scope.pendingPaymentId + '}}', | 589 | url: BASE_URL + '/payments?filter={"where":{"applicantId": ' + $scope.pendingPaymentId + '}}', |
583 | headers: {} | 590 | headers: {} |
584 | }).then(function mySuccess(searchResult) { | 591 | }).then(function mySuccess(searchResult) { |
585 | if (searchResult.data[0].status == "pending") { | 592 | if (searchResult.data[0].status == "pending") { |
586 | $scope.checkView = true; | 593 | $scope.checkView = true; |
587 | $scope.verifyView = false; | 594 | $scope.verifyView = false; |
588 | $scope.amount = searchResult.data[0].amount * 100; | 595 | $scope.amount = searchResult.data[0].amount * 100; |
589 | console.log('pending data', searchResult); | 596 | console.log('pending data', searchResult); |
590 | var i = 0; | 597 | var i = 0; |
591 | var options = { | 598 | var options = { |
592 | //"key": "rzp_live_mhSE1uOBlXvFyJ", | 599 | //"key": "rzp_live_mhSE1uOBlXvFyJ", |
593 | "key" : "rzp_test_YwHsVFiDIQ2WUQ", | 600 | "key" : "rzp_test_YwHsVFiDIQ2WUQ", |
594 | "amount": $scope.amount, | 601 | "amount": $scope.amount, |
595 | 602 | ||
596 | "name": "Startup Jalsa", | 603 | "name": "Startup Jalsa", |
597 | "description": "amount", | 604 | "description": "amount", |
598 | "currency": "INR", | 605 | "currency": "INR", |
599 | "status": "done", | 606 | "status": "done", |
600 | 607 | ||
601 | "theme": { | 608 | "theme": { |
602 | "color": "#2196f3 ", | 609 | "color": "#2196f3 ", |
603 | "image_padding": "NO" | 610 | "image_padding": "NO" |
604 | }, | 611 | }, |
605 | "modal": { | 612 | "modal": { |
606 | "ondismiss": function() {} | 613 | "ondismiss": function() {} |
607 | }, | 614 | }, |
608 | "handler": function(response) { | 615 | "handler": function(response) { |
609 | createPayment(response); | 616 | createPayment(response); |
610 | } | 617 | } |
611 | }; | 618 | }; |
612 | var rzp1 = new Razorpay(options); | 619 | var rzp1 = new Razorpay(options); |
613 | rzp1.open(); | 620 | rzp1.open(); |
614 | $scope.paymentResponse = {}; | 621 | $scope.paymentResponse = {}; |
615 | 622 | ||
616 | function createPayment(response) { | 623 | function createPayment(response) { |
617 | console.log("response",response); | 624 | console.log("response",response); |
618 | $scope.paymentResponse.razorPaymentId = response.razorpay_payment_id; | 625 | $scope.paymentResponse.razorPaymentId = response.razorpay_payment_id; |
619 | $scope.paymentResponse.razorOrderId = $scope.paymentResult.data.razorOrderId; | 626 | $scope.paymentResponse.razorOrderId = $scope.paymentResult.data.razorOrderId; |
620 | $scope.paymentResponse.amount = $scope.amount; | 627 | $scope.paymentResponse.amount = $scope.amount; |
621 | $scope.paymentResponse.currency = "INR"; | 628 | $scope.paymentResponse.currency = "INR"; |
622 | $scope.paymentResponse.status = "captured"; | 629 | $scope.paymentResponse.status = "captured"; |
623 | $scope.paymentResponse.applicantId = $scope.userId; | 630 | $scope.paymentResponse.applicantId = $scope.userId; |
624 | console.log("$scope.paymentResponse", $scope.paymentResponse) | 631 | console.log("$scope.paymentResponse", $scope.paymentResponse) |
625 | $http({ | 632 | $http({ |
626 | method: 'PUT', | 633 | method: 'PUT', |
627 | url: BASE_URL + '/payments/' + $scope.paymentResult.data.id, | 634 | url: BASE_URL + '/payments/' + $scope.paymentResult.data.id, |
628 | data: $scope.paymentResponse, | 635 | data: $scope.paymentResponse, |
629 | headers: {} | 636 | headers: {} |
630 | }).then(function mySuccess(searchResult) { | 637 | }).then(function mySuccess(searchResult) { |
631 | console.log("finalsearchResult",searchResult) | 638 | console.log("finalsearchResult",searchResult) |
632 | }, function myError(error) { | 639 | }, function myError(error) { |
633 | 640 | ||
634 | }); | 641 | }); |
635 | } | 642 | } |
636 | } else { | 643 | } else { |
637 | 644 | ||
638 | } | 645 | } |
639 | 646 | ||
640 | }, function myError(error) {}); | 647 | }, function myError(error) {}); |
641 | } | 648 | } |
642 | }); | 649 | }); |
643 | 650 | ||
644 | scotchApp.controller('ambassadorController', function($scope, $http, $location, $route,BASE_URL) { | 651 | scotchApp.controller('ambassadorController', function($scope, $http, $location, $route,BASE_URL) { |
645 | $scope.data = {}; | 652 | $scope.data = {}; |
646 | $scope.check = false; | 653 | $scope.check = false; |
647 | $scope.numberCheck = false; | 654 | $scope.numberCheck = false; |
648 | 655 | ||
649 | /*open videos in modal*/ | 656 | /*open videos in modal*/ |
650 | $scope.openyoutube16 = function(){ | 657 | $scope.openyoutube16 = function(){ |
651 | $('#videoModel').modal('show'); | 658 | $('#videoModel').modal('show'); |
652 | } | 659 | } |
653 | 660 | ||
654 | $scope.openyoutube17 = function(){ | 661 | $scope.openyoutube17 = function(){ |
655 | $('#videoModels').modal('show'); | 662 | $('#videoModels').modal('show'); |
656 | } | 663 | } |
657 | 664 | ||
658 | $scope.closeModal = function(){ | 665 | $scope.closeModal = function(){ |
659 | var url = $('#youtubePlayer').attr('src'); | 666 | var url = $('#youtubePlayer').attr('src'); |
660 | $('#youtubePlayer').attr('src', ''); | 667 | $('#youtubePlayer').attr('src', ''); |
661 | $('#youtubePlayer').attr('src', url); | 668 | $('#youtubePlayer').attr('src', url); |
662 | } | 669 | } |
663 | /*open videos ends here*/ | 670 | /*open videos ends here*/ |
664 | 671 | ||
665 | $scope.removeError = function() { | 672 | $scope.removeError = function() { |
666 | $('#invalidEmail').css('display', 'none'); | 673 | $('#invalidEmail').css('display', 'none'); |
667 | $('#alreadyExist').css('display', 'none'); | 674 | $('#alreadyExist').css('display', 'none'); |
668 | }; | 675 | }; |
669 | 676 | ||
670 | $scope.emailcheck = function(val) { | 677 | $scope.emailcheck = function(val) { |
671 | if (val == undefined) { | 678 | if (val == undefined) { |
672 | $('#invalidEmail').css('display', 'block'); | 679 | $('#invalidEmail').css('display', 'block'); |
673 | } else { | 680 | } else { |
674 | $http({ | 681 | $http({ |
675 | method: 'GET', | 682 | method: 'GET', |
676 | url: BASE_URL + '/ambassadors?filter={"where": {"email": {"like":"%25' + $scope.data.email + '%25"}}}', | 683 | url: BASE_URL + '/ambassadors?filter={"where": {"email": {"like":"%25' + $scope.data.email + '%25"}}}', |
677 | headers: {} | 684 | headers: {} |
678 | }).then(function mySuccess(searchResult) { | 685 | }).then(function mySuccess(searchResult) { |
679 | console.log("searchResult1===>", searchResult) | 686 | console.log("searchResult1===>", searchResult) |
680 | if (searchResult.data.length == 0) { | 687 | if (searchResult.data.length == 0) { |
681 | $scope.check = false; | 688 | $scope.check = false; |
682 | } else { | 689 | } else { |
683 | $scope.check = true; | 690 | $scope.check = true; |
684 | $('#alreadyExist').css('display', 'block'); | 691 | $('#alreadyExist').css('display', 'block'); |
685 | } | 692 | } |
686 | }, function myError(error) {}); | 693 | }, function myError(error) {}); |
687 | } | 694 | } |
688 | }; | 695 | }; |
689 | 696 | ||
690 | // $scope.removeNoError = function() { | 697 | // $scope.removeNoError = function() { |
691 | // $('#invalidNumber').css('display', 'none'); | 698 | // $('#invalidNumber').css('display', 'none'); |
692 | // $('#noExist').css('display', 'none'); | 699 | // $('#noExist').css('display', 'none'); |
693 | // }; | 700 | // }; |
694 | 701 | ||
695 | $scope.numbercheck = function(number) { | 702 | $scope.numbercheck = function(number) { |
696 | // if (val == undefined) { | 703 | // if (val == undefined) { |
697 | // $('#invalidNumber').css('display', 'block'); | 704 | // $('#invalidNumber').css('display', 'block'); |
698 | // } else { | 705 | // } else { |
699 | $http({ | 706 | $http({ |
700 | method: 'GET', | 707 | method: 'GET', |
701 | url: BASE_URL + '/ambassadors?filter={"where": {"mobile": {"like":"%25' + number + '%25"}}}', | 708 | url: BASE_URL + '/ambassadors?filter={"where": {"mobile": {"like":"%25' + number + '%25"}}}', |
702 | data: $scope.data, | 709 | data: $scope.data, |
703 | headers: {} | 710 | headers: {} |
704 | }).then(function mySuccess(searchResult) { | 711 | }).then(function mySuccess(searchResult) { |
705 | console.log("searchResult===>", searchResult) | 712 | console.log("searchResult===>", searchResult) |
706 | if (searchResult.data.length == 0) { | 713 | if (searchResult.data.length == 0) { |
707 | $scope.numberCheck = false; | 714 | $scope.numberCheck = false; |
708 | } else { | 715 | } else { |
709 | $scope.numberCheck = true; | 716 | $scope.numberCheck = true; |
710 | $('#noExist').css('display', 'block'); | 717 | $('#noExist').css('display', 'block'); |
711 | } | 718 | } |
712 | }, function myError(error) {}); | 719 | }, function myError(error) {}); |
713 | //} | 720 | //} |
714 | 721 | ||
715 | }; | 722 | }; |
716 | 723 | ||
717 | $scope.submit = function() { | 724 | $scope.submit = function() { |
718 | console.log($scope.data.name) | 725 | console.log($scope.data.name) |
719 | var randomNumber = ""+Math.random(); | 726 | var randomNumber = ""+Math.random(); |
720 | var nameSpliced = $scope.data.name.slice(0,3); | 727 | var nameSpliced = $scope.data.name.slice(0,3); |
721 | var numberSpliced = randomNumber.slice(2,5); | 728 | var numberSpliced = randomNumber.slice(2,5); |
722 | $scope.data.referalToken = nameSpliced+numberSpliced; | 729 | $scope.data.referalToken = nameSpliced+numberSpliced; |
723 | $scope.data.referalToken = $scope.data.referalToken.toUpperCase(); | 730 | $scope.data.referalToken = $scope.data.referalToken.toUpperCase(); |
724 | 731 | ||
725 | $http({ | 732 | $http({ |
726 | method: 'POST', | 733 | method: 'POST', |
727 | url: BASE_URL + '/ambassadors', | 734 | url: BASE_URL + '/ambassadors', |
728 | data: $scope.data, | 735 | data: $scope.data, |
729 | headers: {} | 736 | headers: {} |
730 | }).then(function mySuccess(result) { | 737 | }).then(function mySuccess(result) { |
731 | console.log("result", result) | 738 | console.log("result", result) |
732 | $scope.detail = result; | 739 | $scope.detail = result; |
733 | $('#myModal').modal('show'); | 740 | $('#myModal').modal('show'); |
734 | $scope.data.name = ''; | 741 | $scope.data.name = ''; |
735 | $scope.data.email = ''; | 742 | $scope.data.email = ''; |
736 | $scope.data.mobile = ''; | 743 | $scope.data.mobile = ''; |
737 | 744 | ||
738 | }, function myError(error) {}); | 745 | }, function myError(error) {}); |
739 | console.log($scope.data) | 746 | console.log($scope.data) |
740 | } | 747 | } |
741 | }); | 748 | }); |
742 | 749 | ||
743 | 750 |