Commit e856f216108a91a5be20ba747011459e2153695c
1 parent
b8b3912012
Exists in
master
and in
1 other branch
new page design
Showing
4 changed files
with
337 additions
and
141 deletions
Show diff stats
css/custom.css
... | ... | @@ -207,6 +207,17 @@ |
207 | 207 | .submit-button:disabled{ |
208 | 208 | background-color: #ddd; |
209 | 209 | } |
210 | + | |
211 | +.submit-button-form, .submit-button-form:hover{ | |
212 | + | |
213 | + background-color: #42b549; | |
214 | + color: #fff; | |
215 | + | |
216 | +} | |
217 | +.submit-button-form:disabled{ | |
218 | + background-color: #ddd; | |
219 | +} | |
220 | + | |
210 | 221 | .textarea{ |
211 | 222 | min-height: 97px; |
212 | 223 | } |
... | ... | @@ -640,7 +651,7 @@ stroke-dashoffset:0 |
640 | 651 | height: 30px; |
641 | 652 | position: absolute; |
642 | 653 | left: 0px; |
643 | - margin-top: 4px; | |
654 | + margin-top: 30px; | |
644 | 655 | color: #fff; |
645 | 656 | text-align: center; |
646 | 657 | } |
... | ... | @@ -724,7 +735,7 @@ stroke-dashoffset:0 |
724 | 735 | height: 30px; |
725 | 736 | position: absolute; |
726 | 737 | left: 0px; |
727 | - margin-top: 4px; | |
738 | + margin-top: 30px; | |
728 | 739 | color: #fff; |
729 | 740 | text-align: center; |
730 | 741 | } |
... | ... | @@ -736,7 +747,7 @@ stroke-dashoffset:0 |
736 | 747 | height: 30px; |
737 | 748 | position: absolute; |
738 | 749 | left: 0px; |
739 | - margin-top: 3px; | |
750 | + margin-top: 30px; | |
740 | 751 | color: #fff; |
741 | 752 | text-align: center; |
742 | 753 | } |
... | ... | @@ -1299,7 +1310,7 @@ table { |
1299 | 1310 | |
1300 | 1311 | .startup-jalsa{ |
1301 | 1312 | font-family: 'BenchNine', sans-serif; |
1302 | - font-size: 70.15pt; | |
1313 | + /*font-size: 70.15pt;*/ | |
1303 | 1314 | color: rgb(25, 104, 157); |
1304 | 1315 | position:relative; |
1305 | 1316 | z-index:2; | ... | ... |
pages/ambassador.html
1 | 1 | <div class="header"> |
2 | - <div style="float: left;"> | |
3 | - <img src="images/white.png" class="logo" > | |
4 | - </div> | |
5 | - <div style="float: right;" class="right-side-links"> | |
6 | - <a class="hyperColor" ng-click="openyoutube16()">Glipmses of 2016</a> | |
7 | - <a class="hyperColor" ng-click="openyoutube17()">Concept for 2017</a> | |
8 | - </div> | |
9 | - <div class="clearfix"></div> | |
2 | + <div> | |
3 | + <h1 class="startup-jalsa">STARTUP JALSA 2018</h1> | |
4 | + </div> | |
5 | +<div class="clearfix"></div> | |
10 | 6 | </div> |
11 | 7 | <!-- CLOSE HEADER --> |
12 | -<form name="applicantForm" id="signupForm"> | |
13 | - <div style="text-align:center;"> | |
14 | - <h4>Startup Ambassador</h4> | |
15 | - </div> | |
16 | - <div class="col-xs-12 col-md-4 col-md-offset-4"> | |
8 | +<form name="applicantForm"> | |
9 | + <div class="col-xs-12 col-md-8 col-md-offset-2"> | |
17 | 10 | <div class="form-all"> |
18 | - <table style="width: 100%;"> | |
11 | + <!-- <table style="width: 100%;"> | |
19 | 12 | <tr> |
20 | 13 | <td> |
21 | - <div class="step-one-form" > | |
14 | + <div class="step-one-form" > --> | |
22 | 15 | <!-- form step 1 --> |
23 | - <div class="col-xs-12 input-wrapper" > | |
16 | + <div class="col-xs-12 col-md-6 input-wrapper" > | |
24 | 17 | <div id="snackbar">Error ! Please fill in all fields.</div> |
25 | 18 | <div class="icon-circle-c"> |
26 | 19 | <i class="material-icons" style="line-height: 31px;">person</i> |
27 | 20 | </div> |
28 | 21 | <input type="text" class="text-input" required ng-model="data.name" placeholder="Name" id="myBtn" name="name" ng-change="entername(data.name); firstNamekeyPress(data.name)"> |
29 | 22 | </div> |
30 | - <div class="clearfix"></div> | |
31 | - <div class="col-xs-12 input-wrapper" > | |
23 | + <div class="col-xs-12 col-md-6 input-wrapper" > | |
32 | 24 | <div id="snackbar">Error ! Please fill in all fields.</div> |
33 | 25 | <div class="icon-circle-d"> |
34 | 26 | <i class="material-icons" style="line-height: 30px;">email</i> |
... | ... | @@ -37,97 +29,142 @@ |
37 | 29 | <label class="error-message f-family" id="invalidEmail">Please enter a valid email address.</label> |
38 | 30 | <label ng-if="check">Email already exist.</label> |
39 | 31 | </div> |
40 | - <div class="clearfix"></div> | |
41 | - <div class="col-xs-12 input-wrapper" > | |
32 | + <div class="col-xs-12 col-md-6 input-wrapper" > | |
42 | 33 | <div class="icon-circle-e"> |
43 | 34 | <i class="material-icons" style="line-height: 30px;">phone</i> |
44 | 35 | </div> |
45 | - <input type="text" ng-pattern="/^\d*(?:\.\d{1,2})?$/" title="Please enter only numberic numbers" maxlength="10" required class="text-input" ng-model="data.mobile" placeholder="Mobile No." ng-change="enternumber(data.mobile); phonekeyPress(data.mobile)"> | |
36 | + <input type="text" ng-pattern="/^\d*(?:\.\d{1,2})?$/" title="Please enter only numberic numbers" maxlength="10" required class="text-input" ng-model="data.number" placeholder="Mobile No." ng-change="enternumber(data.number); phonekeyPress(data.number)"> | |
46 | 37 | <!-- <label class="error-message f-family" id="invalidNumber">Please enter only numeric value in mobile number field.</label> --> |
47 | 38 | <label ng-if="numberCheck">Contact Number already exist.</label> |
48 | 39 | </div> |
49 | - <div class="clearfix"></div> | |
50 | - <div class="col-xs-12 input-wrapper" > | |
40 | + <div class="col-xs-12 col-md-6 input-wrapper"> | |
41 | + <div class="icon-circle-i"> | |
42 | + <i class="material-icons" style="line-height: 30px;">perm_identity</i> | |
43 | + </div> | |
44 | + <input type="text" class="text-input" ng-model="data.companyName" placeholder="Company Name" ng-change="enternumber(data.companyName); companykeyPress(data.companyName)" required> | |
45 | + </div> | |
46 | + <div class="col-xs-12 col-md-6 input-wrapper"> | |
47 | + <div class="icon-circle-f"> | |
48 | + <i class="material-icons" style="line-height: 30px;">location_city</i> | |
49 | + </div> | |
50 | + <select ng-model="data.city" ng-change="selectcity(data.city); citykeyPress(data.city)" style="background-color: #fff; border-radius: 0; font-size: 12px; height: 44px;" required> | |
51 | + <option name="city" selected disabled value="">Choose City</option> | |
52 | + <option value="Ahmedabad">Ahmedabad</option> | |
53 | + <option value="Bangalore">Bangalore</option> | |
54 | + <option value="Chennai">Chennai</option> | |
55 | + <option value="Delhi">Delhi</option> | |
56 | + <option value="Guwahati">Guwahati</option> | |
57 | + <option value="Hyderabad">Hyderabad</option> | |
58 | + <option value="Indore">Indore</option> | |
59 | + <option value="Jaipur">Jaipur</option> | |
60 | + <option value="Kanpur">Kanpur</option> | |
61 | + <option value="Kolkata">Kolkata</option> | |
62 | + <option value="Mumbai">Mumbai</option> | |
63 | + <option value="Roorkee">Roorkee</option> | |
64 | + </select> | |
65 | + </div> | |
66 | + <div class="col-xs-12 col-md-6 input-wrapper" > | |
51 | 67 | <div class="icon-circle-o"> |
52 | 68 | <i class="material-icons" style="line-height: 30px;">confirmation_number</i> |
53 | 69 | </div> |
54 | - <input type="number" ng-pattern="/^\d*(?:\.\d{1,2})?$/" title="Please enter only numberic numbers" maxlength="10" required class="text-input" ng-model="data.discount" placeholder="Percentage Discount" ng-change="enternumber(data.discount); discountkeyPress(data.discount)"> | |
70 | + <select ng-model="data.founder" ng-change="selectfounder(data.founder); discountkeyPress(data.founder)" style="background-color: #fff; border-radius: 0; font-size: 12px; height: 44px;" required> | |
71 | + <option name="founder" selected disabled value="">No. of Founders</option> | |
72 | + <option value="1">1</option> | |
73 | + <option value="2">2</option> | |
74 | + <option value="3">3</option> | |
75 | + <option value="more than 3">more than 3</option> | |
76 | + </select> | |
77 | + </div> | |
78 | + <div class="col-xs-12 col-md-6 input-wrapper"> | |
79 | + <div class="icon-circle-y"> | |
80 | + <i class="material-icons" style="line-height: 30px;">assignment</i> | |
81 | + </div> | |
82 | + <select ng-model="data.stage" ng-change="selectechnology(data.stage); fundkeyPress(data.stage)" style="background-color: #fff; border-radius: 0; font-size: 12px; height: 44px;" required> | |
83 | + <option name="stage" selected disabled value="">Choose Startup Stage</option> | |
84 | + <option value="Proof of Concept">Proof of Concept</option> | |
85 | + <option value="Beta Launched">Beta Launched</option> | |
86 | + <option value="Early Revenues">Early Revenues</option> | |
87 | + <option value="Steady Revenues">Steady Revenues</option> | |
88 | + <option value="Other">Other</option> | |
89 | + </select> | |
90 | + </div> | |
91 | + <div class="col-xs-12 col-md-6 input-wrapper"> | |
92 | + <div class="icon-circle-q"> | |
93 | + <i class="material-icons" style="line-height: 30px;">business</i> | |
94 | + </div> | |
95 | + <select ng-model="data.business" ng-change="selectechnology(data.business); ideakeyPress(data.business)" style="background-color: #fff; border-radius: 0; font-size: 12px; height: 44px;" required> | |
96 | + <option name="business" selected disabled value="">Type of business</option> | |
97 | + <option value="B2B">B2B</option> | |
98 | + <option value="B2C">B2C</option> | |
99 | + </select> | |
100 | + </div> | |
101 | + <div class="col-xs-12 col-md-12 input-wrapper"> | |
102 | + <div class="icon-circle-z"> | |
103 | + <i class="material-icons" style="line-height: 30px;">web</i> | |
104 | + </div> | |
105 | + <input name="website" class="text-input" ng-model="data.website" placeholder="Website link" ng-change="abc(); descriptionkeyPress(data.website)" required></input> | |
106 | + </div> | |
107 | + <div class="col-xs-12 col-md-12 f-family line-adjust"> | |
108 | + <strong>In which city is your startup registered at?</strong> | |
109 | + <p class="line-space" ></p> | |
110 | + </div> | |
111 | + <div class="col-xs-12 col-md-12 input-wrapper"> | |
112 | + <div class="icon-circle-m"> | |
113 | + <i class="material-icons" style="line-height: 30px;">assessment</i> | |
114 | + </div> | |
115 | + <input type="text" class="text-input" ng-model="data.cityRegister" placeholder="Your Answer.." ng-change="entertechnology(data.cityRegister); annualkeyPress(data.cityRegister)" required> | |
116 | + </div> | |
117 | + <div class="col-xs-12 col-md-12 f-family line-adjust"> | |
118 | + <strong>Give us a brief introduction about your startup.</strong> | |
119 | + <p class="line-space" >Kindly write a powerful Twitter Pitch.</p> | |
120 | + </div> | |
121 | + <div class="col-xs-12 col-md-12 input-wrapper"> | |
122 | + <div class="icon-circle-x"> | |
123 | + <i class="material-icons" style="line-height: 30px;">line_weight</i> | |
124 | + </div> | |
125 | + <textarea name="intro" class="text-input textarea" ng-model="data.intro" placeholder="Your Answer.." ng-change="enterproblem(data.intro); startupNamekeyPress(data.intro)" required></textarea> | |
55 | 126 | </div> |
56 | - </div> | |
127 | + <div class="col-xs-12 col-md-12 f-family line-adjust"> | |
128 | + <strong>Who are your customers?</strong> | |
129 | + <p class="line-space" >We are looking for a simple and clear answer of who you are selling to.</p> | |
130 | + </div> | |
131 | + <div class="col-xs-12 col-md-12 input-wrapper"> | |
132 | + <div class="icon-circle-k"> | |
133 | + <i class="material-icons" style="line-height: 30px;">help</i> | |
134 | + </div> | |
135 | + <textarea name="customer" class="text-input textarea" ng-model="data.customer" placeholder="Your Answer.." ng-change="entersolution(data.customer); websitekeyPress(data.customer)" required></textarea> | |
136 | + </div> | |
137 | + <div class="col-xs-12 col-md-12 f-family line-adjust"> | |
138 | + <strong>What problem you are solving for them?</strong> | |
139 | + <p class="line-space" >We want to understand how clearly you know the pain point, and how big of a problem it is for the customers.</p> | |
140 | + </div> | |
141 | + <div class="col-xs-12 col-md-12 input-wrapper f-family"> | |
142 | + <div class="icon-circle-p"> | |
143 | + <i class="material-icons" style="line-height: 30px;">business_center</i> | |
144 | + </div> | |
145 | + <textarea name="problem" class="text-input textarea" ng-model="data.problem" placeholder="Your Answer.." ng-change="enterbusiness(data.problem); businesskeyPress(data.problem)" required> | |
146 | + </textarea> | |
147 | + </div> | |
148 | + <div class="clearfix"></div> | |
149 | + <!-- </div> --> | |
57 | 150 | <!-- close step-one-form --> |
58 | - </td> | |
151 | + <!-- </td> | |
59 | 152 | </tr> |
60 | - </table> | |
153 | + </table> --> | |
61 | 154 | </div> |
62 | 155 | <!-- CLOSE form-all --> |
63 | - </div> | |
156 | + <!-- </div> --> | |
64 | 157 | <div class="clearfix"></div> |
65 | - <div style="margin-bottom: 12%;" class="text-center"> | |
66 | - <input type="submit" class="btn submit-button" ng-disabled="applicantForm.$invalid|| check|| numberCheck" value="Submit" ng-click="submit()"> | |
158 | + <div class="text-center"> | |
159 | + <input type="submit" class="btn submit-button-form" ng-disabled="applicantForm.$invalid" value="Submit" ng-click="submit()"> | |
67 | 160 | </div> |
161 | + </div> | |
68 | 162 | <!-- col-xs-12 col-md-8 col-md-offset-2 --> |
163 | + <footer> | |
164 | + <img id="footer" class="img-responsive banner"> | |
165 | + <center class="footer"><a class="footer-link" href="http://www.viithiisys.com/" target="_blank"></a> | |
166 | + </center> | |
167 | + </footer> | |
69 | 168 | </form> |
70 | 169 | <!-- CLOSE FORM --> |
71 | -<footer> | |
72 | - <img id="footer" class="img-responsive banner"> | |
73 | - <center class="footer"> Powered By <a class="footer-link" href="http://www.viithiisys.com/" target="_blank">Viithiisys Technologies.</a> | |
74 | - </center> | |
75 | -</footer> | |
76 | -<!-- </div> CLOSE CHECK VIEW --> | |
77 | -<div ng-if="verifyView"> | |
78 | - <div class="text-center"> | |
79 | - <input type="button" class="btn submit-button" ng-disabled="applicantForm.$invalid" value="check the status" ng-click="update()"> | |
80 | - </div> | |
81 | -</div> | |
82 | -</div> <!-- CLOSE NEW-CONTROLLER --> | |
83 | -<div class="modal fade" id="myModal" role="dialog"> | |
84 | - <div class="modal-dialog" style="left: auto;"> | |
85 | - <div class="modal-content"> | |
86 | - <div class="modal-body" style="text-align:center;margin-top:5%"> | |
87 | - <p style="font-size:22px">Your Refral Code for {{data.discount}}% discount is</p><p style="font-size:24px"><b>{{data.referalToken}}</b></p> | |
88 | - </div> | |
89 | - <div style="text-align:center;margin-bottom:5%"> | |
90 | - <button style="color: #fff;background-color: #4CAF50;" type="button" class="btn btn-default1" data-dismiss="modal">Close</button> | |
91 | - </div> | |
92 | - </div> | |
93 | - </div> | |
94 | -</div> | |
95 | - | |
96 | -<div class="modal fade" id="videoModel" role="dialog" ng-click="closeModal()"> | |
97 | - <div class="modal-dialog" style="left: auto;"> | |
98 | - <div class="modal-content"> | |
99 | - <div class="modal-body"> | |
100 | - <iframe width="560" id="youtubePlayer" height="315" src="https://www.youtube.com/embed/8i1bLQ7jS0I" frameborder="0" allowfullscreen></iframe> | |
101 | - </div> | |
102 | - <!-- <div class="modal-footers" style="text-align: center;margin-bottom: 5px;"> | |
103 | - <button type="button" class="btn btn-default" data-dismiss="modal" ng-click="closeModal()">Close</button> | |
104 | - </div> --> | |
105 | - </div> | |
106 | - </div> | |
107 | -</div> | |
108 | - | |
109 | - | |
110 | -<div class="modal fade" id="videoModels" role="dialog" ng-click="closeModal()"> | |
111 | - <div class="modal-dialog" style="left: auto;"> | |
112 | - <div class="modal-content"> | |
113 | - <div class="modal-body"> | |
114 | - <iframe width="560" id="youtubePlayer" height="315" src="https://www.youtube.com/embed/oBqdz-p3R6Y" frameborder="0" allowfullscreen></iframe> | |
115 | - </div> | |
116 | - <!-- <div class="modal-footers" style="text-align: center;margin-bottom: 5px;"> | |
117 | - <button type="button" class="btn btn-default" data-dismiss="modal" ng-click="closeModal()">Close</button> | |
118 | - </div> --> | |
119 | - </div> | |
120 | - </div> | |
121 | -</div> | |
122 | - <span ng-show="span == true"> | |
123 | - <span id="chennai"></span> | |
124 | - <span id="pune"></span> | |
125 | - <span id="mumbai"></span> | |
126 | - <span id="hyderabad"></span> | |
127 | - <span id="chandigarh"></span> | |
128 | - <span id="delhi"></span> | |
129 | - <span id="ahmedabad"></span> | |
130 | - <span id="bangalore"></span> | |
131 | - <span id="jaipur"></span> | |
132 | - <span id="maininvest"></span> | |
133 | - </span> | |
134 | 170 | \ No newline at end of file |
171 | +<!-- </div> CLOSE CHECK VIEW --> | |
135 | 172 | \ No newline at end of file | ... | ... |
pages/registration.html
... | ... | @@ -22,7 +22,7 @@ |
22 | 22 | </label> |
23 | 23 | <div class="clearfix"></div> |
24 | 24 | <div class="card-text2"> |
25 | - <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch('https://docs.google.com/forms/d/e/1FAIpQLSeNa28Kz-1669UfPKpHrWLXhFJVu27vvzxM7s1jLOTadrVDyA/viewform')" >Apply</button> | |
25 | + <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch()" >Apply</button> | |
26 | 26 | </div> |
27 | 27 | </div> |
28 | 28 | </div> |
... | ... | @@ -46,7 +46,7 @@ |
46 | 46 | </label> |
47 | 47 | <div class="clearfix"></div> |
48 | 48 | <div class="card-text2"> |
49 | - <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch('https://docs.google.com/forms/d/e/1FAIpQLSeNa28Kz-1669UfPKpHrWLXhFJVu27vvzxM7s1jLOTadrVDyA/viewform')" >Apply</button> | |
49 | + <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch()" >Apply</button> | |
50 | 50 | </div> |
51 | 51 | </div> |
52 | 52 | </div> |
... | ... | @@ -70,7 +70,7 @@ |
70 | 70 | </label> |
71 | 71 | <div class="clearfix"></div> |
72 | 72 | <div class="card-text2"> |
73 | - <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch('https://docs.google.com/forms/d/e/1FAIpQLSeNa28Kz-1669UfPKpHrWLXhFJVu27vvzxM7s1jLOTadrVDyA/viewform')" >Apply</button> | |
73 | + <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch()" >Apply</button> | |
74 | 74 | </div> |
75 | 75 | </div> |
76 | 76 | </div> |
... | ... | @@ -94,7 +94,7 @@ |
94 | 94 | </label> |
95 | 95 | <div class="clearfix"></div> |
96 | 96 | <div class="card-text2"> |
97 | - <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch('https://docs.google.com/forms/d/e/1FAIpQLSeNa28Kz-1669UfPKpHrWLXhFJVu27vvzxM7s1jLOTadrVDyA/viewform')" >Apply</button> | |
97 | + <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch()" >Apply</button> | |
98 | 98 | </div> |
99 | 99 | </div> |
100 | 100 | </div> |
... | ... | @@ -123,7 +123,7 @@ |
123 | 123 | </label> |
124 | 124 | <div class="clearfix"></div> |
125 | 125 | <div class="card-text2"> |
126 | - <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch('https://docs.google.com/forms/d/e/1FAIpQLSeNa28Kz-1669UfPKpHrWLXhFJVu27vvzxM7s1jLOTadrVDyA/viewform')" >Apply</button> | |
126 | + <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch()" >Apply</button> | |
127 | 127 | </div> |
128 | 128 | </div> |
129 | 129 | </div> |
... | ... | @@ -147,7 +147,7 @@ |
147 | 147 | </label> |
148 | 148 | <div class="clearfix"></div> |
149 | 149 | <div class="card-text2"> |
150 | - <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch('https://docs.google.com/forms/d/e/1FAIpQLSeNa28Kz-1669UfPKpHrWLXhFJVu27vvzxM7s1jLOTadrVDyA/viewform')" >Apply</button> | |
150 | + <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch()" >Apply</button> | |
151 | 151 | </div> |
152 | 152 | </div> |
153 | 153 | </div> |
... | ... | @@ -171,7 +171,7 @@ |
171 | 171 | </label> |
172 | 172 | <div class="clearfix"></div> |
173 | 173 | <div class="card-text2"> |
174 | - <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch('https://docs.google.com/forms/d/e/1FAIpQLSeNa28Kz-1669UfPKpHrWLXhFJVu27vvzxM7s1jLOTadrVDyA/viewform')" >Apply</button> | |
174 | + <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch()" >Apply</button> | |
175 | 175 | </div> |
176 | 176 | </div> |
177 | 177 | </div> |
... | ... | @@ -195,7 +195,7 @@ |
195 | 195 | </label> |
196 | 196 | <div class="clearfix"></div> |
197 | 197 | <div class="card-text2"> |
198 | - <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch('https://docs.google.com/forms/d/e/1FAIpQLSeNa28Kz-1669UfPKpHrWLXhFJVu27vvzxM7s1jLOTadrVDyA/viewform')" >Apply</button> | |
198 | + <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch()" >Apply</button> | |
199 | 199 | </div> |
200 | 200 | </div> |
201 | 201 | </div> |
... | ... | @@ -224,7 +224,7 @@ |
224 | 224 | </label> |
225 | 225 | <div class="clearfix"></div> |
226 | 226 | <div class="card-text2"> |
227 | - <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch('https://docs.google.com/forms/d/e/1FAIpQLSeNa28Kz-1669UfPKpHrWLXhFJVu27vvzxM7s1jLOTadrVDyA/viewform')" >Apply</button> | |
227 | + <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch()" >Apply</button> | |
228 | 228 | </div> |
229 | 229 | </div> |
230 | 230 | </div> |
... | ... | @@ -248,7 +248,7 @@ |
248 | 248 | </label> |
249 | 249 | <div class="clearfix"></div> |
250 | 250 | <div class="card-text2"> |
251 | - <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch('https://docs.google.com/forms/d/e/1FAIpQLSeNa28Kz-1669UfPKpHrWLXhFJVu27vvzxM7s1jLOTadrVDyA/viewform')" >Apply</button> | |
251 | + <button class="btn btn-info apply-act" style="margin-bottom: 4%;float: right;padding: 3px 10px 3px 10px;margin-right: 7%;border-radius: 12px;" data-toggle="collapse" ng-click="watch()" >Apply</button> | |
252 | 252 | </div> |
253 | 253 | </div> |
254 | 254 | </div> | ... | ... |
script.js
... | ... | @@ -12,7 +12,7 @@ |
12 | 12 | }) |
13 | 13 | |
14 | 14 | // route for the registration page |
15 | - .when('/registration', { | |
15 | + .when('/caricatures', { | |
16 | 16 | templateUrl: 'pages/registration.html', |
17 | 17 | controller: 'mainController' |
18 | 18 | }) |
... | ... | @@ -24,7 +24,7 @@ |
24 | 24 | }) |
25 | 25 | |
26 | 26 | // route for the ambassador page |
27 | - .when('/startupJalsaPromocode', { | |
27 | + .when('/registration', { | |
28 | 28 | templateUrl: 'pages/ambassador.html', |
29 | 29 | controller: 'ambassadorController' |
30 | 30 | }) |
... | ... | @@ -49,8 +49,8 @@ |
49 | 49 | |
50 | 50 | }]).run(['Analytics', function(Analytics) { }]); |
51 | 51 | |
52 | - scotchApp.constant("BASE_URL", "http://35.154.24.158:4001/v1") | |
53 | - //scotchApp.constant("BASE_URL", "http://0.0.0.0:4001/v1") | |
52 | + //scotchApp.constant("BASE_URL", "http://35.154.24.158:4001/v1") | |
53 | + scotchApp.constant("BASE_URL", "http://0.0.0.0:4001/v1") | |
54 | 54 | |
55 | 55 | // create the controller and inject Angular's $scope |
56 | 56 | scotchApp.controller('mainController', function($scope, $http, $location, $route, $rootScope, BASE_URL, Analytics) { |
... | ... | @@ -326,7 +326,7 @@ |
326 | 326 | /*open videos ends here*/ |
327 | 327 | $scope.apply = function() { |
328 | 328 | Analytics.trackEvent('register', 'click', 'Registration'); |
329 | - $location.path("/registration") | |
329 | + $location.path("/caricatures") | |
330 | 330 | } |
331 | 331 | // $scope.data.citymeetup = ''; |
332 | 332 | $scope.register = function(value){ |
... | ... | @@ -474,9 +474,10 @@ |
474 | 474 | // } |
475 | 475 | |
476 | 476 | // } |
477 | - $scope.watch = function(url){ | |
477 | + $scope.watch = function(){ | |
478 | 478 | console.log("cllll") |
479 | - window.open(url) | |
479 | + // window.open(url) | |
480 | + $location.path("/registration") | |
480 | 481 | } |
481 | 482 | |
482 | 483 | $scope.calculateAmount = function(){ |
... | ... | @@ -980,7 +981,6 @@ |
980 | 981 | } |
981 | 982 | |
982 | 983 | $scope.discountkeyPress = function(discount) { |
983 | - console.log("lastName==", name); | |
984 | 984 | if (discount == undefined) { |
985 | 985 | $('.icon-circle-o').css('background-color', 'rgb(102, 102, 102)'); |
986 | 986 | } else { |
... | ... | @@ -996,10 +996,8 @@ |
996 | 996 | $scope.ideakeyPress = function(financial) { |
997 | 997 | console.log("financial", financial); |
998 | 998 | if (financial == undefined) { |
999 | - $('#invalidIdea').css('display', 'block'); | |
1000 | 999 | $('.icon-circle-q').css('background-color', 'rgb(102, 102, 102)'); |
1001 | 1000 | } else { |
1002 | - $('#invalidIdea').css('display', 'none'); | |
1003 | 1001 | $('.icon-circle-q').css('background-color', 'rgb(66, 181, 73)'); |
1004 | 1002 | } |
1005 | 1003 | } |
... | ... | @@ -1132,6 +1130,31 @@ |
1132 | 1130 | $scope.data = {}; |
1133 | 1131 | $scope.check = false; |
1134 | 1132 | $scope.numberCheck = false; |
1133 | + $scope.infoForm = false; /*THIS CODE FOR HIDE STEP 2 FORM*/ | |
1134 | + $scope.space = false; /*THIS CODE FOR HIDE STEP 2 FORM*/ | |
1135 | + // $scope.Textshow = "yes" | |
1136 | + $scope.max = 100; | |
1137 | + $scope.formPage = false; | |
1138 | + $scope.current = 0; | |
1139 | + $scope.payingAmnt = 0; | |
1140 | + // if ($scope.data.stage == 'select') { | |
1141 | + | |
1142 | + // } | |
1143 | + | |
1144 | + //$scope.author = 'Swarn Singh'; | |
1145 | + $scope.data = {}; | |
1146 | + // $scope.data.stage = 'Pitch your Business plan'; | |
1147 | + // $scope.data.networkDinner = "true"; | |
1148 | + $scope.discountAmount = 0; | |
1149 | + // $scope.data.quantity = "1"; | |
1150 | + $scope.check = false; | |
1151 | + $scope.numberCheck = false; | |
1152 | + $scope.paymentResult = {}; | |
1153 | + var data = { | |
1154 | + "amount": $scope.payingAmnt, | |
1155 | + "currency": "INR", | |
1156 | + "status": "pending" | |
1157 | + } | |
1135 | 1158 | |
1136 | 1159 | /*open videos in modal*/ |
1137 | 1160 | $scope.openyoutube16 = function(){ |
... | ... | @@ -1206,32 +1229,157 @@ |
1206 | 1229 | // }; |
1207 | 1230 | |
1208 | 1231 | $scope.submit = function() { |
1209 | - console.log($scope.data.name) | |
1210 | - var randomNumber = ""+Math.random(); | |
1211 | - var nameSpliced = $scope.data.name.slice(0,3); | |
1212 | - var numberSpliced = randomNumber.slice(2,5); | |
1213 | - $scope.data.referalToken = nameSpliced+numberSpliced; | |
1214 | - $scope.data.referalToken = $scope.data.referalToken.toUpperCase(); | |
1215 | - | |
1216 | - $http({ | |
1217 | - method: 'POST', | |
1218 | - url: BASE_URL + '/ambassadors', | |
1219 | - data: $scope.data, | |
1220 | - headers: {} | |
1221 | - }).then(function mySuccess(result) { | |
1222 | - console.log("result", result) | |
1223 | - $scope.detail = result; | |
1224 | - $('#myModal').modal('show'); | |
1225 | - $scope.data.name = ''; | |
1232 | + $scope.payingAmnt = 50000; | |
1233 | + if ($scope.data.name == undefined || $scope.data.email == undefined || $scope.data.number == undefined) { | |
1234 | + var x = document.getElementById("snackbar") | |
1235 | + x.className = "show"; | |
1236 | + setTimeout(function(){ x.className = x.className.replace("show", ""); }, 3000); | |
1237 | + }else if($scope.data.name != undefined && $scope.data.email != undefined && $scope.data.number != undefined) { | |
1238 | + | |
1239 | + | |
1240 | + // if($scope.data.identity == "a"){ | |
1241 | + | |
1242 | + | |
1243 | + // var image = BASE_URL+'/container1s/proof/download/' | |
1244 | + // var image = document.getElementById('picture').files[0]; | |
1245 | + // var imagePath = image.name; | |
1246 | + // $scope.NewIamge = image + imagePath; | |
1247 | + // $scope.data.pic = $scope.NewIamge; | |
1248 | + // var fd = new FormData() | |
1249 | + // fd.append('file',image); | |
1250 | + // $http({ | |
1251 | + // method:'POST', | |
1252 | + // url: BASE_URL+'/container1s/proof/upload', | |
1253 | + // data:fd, | |
1254 | + // transformRequest:angular.identity, | |
1255 | + // headers:{'Content-Type':undefined} | |
1256 | + // }).then(function mySuccess(sucessResponse) { | |
1257 | + | |
1258 | + | |
1259 | + // }, function myError(error) { | |
1260 | + // }); | |
1261 | + | |
1262 | + // } | |
1263 | + | |
1264 | + $scope.infoForm = true; | |
1265 | + console.log("sdasdasdsa"); | |
1266 | + // $scope.data.stage = $scope.data.stage; | |
1267 | + $scope.detail = {}; | |
1268 | + $scope.data.phone = "+91"+$scope.data.number; | |
1269 | + $http({ | |
1270 | + method: 'POST', | |
1271 | + url: BASE_URL+'/applicants', | |
1272 | + data: $scope.data, | |
1273 | + headers: {} | |
1274 | + }).then(function mySuccess(result) { | |
1275 | + console.log("=====result=====",result) | |
1276 | + $scope.data.name = ''; | |
1226 | 1277 | $scope.data.email = ''; |
1227 | - $scope.data.mobile = ''; | |
1228 | - // $scope.data.discount = ''; | |
1278 | + $scope.data.number = ''; | |
1279 | + $scope.data.city = ''; | |
1280 | + $scope.data.founder = ''; | |
1281 | + $scope.data.business = ''; | |
1282 | + $scope.data.cityRegister = ''; | |
1283 | + $scope.data.problem = ''; | |
1284 | + $scope.data.companyName = ''; | |
1285 | + $scope.data.website = ''; | |
1286 | + $scope.data.stage = ''; | |
1287 | + $scope.data.intro = ''; | |
1288 | + $scope.data.customer = ''; | |
1289 | + $scope.detail = result; | |
1290 | + data.applicantId = result.data.id; | |
1291 | + $scope.userId = result.data.id; | |
1292 | + console.log("=====data=====",data) | |
1293 | + data.amount = $scope.payingAmnt /100; | |
1294 | + if($scope.detail != null){ | |
1295 | + $http({ | |
1296 | + method: 'POST', | |
1297 | + url: BASE_URL+'/payments', | |
1298 | + data: data, | |
1299 | + headers: {} | |
1300 | + }).then(function mySuccess(paymentResult) { | |
1301 | + $scope.paymentResult = paymentResult; | |
1302 | + }, function myError(error) { | |
1303 | + }); | |
1304 | + } | |
1305 | + var i = 0; | |
1306 | + var options = { | |
1307 | + //"key": "rzp_test_YwHsVFiDIQ2WUQ", | |
1308 | + "key": "rzp_live_mkmCb4FkstuWaS", | |
1309 | + "amount": $scope.payingAmnt, | |
1310 | + | |
1311 | + "name": "Startup Jalsa", | |
1312 | + "description":"amount", | |
1313 | + "currency": "INR", | |
1314 | + "status": "done", | |
1315 | + | |
1316 | + "prefill": { | |
1317 | + "email": $scope.detail.email, | |
1318 | + "contact": $scope.detail.phone | |
1319 | + }, | |
1320 | + | |
1321 | + "theme": { | |
1322 | + "color": "#2196f3 ", | |
1323 | + "image_padding":"NO" | |
1324 | + }, | |
1325 | + "modal": { | |
1326 | + "ondismiss": function(){ | |
1327 | + } | |
1328 | + }, | |
1329 | + "handler": function (response){ | |
1330 | + createPayment(response); | |
1331 | + } | |
1332 | + }; | |
1333 | + var rzp1 = new Razorpay(options); | |
1334 | + rzp1.open(); | |
1335 | + $scope.paymentResponse = {}; | |
1336 | + function createPayment(response){ | |
1337 | + console.log("response12333333",response) | |
1338 | + $scope.paymentResponse.razorPaymentId = response.razorpay_payment_id; | |
1339 | + $scope.paymentResponse.razorOrderId = $scope.paymentResult.data.razorOrderId; | |
1340 | + $scope.paymentResponse.amount = data.amount; | |
1341 | + $scope.paymentResponse.currency = "INR"; | |
1342 | + $scope.paymentResponse.status = $scope.paymentResult.data.status; | |
1343 | + $http({ | |
1344 | + method: 'PUT', | |
1345 | + url: BASE_URL+'/payments/'+$scope.paymentResult.data.id, | |
1346 | + data: $scope.paymentResponse, | |
1347 | + headers: {} | |
1348 | + }).then(function mySuccess(searchResult) { | |
1349 | + console.log("searchResult",searchResult) | |
1350 | + }, function myError(error) { | |
1351 | + }); | |
1352 | + } | |
1353 | + | |
1354 | + }, function myError(error) { | |
1355 | + }); | |
1356 | + } | |
1357 | + // console.log($scope.data.name) | |
1358 | + // var randomNumber = ""+Math.random(); | |
1359 | + // var nameSpliced = $scope.data.name.slice(0,3); | |
1360 | + // var numberSpliced = randomNumber.slice(2,5); | |
1361 | + // $scope.data.referalToken = nameSpliced+numberSpliced; | |
1362 | + // $scope.data.referalToken = $scope.data.referalToken.toUpperCase(); | |
1363 | + | |
1364 | + // $http({ | |
1365 | + // method: 'POST', | |
1366 | + // url: BASE_URL + '/ambassadors', | |
1367 | + // data: $scope.data, | |
1368 | + // headers: {} | |
1369 | + // }).then(function mySuccess(result) { | |
1370 | + // console.log("result", result) | |
1371 | + // $scope.detail = result; | |
1372 | + // $('#myModal').modal('show'); | |
1373 | + // $scope.data.name = ''; | |
1374 | + // $scope.data.email = ''; | |
1375 | + // $scope.data.mobile = ''; | |
1376 | + // // $scope.data.discount = ''; | |
1229 | 1377 | |
1230 | - }, function myError(error) { | |
1231 | - console.log(error) | |
1232 | - console.log(error.data.error.message) | |
1233 | - }); | |
1234 | - console.log($scope.data) | |
1378 | + // }, function myError(error) { | |
1379 | + // console.log(error) | |
1380 | + // console.log(error.data.error.message) | |
1381 | + // }); | |
1382 | + // console.log($scope.data) | |
1235 | 1383 | } |
1236 | 1384 | }); |
1237 | 1385 | ... | ... |