Commit 2f9a206452dfbfcc9224896f7339e6abe237d621
1 parent
c62ba35d65
Exists in
master
and in
1 other branch
add timer
Showing
3 changed files
with
36 additions
and
11 deletions
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 | <!-- <a href="http://startupjalsa.com/utm_source=signature&utm_medium=Portal/" target="_blank"> --> | 3 | <!-- <a href="http://startupjalsa.com/utm_source=signature&utm_medium=Portal/" target="_blank"> --> |
4 | <a href="http://startupjalsa.com/" target="_blank"> | 4 | <a href="http://startupjalsa.com/" target="_blank"> |
5 | <img src="images/white.png" class="logo" > | 5 | <img src="images/white.png" class="logo" > |
6 | </a> | 6 | </a> |
7 | </div> | 7 | </div> |
8 | <!-- <div style="float: right;"> | 8 | <!-- <div style="float: right;"> |
9 | <input type="button" style="font-size:20px;color:#fff" class="btn submit-button" value="Register Now" ng-click="apply()"> | 9 | <input type="button" style="font-size:20px;color:#fff" class="btn submit-button" value="Register Now" ng-click="apply()"> |
10 | </div> --> | 10 | </div> --> |
11 | <div class="clearfix"></div> | 11 | <div class="clearfix"></div> |
12 | </div> | 12 | </div> |
13 | <!-- CLOSE HEADER --> | 13 | <!-- CLOSE HEADER --> |
14 | <form name="homeForm"> | 14 | <form name="homeForm"> |
15 | <div class="col-xs-12 col-md-10 col-md-offset-1"> | 15 | <div class="col-xs-12 col-md-10 col-md-offset-1"> |
16 | <div class="col-xs-12"> | 16 | <div class="col-xs-12"> |
17 | <div class="row"> | 17 | <div class="row"> |
18 | <div class="col-sm-8"> | 18 | <div class="col-sm-8"> |
19 | <div style="padding-top:2%;"> | 19 | <div style="padding-top:2%;"> |
20 | <div style="font-size:17px"> | 20 | <div style="font-size:17px"> |
21 | <b>Startup Jalsa</b> is a platform which brings together successful entrepreneurs with aspiring entrepreneurs - to help startups get funding ready.<br> | 21 | <b>Startup Jalsa</b> is a platform which brings together successful entrepreneurs with aspiring entrepreneurs - to help startups get funding ready.<br> |
22 | </div> | 22 | </div> |
23 | <ul style="font-size:17px"> | 23 | <ul style="font-size:17px"> |
24 | <li>Watch <a href="https://www.youtube.com/watch?v=8i1bLQ7jS0I&feature=youtu.be/" target="_blank">Startup Jalsa 2016</a></li> | 24 | <li>Watch <a href="https://www.youtube.com/watch?v=8i1bLQ7jS0I&feature=youtu.be/" target="_blank">Startup Jalsa 2016</a></li> |
25 | <li>Watch what<a href="https://www.youtube.com/watch?v=v8jqTRzQqOI&index=2&list=PL_ieVNgs36HStvzUph85NUXjrZIXS_bTg/" target="_blank"> startups, mentors and investors think</a> about it.</li> | 25 | <li>Watch what<a href="https://www.youtube.com/watch?v=v8jqTRzQqOI&index=2&list=PL_ieVNgs36HStvzUph85NUXjrZIXS_bTg/" target="_blank"> startups, mentors and investors think</a> about it.</li> |
26 | <li>Watch how <a href="https://www.youtube.com/watch?v=eAFNFvCdvhY&feature=youtu.be" target="_blank">Startup Jalsa 2017</a> can help you.</li> | 26 | <li>Watch how <a href="https://www.youtube.com/watch?v=eAFNFvCdvhY&feature=youtu.be" target="_blank">Startup Jalsa 2017</a> can help you.</li> |
27 | </ul> | 27 | </ul> |
28 | <div style="padding-top:1%;font-size:16px"><b>Become a part of our network and get access to leading entrepreneurs.</b><br> | 28 | <div style="padding-top:1%;font-size:16px"><b>Become a part of our network and get access to leading entrepreneurs.</b><br> |
29 | There are Inspire and Invest editions for selection:</div><br> | 29 | There are Inspire and Invest editions for selection:</div><br> |
30 | <ol style="margin-bottom: 0;font-size:15px"><li style="font-weight: bold;"><b>Startup Jalsa Inspire edition (November 9, 2017 onwards across cities)</b></li></ol> | 30 | <ol style="margin-bottom: 0;font-size:15px"><li style="font-weight: bold;"><b>Startup Jalsa Inspire edition (November 9, 2017 onwards across cities)</b></li></ol> |
31 | <ul> | 31 | <ul> |
32 | <li><b>Registered startups will pitch </b>in front of a panel of top mentors and investors who will give one-on- one feedback on your idea.</li> | 32 | <li><b>Registered startups will pitch </b>in front of a panel of top mentors and investors who will give one-on- one feedback on your idea.</li> |
33 | <li>The shortlisted startups will get access to the Invest edition.</li> | 33 | <li>The shortlisted startups will get access to the Invest edition.</li> |
34 | </ul> | 34 | </ul> |
35 | <ol start="2" style="margin-bottom: 0;padding-top:1%;font-size:15px"><li style="font-weight:bold;"><b>Startup Jalsa Invest edition (December 2 and 3, 2017 in Chandigarh)</b></li></ol> | 35 | <ol start="2" style="margin-bottom: 0;padding-top:1%;font-size:15px"><li style="font-weight:bold;"><b>Startup Jalsa Invest edition (December 2 and 3, 2017 in Chandigarh)</b></li></ol> |
36 | <ul> | 36 | <ul> |
37 | <li>Selected startups will spend 2 days with the top investors, entrepreneurs and policy makers.</li> | 37 | <li>Selected startups will spend 2 days with the top investors, entrepreneurs and policy makers.</li> |
38 | <li>1 idea stage startup will get guaranteed <b>₹10 Lac</b> funding from Startup Jalsa.</li> | 38 | <li>1 idea stage startup will get guaranteed <b>₹10 Lac</b> funding from Startup Jalsa.</li> |
39 | <li>1 product stage startup will get <b>guaranteed ₹1 Crore funding </b>from Startup Jalsa.</li> | 39 | <li>1 product stage startup will get <b>guaranteed ₹1 Crore funding </b>from Startup Jalsa.</li> |
40 | </ul> | 40 | </ul> |
41 | </div> | 41 | </div> |
42 | </div> | 42 | </div> |
43 | <div class="row"> | 43 | <div class="row"> |
44 | <div class="col-sm-4"> | 44 | <div class="col-sm-4"> |
45 | <div class="card" style="width:auto;"> | 45 | <div class="card" style="width:auto;"> |
46 | <p style="font-size:15px;padding:5% 4%"><b>Inspire edition of Startup Jalsa is coming to the following cities:</b></p> | 46 | <p style="font-size:15px;padding:5% 4%"><b>Inspire edition of Startup Jalsa is coming to the following cities:</b></p> |
47 | <ul> | 47 | <ul> |
48 | <li>November 9: <a href="http://startupjalsa.com/chennai/" target="_blank">Chennai</a></li> | 48 | <li>November 9: <a href="http://startupjalsa.com/chennai/" target="_blank">Chennai</a></li> |
49 | <li>November 11: <a href="http://startupjalsa.com/pune/" target="_blank">Pune</a></li> | 49 | <li>November 11: <a href="http://startupjalsa.com/pune/" target="_blank">Pune</a></li> |
50 | <li>November 13: <a href="http://startupjalsa.com/mumbai/" target="_blank">Mumbai</a></li> | 50 | <li>November 13: <a href="http://startupjalsa.com/mumbai/" target="_blank">Mumbai</a></li> |
51 | <li>November 15: <a href="http://startupjalsa.com/ahmedabad/" target="_blank">Ahmedabad</a></li> | 51 | <li>November 15: <a href="http://startupjalsa.com/ahmedabad/" target="_blank">Ahmedabad</a></li> |
52 | <li>November 17: <a href="http://startupjalsa.com/jaipur/" target="_blank">Jaipur</a></li> | 52 | <li>November 17: <a href="http://startupjalsa.com/jaipur/" target="_blank">Jaipur</a></li> |
53 | <li>November 19: <a href="http://startupjalsa.com/delhi/" target="_blank">Delhi</a></li> | 53 | <li>November 19: <a href="http://startupjalsa.com/delhi/" target="_blank">Delhi</a></li> |
54 | <li>November 21: <a href="http://startupjalsa.com/bengaluru/" target="_blank">Bengaluru</a></li> | 54 | <li>November 21: <a href="http://startupjalsa.com/bengaluru/" target="_blank">Bengaluru</a></li> |
55 | <li>November 23: <a href="http://startupjalsa.com/hyderabad/" target="_blank">Hyderabad</a></li> | 55 | <li>November 23: <a href="http://startupjalsa.com/hyderabad/" target="_blank">Hyderabad</a></li> |
56 | <li>December 1: <a href="http://startupjalsa.com/chandigarh/" target="_blank">Chandigarh</a></li> | 56 | <li>December 1: <a href="http://startupjalsa.com/chandigarh/" target="_blank">Chandigarh</a></li> |
57 | </ul> | 57 | </ul> |
58 | <p style="font-size:15px;padding-left:8%"><b>Invest edition of Startup Jalsa is in Chandigarh: 2nd & 3rd December</b></p><br> | 58 | <p style="font-size:15px;padding-left:8%"><b>Invest edition of Startup Jalsa is in Chandigarh: 2nd & 3rd December</b></p><br> |
59 | </div> | 59 | </div> |
60 | </div> | 60 | </div> |
61 | </div><br> | 61 | </div><br> |
62 | <div class="col-sm-12" style="text-align:center"> | 62 | <div class="col-sm-12" style="text-align:center"> |
63 | <b>Fee: Idea stage ₹500 + GST/ Product stage ₹1000 + GST/ Growth stage ₹1000+ GST *</b><br><br> | 63 | <b>Fee: Idea stage ₹500 + GST/ Product stage ₹1000 + GST/ Growth stage ₹1000+ GST *</b> |
64 | <b>Deadline: 7 November 2017</b> | ||
65 | </div> | 64 | </div> |
66 | </div><br> | 65 | </div><br> |
67 | <div style="text-align:center"> | 66 | <div style="text-align:center"> |
68 | <input type="button" style="font-size:16px;color:#fff" class="btn submit-button" value="Select City" ng-click="apply()"> | 67 | <input type="button" style="font-size:16px;color:#fff" class="btn submit-button" value="Select City" ng-click="apply()"> |
69 | </div><br> | 68 | </div><br> |
70 | <div style="font-size:15px">* Fee will be increased by 50% post deadline<br> * A separate registration fee for Invest edition will be notified in due time.</div><br> | 69 | <div style="font-size:15px">* Fee will be increased by 50% post deadline<br> * A separate registration fee for Invest edition will be notified in due time.</div><br> |
71 | </div> | 70 | </div> |
72 | </div> | 71 | </div> |
73 | <footer> | 72 | <footer> |
74 | <img id="footer" class="img-responsive banner"> | 73 | <img id="footer" class="img-responsive banner"> |
75 | <center class="footer"> Powered By <a class="footer-link" href="http://www.viithiisys.com/" target="_blank">Viithiisys Technologies.</a> </center> | 74 | <center class="footer"> Powered By <a class="footer-link" href="http://www.viithiisys.com/" target="_blank">Viithiisys Technologies.</a> </center> |
76 | </footer> | 75 | </footer> |
77 | </form> | 76 | </form> |
pages/registration.html
1 | <div class="header"> | 1 | <div class="header"> |
2 | <div style="float: left;"> | 2 | <div style="float: left;"> |
3 | <a href="http://startupjalsa.com/" target="_blank"> | 3 | <a href="http://startupjalsa.com/" target="_blank"> |
4 | <img src="images/white.png" class="logo" > | 4 | <img src="images/white.png" class="logo" > |
5 | </a> | 5 | </a> |
6 | </div> | 6 | </div> |
7 | <!-- <div style="float: right;" class="right-side-links"> | 7 | <!-- <div style="float: right;" class="right-side-links"> |
8 | <a class="hyperColor" ng-click="openyoutube16()">Glipmses of 2016</a> | 8 | <a class="hyperColor" ng-click="openyoutube16()">Glipmses of 2016</a> |
9 | <a class="hyperColor" ng-click="openyoutube17()">Concept for 2017</a> | 9 | <a class="hyperColor" ng-click="openyoutube17()">Concept for 2017</a> |
10 | </div> --> | 10 | </div> --> |
11 | <div class="clearfix"></div> | 11 | <div class="clearfix"></div> |
12 | </div> | 12 | </div> |
13 | <!-- CLOSE HEADER --> | 13 | <!-- CLOSE HEADER --> |
14 | 14 | ||
15 | |||
15 | <div class="col-xs-12 col-md-10 col-md-offset-1"> | 16 | <div class="col-xs-12 col-md-10 col-md-offset-1"> |
16 | <p class="select-stage" style="font-size:16px;"><b>Please select one city.</b></p> | 17 | <p class="select-stage" style="font-size:16px;"><b>Please select one city.</b></p> |
17 | <div class="stage-shadow"> | 18 | <div class="stage-shadow"> |
18 | <div class="stages card-align"> | 19 | <div class="stages card-align"> |
19 | <div class="row"> | 20 | <div class="row"> |
20 | <div class="col-md-3"> | 21 | <div class="col-md-3"> |
21 | <div class="card" style="width:100%"> | 22 | <div class="card" style="width:100%"> |
22 | <label style="cursor:pointer; padding: 0;" class="thumbnail radius-border stage-thumbnail"> | 23 | <label style="cursor:pointer; padding: 0;" class="thumbnail radius-border stage-thumbnail"> |
23 | <img class="card-img-top" src="images/chennai.png" style="width:100%"> | 24 | <img class="card-img-top" src="images/chennai.png" style="width:100%"> |
24 | <div class="card-block"> | 25 | <div class="card-block"> |
25 | <div class="pull-left"> | 26 | <div class="pull-left"> |
26 | <h4 class="card-title">Chennai</h4> | 27 | <h4 class="card-title">Chennai</h4> |
27 | <label class="card-sub-title">9th November,2017</label> | 28 | <label class="card-sub-title">9th November,2017</label> |
28 | </div> | 29 | </div> |
29 | <div class="pull-right"> | 30 | <div class="pull-right"> |
30 | <button class="btn btn-info float-right btn-sm button-aligment" style="float:right;padding:3px 9px;" data-toggle="collapse" ng-click="register('chennai')">Apply</button> | 31 | <button class="btn btn-info float-right btn-sm button-aligment" style="float:right;padding:3px 9px;" data-toggle="collapse" ng-click="register('chennai')">Apply</button> |
31 | </div> | 32 | </div> |
32 | <div class="clearfix"></div> | 33 | <div class="clearfix"></div> |
33 | <label class="card-sub-title">Deadline:6th November,2017*</label> | 34 | <label class="card-sub-title">Deadline:<span id="chennai"></span>*</label> |
34 | </div> | 35 | </div> |
35 | <div class="card-text2"> | 36 | <div class="card-text2"> |
36 | <span><b>Location</b></span> | 37 | <span><b>Location</b></span> |
37 | <div class="card-text">BT Seminar Hall, IIT Madras</div> | 38 | <div class="card-text">BT Seminar Hall, IIT Madras</div> |
38 | </div> | 39 | </div> |
39 | </label> | 40 | </label> |
40 | </div> | 41 | </div> |
41 | </div> | 42 | </div> |
42 | <div class="col-md-3"> | 43 | <div class="col-md-3"> |
43 | <div class="card" style="width:100%"> | 44 | <div class="card" style="width:100%"> |
44 | <label style="cursor:pointer; padding: 0;" class="thumbnail radius-border stage-thumbnail"> | 45 | <label style="cursor:pointer; padding: 0;" class="thumbnail radius-border stage-thumbnail"> |
45 | <img class="card-img-top" src="images/pune.png" style="width:100%"> | 46 | <img class="card-img-top" src="images/pune.png" style="width:100%"> |
46 | <div class="card-block"> | 47 | <div class="card-block"> |
47 | <div class="pull-left"> | 48 | <div class="pull-left"> |
48 | <h4 class="card-title">Pune</h4> | 49 | <h4 class="card-title">Pune</h4> |
49 | <label class="card-sub-title">11th November,2017</label> | 50 | <label class="card-sub-title">11th November,2017</label> |
50 | </div> | 51 | </div> |
51 | <div class="pull-right"> | 52 | <div class="pull-right"> |
52 | <button class="btn btn-info float-right btn-sm button-aligment" style="float:right;padding:3px 9px;" ng-click="register('pune')">Apply</button> | 53 | <button class="btn btn-info float-right btn-sm button-aligment" style="float:right;padding:3px 9px;" ng-click="register('pune')">Apply</button> |
53 | </div> | 54 | </div> |
54 | <div class="clearfix"></div> | 55 | <div class="clearfix"></div> |
55 | <label class="card-sub-title">Deadline:8th November,2017*</label> | 56 | <label class="card-sub-title">Deadline:9th November,2017*</label> |
56 | </div> | 57 | </div> |
57 | <div class="card-text2"> | 58 | <div class="card-text2"> |
58 | <span><b>Location</b></span> | 59 | <span><b>Location</b></span> |
59 | <div class="card-text">To be decided</div> | 60 | <div class="card-text">To be decided</div> |
60 | </div> | 61 | </div> |
61 | </label> | 62 | </label> |
62 | </div> | 63 | </div> |
63 | </div> | 64 | </div> |
64 | <div class="col-md-3"> | 65 | <div class="col-md-3"> |
65 | <div class="card" style="width:100%"> | 66 | <div class="card" style="width:100%"> |
66 | <label style="cursor:pointer; padding: 0;" class="thumbnail radius-border stage-thumbnail"> | 67 | <label style="cursor:pointer; padding: 0;" class="thumbnail radius-border stage-thumbnail"> |
67 | <img class="card-img-top" src="images/Mumbai.png" style="width:100%"> | 68 | <img class="card-img-top" src="images/Mumbai.png" style="width:100%"> |
68 | <div class="card-block"> | 69 | <div class="card-block"> |
69 | <div class="pull-left"> | 70 | <div class="pull-left"> |
70 | <h4 class="card-title">Mumbai</h4> | 71 | <h4 class="card-title">Mumbai</h4> |
71 | <label class="card-sub-title">13th November,2017</label> | 72 | <label class="card-sub-title">13th November,2017</label> |
72 | </div> | 73 | </div> |
73 | <div class="pull-right"> | 74 | <div class="pull-right"> |
74 | <button class="btn btn-info float-right btn-sm button-aligment" style="float:right;padding:3px 9px;" ng-click="register('mumbai')">Apply</button> | 75 | <button class="btn btn-info float-right btn-sm button-aligment" style="float:right;padding:3px 9px;" ng-click="register('mumbai')">Apply</button> |
75 | </div> | 76 | </div> |
76 | <div class="clearfix"></div> | 77 | <div class="clearfix"></div> |
77 | <label class="card-sub-title">Deadline:10th November,2017*</label> | 78 | <label class="card-sub-title">Deadline:11th November,2017*</label> |
78 | </div> | 79 | </div> |
79 | <div class="card-text2"> | 80 | <div class="card-text2"> |
80 | <span><b>Location</b></span> | 81 | <span><b>Location</b></span> |
81 | <div class="card-text">To be decided</div> | 82 | <div class="card-text">To be decided</div> |
82 | </div> | 83 | </div> |
83 | </label> | 84 | </label> |
84 | </div> | 85 | </div> |
85 | </div> | 86 | </div> |
86 | <div class="col-md-3"> | 87 | <div class="col-md-3"> |
87 | <div class="card" style="width:100%"> | 88 | <div class="card" style="width:100%"> |
88 | <label style="cursor:pointer; padding: 0;" class="thumbnail radius-border stage-thumbnail"> | 89 | <label style="cursor:pointer; padding: 0;" class="thumbnail radius-border stage-thumbnail"> |
89 | <img class="card-img-top" src="images/Ahmedabad (1).png" style="width:100%"> | 90 | <img class="card-img-top" src="images/Ahmedabad (1).png" style="width:100%"> |
90 | <div class="card-block"> | 91 | <div class="card-block"> |
91 | <div class="pull-left"> | 92 | <div class="pull-left"> |
92 | <h4 class="card-title">Ahmedabad</h4> | 93 | <h4 class="card-title">Ahmedabad</h4> |
93 | <label class="card-sub-title">15th November,2017</label> | 94 | <label class="card-sub-title">15th November,2017</label> |
94 | </div> | 95 | </div> |
95 | <div class="pull-right"> | 96 | <div class="pull-right"> |
96 | <button class="btn btn-info float-right btn-sm button-aligment" style="float:right;padding:3px 9px;" ng-click="register('ahmedabad')">Apply</button> | 97 | <button class="btn btn-info float-right btn-sm button-aligment" style="float:right;padding:3px 9px;" ng-click="register('ahmedabad')">Apply</button> |
97 | </div> | 98 | </div> |
98 | <div class="clearfix"></div> | 99 | <div class="clearfix"></div> |
99 | <label class="card-sub-title">Deadline:12th November,2017*</label> | 100 | <label class="card-sub-title">Deadline:13th November,2017*</label> |
100 | </div> | 101 | </div> |
101 | <div class="card-text2"> | 102 | <div class="card-text2"> |
102 | <span><b>Location</b></span> | 103 | <span><b>Location</b></span> |
103 | <div class="card-text">To be decided</div> | 104 | <div class="card-text">To be decided</div> |
104 | </div> | 105 | </div> |
105 | </label> | 106 | </label> |
106 | </div> | 107 | </div> |
107 | </div> | 108 | </div> |
108 | </div> | 109 | </div> |
109 | </div> | 110 | </div> |
110 | <div class="clearfix"></div> | 111 | <div class="clearfix"></div> |
111 | <div class="stages card-align" style="margin-top: 2%;"> | 112 | <div class="stages card-align" style="margin-top: 2%;"> |
112 | <div class="row"> | 113 | <div class="row"> |
113 | <div class="col-md-3"> | 114 | <div class="col-md-3"> |
114 | <div class="card" style="width:100%"> | 115 | <div class="card" style="width:100%"> |
115 | <label style="cursor:pointer; padding: 0;" class="thumbnail radius-border stage-thumbnail"> | 116 | <label style="cursor:pointer; padding: 0;" class="thumbnail radius-border stage-thumbnail"> |
116 | <img class="card-img-top" src="images/jaipur_2.jpg" style="width:100%"> | 117 | <img class="card-img-top" src="images/jaipur_2.jpg" style="width:100%"> |
117 | <div class="card-block"> | 118 | <div class="card-block"> |
118 | <div class="pull-left"> | 119 | <div class="pull-left"> |
119 | <h4 class="card-title">Jaipur</h4> | 120 | <h4 class="card-title">Jaipur</h4> |
120 | <label class="card-sub-title">17th November,2017</label> | 121 | <label class="card-sub-title">17th November,2017</label> |
121 | </div> | 122 | </div> |
122 | <div class="pull-right"> | 123 | <div class="pull-right"> |
123 | <button class="btn btn-info float-right btn-sm button-aligment" style="float:right;padding:3px 9px;" ng-click="register('jaipur')">Apply</button> | 124 | <button class="btn btn-info float-right btn-sm button-aligment" style="float:right;padding:3px 9px;" ng-click="register('jaipur')">Apply</button> |
124 | </div> | 125 | </div> |
125 | <div class="clearfix"></div> | 126 | <div class="clearfix"></div> |
126 | <label class="card-sub-title">Deadline:14th November,2017*</label> | 127 | <label class="card-sub-title">Deadline:15th November,2017*</label> |
127 | </div> | 128 | </div> |
128 | <div class="card-text2"> | 129 | <div class="card-text2"> |
129 | <span><b>Location</b></span> | 130 | <span><b>Location</b></span> |
130 | <div class="card-text">To be decided</div> | 131 | <div class="card-text">To be decided</div> |
131 | </div> | 132 | </div> |
132 | </label> | 133 | </label> |
133 | </div> | 134 | </div> |
134 | </div> | 135 | </div> |
135 | <div class="col-md-3"> | 136 | <div class="col-md-3"> |
136 | <div class="card" style="width:100%"> | 137 | <div class="card" style="width:100%"> |
137 | <label style="cursor:pointer; padding: 0;" class="thumbnail radius-border stage-thumbnail"> | 138 | <label style="cursor:pointer; padding: 0;" class="thumbnail radius-border stage-thumbnail"> |
138 | <img class="card-img-top" src="images/Delhi.png" style="width:100%"> | 139 | <img class="card-img-top" src="images/Delhi.png" style="width:100%"> |
139 | <div class="card-block"> | 140 | <div class="card-block"> |
140 | <div class="pull-left"> | 141 | <div class="pull-left"> |
141 | <h4 class="card-title">Delhi</h4> | 142 | <h4 class="card-title">Delhi</h4> |
142 | <label class="card-sub-title">19th November,2017</label> | 143 | <label class="card-sub-title">19th November,2017</label> |
143 | </div> | 144 | </div> |
144 | <div class="pull-right"> | 145 | <div class="pull-right"> |
145 | <button class="btn btn-info float-right btn-sm button-aligment" style="float:right;padding:3px 9px;" ng-click="register('delhi')">Apply</button> | 146 | <button class="btn btn-info float-right btn-sm button-aligment" style="float:right;padding:3px 9px;" ng-click="register('delhi')">Apply</button> |
146 | </div> | 147 | </div> |
147 | <div class="clearfix"></div> | 148 | <div class="clearfix"></div> |
148 | <label class="card-sub-title">Deadline:16th November,2017*</label> | 149 | <label class="card-sub-title">Deadline:17th November,2017*</label> |
149 | </div> | 150 | </div> |
150 | <div class="card-text2"> | 151 | <div class="card-text2"> |
151 | <span><b>Location</b></span> | 152 | <span><b>Location</b></span> |
152 | <div class="card-text">To be decided</div> | 153 | <div class="card-text">To be decided</div> |
153 | </div> | 154 | </div> |
154 | </label> | 155 | </label> |
155 | </div> | 156 | </div> |
156 | </div> | 157 | </div> |
157 | <div class="col-md-3"> | 158 | <div class="col-md-3"> |
158 | <div class="card" style="width:100%"> | 159 | <div class="card" style="width:100%"> |
159 | <label style="cursor:pointer; padding: 0;" class="thumbnail radius-border stage-thumbnail"> | 160 | <label style="cursor:pointer; padding: 0;" class="thumbnail radius-border stage-thumbnail"> |
160 | <img class="card-img-top" src="images/bangalore.png" style="width:100%"> | 161 | <img class="card-img-top" src="images/bangalore.png" style="width:100%"> |
161 | <div class="card-block"> | 162 | <div class="card-block"> |
162 | <div class="pull-left"> | 163 | <div class="pull-left"> |
163 | <h4 class="card-title">Bangalore</h4> | 164 | <h4 class="card-title">Bangalore</h4> |
164 | <label class="card-sub-title">21st November,2017(Tentative)</label> | 165 | <label class="card-sub-title">21st November,2017(Tentative)</label> |
165 | </div> | 166 | </div> |
166 | <div class="pull-right"> | 167 | <div class="pull-right"> |
167 | <button class="btn btn-info float-right btn-sm button-aligment" style="float:right;padding:3px 9px;" ng-click="register('bangalore')">Apply</button> | 168 | <button class="btn btn-info float-right btn-sm button-aligment" style="float:right;padding:3px 9px;" ng-click="register('bangalore')">Apply</button> |
168 | </div> | 169 | </div> |
169 | <div class="clearfix"></div> | 170 | <div class="clearfix"></div> |
170 | <label class="card-sub-title">Deadline:18th November,2017*</label> | 171 | <label class="card-sub-title">Deadline:19th November,2017*</label> |
171 | </div> | 172 | </div> |
172 | <div class="card-text2"> | 173 | <div class="card-text2"> |
173 | <span><b>Location</b></span> | 174 | <span><b>Location</b></span> |
174 | <div class="card-text">To be decided</div> | 175 | <div class="card-text">To be decided</div> |
175 | </div> | 176 | </div> |
176 | </label> | 177 | </label> |
177 | </div> | 178 | </div> |
178 | </div> | 179 | </div> |
179 | <div class="col-md-3"> | 180 | <div class="col-md-3"> |
180 | <div class="card" style="width:100%"> | 181 | <div class="card" style="width:100%"> |
181 | <label style="cursor:pointer; padding: 0;" class="thumbnail radius-border stage-thumbnail"> | 182 | <label style="cursor:pointer; padding: 0;" class="thumbnail radius-border stage-thumbnail"> |
182 | <img class="card-img-top" src="images/Hyderabad.png" style="width:100%"> | 183 | <img class="card-img-top" src="images/Hyderabad.png" style="width:100%"> |
183 | <div class="card-block"> | 184 | <div class="card-block"> |
184 | <div class="pull-left"> | 185 | <div class="pull-left"> |
185 | <h4 class="card-title">Hyderabad</h4> | 186 | <h4 class="card-title">Hyderabad</h4> |
186 | <label class="card-sub-title">23rd November,2017(Tentative)</label> | 187 | <label class="card-sub-title">23rd November,2017(Tentative)</label> |
187 | </div> | 188 | </div> |
188 | <div class="pull-right"> | 189 | <div class="pull-right"> |
189 | <button class="btn btn-info float-right btn-sm button-aligment" style="float:right;padding:3px 9px;" ng-click="register('hyderabad')">Apply</button> | 190 | <button class="btn btn-info float-right btn-sm button-aligment" style="float:right;padding:3px 9px;" ng-click="register('hyderabad')">Apply</button> |
190 | </div> | 191 | </div> |
191 | <div class="clearfix"></div> | 192 | <div class="clearfix"></div> |
192 | <label class="card-sub-title">Deadline:20th November,2017*</label> | 193 | <label class="card-sub-title">Deadline:21st November,2017*</label> |
193 | </div> | 194 | </div> |
194 | <div class="card-text2"> | 195 | <div class="card-text2"> |
195 | <span><b>Location</b></span> | 196 | <span><b>Location</b></span> |
196 | <div class="card-text">To be decided</div> | 197 | <div class="card-text">To be decided</div> |
197 | </div> | 198 | </div> |
198 | </label> | 199 | </label> |
199 | </div> | 200 | </div> |
200 | </div> | 201 | </div> |
201 | <div class="col-md-3" style="margin-top: 2%;"> | 202 | <div class="col-md-3" style="margin-top: 2%;"> |
202 | <div class="card" style="width:100%"> | 203 | <div class="card" style="width:100%"> |
203 | <label style="cursor:pointer; padding: 0;" class="thumbnail radius-border stage-thumbnail"> | 204 | <label style="cursor:pointer; padding: 0;" class="thumbnail radius-border stage-thumbnail"> |
204 | <img class="card-img-top" src="images/Chandigarh.png" style="width:100%"> | 205 | <img class="card-img-top" src="images/Chandigarh.png" style="width:100%"> |
205 | <div class="card-block"> | 206 | <div class="card-block"> |
206 | <div class="pull-left"> | 207 | <div class="pull-left"> |
207 | <h4 class="card-title">Chandigarh</h4> | 208 | <h4 class="card-title">Chandigarh</h4> |
208 | <label class="card-sub-title">1st December,2017(Tentative)</label> | 209 | <label class="card-sub-title">1st December,2017(Tentative)</label> |
209 | </div> | 210 | </div> |
210 | <div class="pull-right"> | 211 | <div class="pull-right"> |
211 | <button class="btn btn-info float-right btn-sm button-aligment" style="float:right;padding:3px 9px;" ng-click="register('chandigarh')">Apply</button> | 212 | <button class="btn btn-info float-right btn-sm button-aligment" style="float:right;padding:3px 9px;" ng-click="register('chandigarh')">Apply</button> |
212 | </div> | 213 | </div> |
213 | <div class="clearfix"></div> | 214 | <div class="clearfix"></div> |
214 | <label class="card-sub-title">Deadline:28th November,2017*</label> | 215 | <label class="card-sub-title">Deadline:29th November,2017*</label> |
215 | </div> | 216 | </div> |
216 | <div class="card-text2"> | 217 | <div class="card-text2"> |
217 | <span><b>Location</b></span> | 218 | <span><b>Location</b></span> |
218 | <div class="card-text">To be decided</div> | 219 | <div class="card-text">To be decided</div> |
219 | </div> | 220 | </div> |
220 | </label> | 221 | </label> |
221 | </div> | 222 | </div> |
222 | </div> | 223 | </div> |
223 | </div> | 224 | </div> |
224 | </div> | 225 | </div> |
225 | <div class="clearfix"></div> | 226 | <div class="clearfix"></div> |
226 | </div> | 227 | </div> |
227 | </div> | 228 | </div> |
228 | <div class="clearfix"></div> | 229 | <div class="clearfix"></div> |
229 | <div style="display: none;" class="hiddenForm"> | 230 | <div style="display: none;" class="hiddenForm"> |
230 | <div class="navbar-collapse"> | 231 | <div class="navbar-collapse"> |
231 | <form name="applicantForm" id="signupForm"> | 232 | <form name="applicantForm" id="signupForm"> |
232 | <div class="col-xs-12 col-md-10 col-md-offset-1"> | 233 | <div class="col-xs-12 col-md-10 col-md-offset-1"> |
233 | <p class="select-stage" style="font-size:16px;"><b>Please select one stage.</b></p> | 234 | <p class="select-stage" style="font-size:16px;"><b>Please select one stage.</b></p> |
234 | <div class="stage-shadow"> | 235 | <div class="stage-shadow"> |
235 | <div class="stages card-align"> | 236 | <div class="stages card-align"> |
236 | <div class="col-xs-4 no-padding"> | 237 | <div class="col-xs-4 no-padding"> |
237 | <div class="card stages-card"> | 238 | <div class="card stages-card"> |
238 | <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')"> | 239 | <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')"> |
239 | <label style="cursor:pointer" class="thumbnail radius-border stage-thumbnail" for="ideation"> | 240 | <label style="cursor:pointer" class="thumbnail radius-border stage-thumbnail" for="ideation"> |
240 | <img class="stage-img stage-idea" src="images/idea-stage.png" alt="Lights"> | 241 | <img class="stage-img stage-idea" src="images/idea-stage.png" alt="Lights"> |
241 | <div class="card-content f-family"> | 242 | <div class="card-content f-family"> |
242 | <p align="center">Idea</p> | 243 | <p align="center">Idea</p> |
243 | </div> | 244 | </div> |
244 | </label> | 245 | </label> |
245 | </div> | 246 | </div> |
246 | <div class="clearfix"></div> | 247 | <div class="clearfix"></div> |
247 | <div class="cards-content hidden-xs"> | 248 | <div class="cards-content hidden-xs"> |
248 | <p> | 249 | <p> |
249 | ⚬ <span style="font-weight:bold">Have an idea and need execution help?</span><br> | 250 | ⚬ <span style="font-weight:bold">Have an idea and need execution help?</span><br> |
250 | ⚬ Get feedback from mentors<br> | 251 | ⚬ Get feedback from mentors<br> |
251 | ⚬ Validate your idea. | 252 | ⚬ Validate your idea. |
252 | </p> | 253 | </p> |
253 | </div> | 254 | </div> |
254 | </div> | 255 | </div> |
255 | <div class="col-xs-4 no-padding-mobile"> | 256 | <div class="col-xs-4 no-padding-mobile"> |
256 | <div class="card stages-card margin-auto-mobile"> | 257 | <div class="card stages-card margin-auto-mobile"> |
257 | <input type="radio" ng-model="data.stage" class="stageRadio" value="Product" name="Idea" id="Proof" ng-required="Product" ng-click="stage('Product')"> | 258 | <input type="radio" ng-model="data.stage" class="stageRadio" value="Product" name="Idea" id="Proof" ng-required="Product" ng-click="stage('Product')"> |
258 | <label style="cursor:pointer" class="thumbnail radius-border stage-thumbnail" for="Proof"> | 259 | <label style="cursor:pointer" class="thumbnail radius-border stage-thumbnail" for="Proof"> |
259 | <img class="stage-img stage-product" src="images/production-stage.png" alt="Lights"> | 260 | <img class="stage-img stage-product" src="images/production-stage.png" alt="Lights"> |
260 | <div class="card-content f-family"> | 261 | <div class="card-content f-family"> |
261 | <p align="center">Product</p> | 262 | <p align="center">Product</p> |
262 | </div> | 263 | </div> |
263 | </label> | 264 | </label> |
264 | </div> | 265 | </div> |
265 | <div class="clearfix"></div> | 266 | <div class="clearfix"></div> |
266 | <div class="cards-content hidden-xs"> | 267 | <div class="cards-content hidden-xs"> |
267 | <p> | 268 | <p> |
268 | ⚬ <span style="font-weight:bold">Have a prototype and want to take it to next level?</span><br> | 269 | ⚬ <span style="font-weight:bold">Have a prototype and want to take it to next level?</span><br> |
269 | ⚬ Advice on fundraising<br> | 270 | ⚬ Advice on fundraising<br> |
270 | ⚬ Advice on go-to-market strategy | 271 | ⚬ Advice on go-to-market strategy |
271 | </p> | 272 | </p> |
272 | </div> | 273 | </div> |
273 | </div> | 274 | </div> |
274 | <div class="col-xs-4 no-padding"> | 275 | <div class="col-xs-4 no-padding"> |
275 | <div class="card stages-card right-stage-card"> | 276 | <div class="card stages-card right-stage-card"> |
276 | <input type="radio" ng-model="data.stage" class="stageRadio" value="Growth" name="Idea" id="Beta" ng-required="Growth" ng-click="stage('Growth')"> | 277 | <input type="radio" ng-model="data.stage" class="stageRadio" value="Growth" name="Idea" id="Beta" ng-required="Growth" ng-click="stage('Growth')"> |
277 | <label style="cursor:pointer" class="thumbnail radius-border stage-thumbnail" for="Beta"> | 278 | <label style="cursor:pointer" class="thumbnail radius-border stage-thumbnail" for="Beta"> |
278 | <img class="stage-img stage-growth" src="images/growth-stage.png" alt="Lights"> | 279 | <img class="stage-img stage-growth" src="images/growth-stage.png" alt="Lights"> |
279 | <div class="card-content f-family"> | 280 | <div class="card-content f-family"> |
280 | <p align="center">Growth</p> | 281 | <p align="center">Growth</p> |
281 | </div> | 282 | </div> |
282 | </label> | 283 | </label> |
283 | </div> | 284 | </div> |
284 | <div class="clearfix"></div> | 285 | <div class="clearfix"></div> |
285 | <div class="cards-content hidden-xs"> | 286 | <div class="cards-content hidden-xs"> |
286 | <p> | 287 | <p> |
287 | ⚬ <span style="font-weight:bold">Have traction and looking to scale up?</span><br> | 288 | ⚬ <span style="font-weight:bold">Have traction and looking to scale up?</span><br> |
288 | ⚬ Connect with Series A investors<br> | 289 | ⚬ Connect with Series A investors<br> |
289 | ⚬ Connect and hire top startups | 290 | ⚬ Connect and hire top startups |
290 | </p> | 291 | </p> |
291 | </div> | 292 | </div> |
292 | </div> | 293 | </div> |
293 | <div class="clearfix"></div> | 294 | <div class="clearfix"></div> |
294 | </div> | 295 | </div> |
295 | <div class="clearfix"></div> | 296 | <div class="clearfix"></div> |
296 | </div> | 297 | </div> |
297 | <div class="hidden-sm hidden-md hidden-lg"> | 298 | <div class="hidden-sm hidden-md hidden-lg"> |
298 | <div class="cards-content" ng-if="data.stage == 'Idea'"> | 299 | <div class="cards-content" ng-if="data.stage == 'Idea'"> |
299 | <p> | 300 | <p> |
300 | ⚬ <span style="font-weight:bold">Have an idea and need execution help?</span><br> | 301 | ⚬ <span style="font-weight:bold">Have an idea and need execution help?</span><br> |
301 | ⚬ Get feedback from mentors<br> | 302 | ⚬ Get feedback from mentors<br> |
302 | ⚬ Validate your idea. | 303 | ⚬ Validate your idea. |
303 | </p> | 304 | </p> |
304 | </div> | 305 | </div> |
305 | <div class="cards-content" ng-if="data.stage == 'Product'"> | 306 | <div class="cards-content" ng-if="data.stage == 'Product'"> |
306 | <p> | 307 | <p> |
307 | ⚬ <span style="font-weight:bold">Have a prototype and want to take it to next level?</span><br> | 308 | ⚬ <span style="font-weight:bold">Have a prototype and want to take it to next level?</span><br> |
308 | ⚬ Advice on fundraising<br> | 309 | ⚬ Advice on fundraising<br> |
309 | ⚬ Advice on go-to-market strategy | 310 | ⚬ Advice on go-to-market strategy |
310 | </p> | 311 | </p> |
311 | </div> | 312 | </div> |
312 | <div class="cards-content" ng-if="data.stage == 'Growth'"> | 313 | <div class="cards-content" ng-if="data.stage == 'Growth'"> |
313 | <p> | 314 | <p> |
314 | ⚬ <span style="font-weight:bold">Have traction and looking to scale up?</span><br> | 315 | ⚬ <span style="font-weight:bold">Have traction and looking to scale up?</span><br> |
315 | ⚬ Connect with Series A investors<br> | 316 | ⚬ Connect with Series A investors<br> |
316 | ⚬ Connect and hire top startups | 317 | ⚬ Connect and hire top startups |
317 | </p> | 318 | </p> |
318 | </div> | 319 | </div> |
319 | </div> | 320 | </div> |
320 | <!-- CLOSE STAGE SHADOW --> | 321 | <!-- CLOSE STAGE SHADOW --> |
321 | <div class="form-all"> | 322 | <div class="form-all"> |
322 | <div class="col-xs-12 col-md-6 input-wrapper"> | 323 | <div class="col-xs-12 col-md-6 input-wrapper"> |
323 | <div id="snackbar">Error ! Please fill in all fields.</div> | 324 | <div id="snackbar">Error ! Please fill in all fields.</div> |
324 | <div class="icon-circle-c"> | 325 | <div class="icon-circle-c"> |
325 | <i class="material-icons" style="line-height: 31px;">assignment_ind</i> | 326 | <i class="material-icons" style="line-height: 31px;">assignment_ind</i> |
326 | </div> | 327 | </div> |
327 | <input type="text" class="text-input" required ng-model="data.firstName" placeholder="First Name *" id="myBtn" name="firstName" ng-change="entername(data.firstName); firstNamekeyPress(data.firstName)"> | 328 | <input type="text" class="text-input" required ng-model="data.firstName" placeholder="First Name *" id="myBtn" name="firstName" ng-change="entername(data.firstName); firstNamekeyPress(data.firstName)"> |
328 | </div> | 329 | </div> |
329 | <div class="col-xs-12 col-md-6 input-wrapper"> | 330 | <div class="col-xs-12 col-md-6 input-wrapper"> |
330 | <div id="snackbar">Error ! Please fill in all fields.</div> | 331 | <div id="snackbar">Error ! Please fill in all fields.</div> |
331 | <div class="icon-circle-x"> | 332 | <div class="icon-circle-x"> |
332 | <i class="material-icons" style="line-height: 31px;">assignment_ind</i> | 333 | <i class="material-icons" style="line-height: 31px;">assignment_ind</i> |
333 | </div> | 334 | </div> |
334 | <input type="text" class="text-input" required ng-model="data.lastName" placeholder="Last Name *" id="myBtn" name="lastName" ng-change="entername(data.lastName); lastNamekeyPress(data.lastName)"> | 335 | <input type="text" class="text-input" required ng-model="data.lastName" placeholder="Last Name *" id="myBtn" name="lastName" ng-change="entername(data.lastName); lastNamekeyPress(data.lastName)"> |
335 | </div> | 336 | </div> |
336 | <div class="col-xs-12 col-md-6 input-wrapper"> | 337 | <div class="col-xs-12 col-md-6 input-wrapper"> |
337 | <div id="snackbar">Error ! Please fill in all fields.</div> | 338 | <div id="snackbar">Error ! Please fill in all fields.</div> |
338 | <div class="icon-circle-d"> | 339 | <div class="icon-circle-d"> |
339 | <i class="material-icons" style="line-height: 30px;">email</i> | 340 | <i class="material-icons" style="line-height: 30px;">email</i> |
340 | </div> | 341 | </div> |
341 | <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)" ng-keyup="emailTest($event)"> | 342 | <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)" ng-keyup="emailTest($event)"> |
342 | <label class="error-message f-family" id="invalidEmail">Please enter a valid email address.</label> | 343 | <label class="error-message f-family" id="invalidEmail">Please enter a valid email address.</label> |
343 | <label ng-if="check">Email already exist.</label> | 344 | <label ng-if="check">Email already exist.</label> |
344 | <label style="color: #ff0000;margin: 5px 4px -5px 0px" ng-if="space == true" >Please remove the space.</label> | 345 | <label style="color: #ff0000;margin: 5px 4px -5px 0px" ng-if="space == true" >Please remove the space.</label> |
345 | </div> | 346 | </div> |
346 | <div class="col-xs-12 col-md-6 input-wrapper f-family"> | 347 | <div class="col-xs-12 col-md-6 input-wrapper f-family"> |
347 | <div class="icon-circle-f"> | 348 | <div class="icon-circle-f"> |
348 | <i class="material-icons" style="line-height: 30px;">location_city</i> | 349 | <i class="material-icons" style="line-height: 30px;">location_city</i> |
349 | </div> | 350 | </div> |
350 | <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;"> | 351 | <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;"> |
351 | <option name="city" selected disabled value="">Choose City *</option> | 352 | <option name="city" selected disabled value="">Choose City *</option> |
352 | <option value="Agra">Agra</option> | 353 | <option value="Agra">Agra</option> |
353 | <option value="Ahmedabad">Ahmedabad</option> | 354 | <option value="Ahmedabad">Ahmedabad</option> |
354 | <option value="Ajmer">Ajmer</option> | 355 | <option value="Ajmer">Ajmer</option> |
355 | <option value="Aligarh">Aligarh</option> | 356 | <option value="Aligarh">Aligarh</option> |
356 | <option value="Allahabad">Allahabad</option> | 357 | <option value="Allahabad">Allahabad</option> |
357 | <option value="Ambattur">Ambattur</option> | 358 | <option value="Ambattur">Ambattur</option> |
358 | <option value="Amravati">Amravati</option> | 359 | <option value="Amravati">Amravati</option> |
359 | <option value="Amritsar">Amritsar</option> | 360 | <option value="Amritsar">Amritsar</option> |
360 | <option value="Asansol">Asansol</option> | 361 | <option value="Asansol">Asansol</option> |
361 | <option value="Aurangabad">Aurangabad</option> | 362 | <option value="Aurangabad">Aurangabad</option> |
362 | <option value="Bareilly">Bareilly</option> | 363 | <option value="Bareilly">Bareilly</option> |
363 | <option value="Belgaum">Belgaum</option> | 364 | <option value="Belgaum">Belgaum</option> |
364 | <option value="Bengaluru">Bengaluru</option> | 365 | <option value="Bengaluru">Bengaluru</option> |
365 | <option value="Bhavnagar">Bhavnagar</option> | 366 | <option value="Bhavnagar">Bhavnagar</option> |
366 | <option value="Bhayander">Bhayander</option> | 367 | <option value="Bhayander">Bhayander</option> |
367 | <option value="Bhilai Nagar">Bhilai Nagar</option> | 368 | <option value="Bhilai Nagar">Bhilai Nagar</option> |
368 | <option value="Bhiwandi">Bhiwandi</option> | 369 | <option value="Bhiwandi">Bhiwandi</option> |
369 | <option value="Bhopal">Bhopal</option> | 370 | <option value="Bhopal">Bhopal</option> |
370 | <option value="Bhubaneswar">Bhubaneswar</option> | 371 | <option value="Bhubaneswar">Bhubaneswar</option> |
371 | <option value="Bikaner">Bikaner</option> | 372 | <option value="Bikaner">Bikaner</option> |
372 | <option value="Chandigarh">Chandigarh</option> | 373 | <option value="Chandigarh">Chandigarh</option> |
373 | <option value="Chennai">Chennai</option> | 374 | <option value="Chennai">Chennai</option> |
374 | <option value="Chinchwad">Chinchwad</option> | 375 | <option value="Chinchwad">Chinchwad</option> |
375 | <option value="Coimbatore">Coimbatore</option> | 376 | <option value="Coimbatore">Coimbatore</option> |
376 | <option value="Cuttack">Cuttack</option> | 377 | <option value="Cuttack">Cuttack</option> |
377 | <option value="Dehradun">Dehradun</option> | 378 | <option value="Dehradun">Dehradun</option> |
378 | <option value="Delhi-NCR">Delhi-NCR</option> | 379 | <option value="Delhi-NCR">Delhi-NCR</option> |
379 | <option value="Dhanbad">Dhanbad</option> | 380 | <option value="Dhanbad">Dhanbad</option> |
380 | <option value="Dharwad">Dharwad</option> | 381 | <option value="Dharwad">Dharwad</option> |
381 | <option value="Dombivali">Dombivali</option> | 382 | <option value="Dombivali">Dombivali</option> |
382 | <option value="Durgapur">Durgapur</option> | 383 | <option value="Durgapur">Durgapur</option> |
383 | <option value="Faridabad">Faridabad</option> | 384 | <option value="Faridabad">Faridabad</option> |
384 | <option value="Firozabad">Firozabad</option> | 385 | <option value="Firozabad">Firozabad</option> |
385 | <option value="Gaya">Gaya</option> | 386 | <option value="Gaya">Gaya</option> |
386 | <option value="Ghaziabad">Ghaziabad</option> | 387 | <option value="Ghaziabad">Ghaziabad</option> |
387 | <option value="Gorakhpur">Gorakhpur</option> | 388 | <option value="Gorakhpur">Gorakhpur</option> |
388 | <option value="Gulbarga">Gulbarga</option> | 389 | <option value="Gulbarga">Gulbarga</option> |
389 | <option value="Guntur">Guntur</option> | 390 | <option value="Guntur">Guntur</option> |
390 | <option value="Gurgaon">Gurgaon</option> | 391 | <option value="Gurgaon">Gurgaon</option> |
391 | <option value="Guwahati">Guwahati</option> | 392 | <option value="Guwahati">Guwahati</option> |
392 | <option value="Gwalior">Gwalior</option> | 393 | <option value="Gwalior">Gwalior</option> |
393 | <option value="Haora">Haora</option> | 394 | <option value="Haora">Haora</option> |
394 | <option value="Hubli">Hubli</option> | 395 | <option value="Hubli">Hubli</option> |
395 | <option value="Hyderabad">Hyderabad</option> | 396 | <option value="Hyderabad">Hyderabad</option> |
396 | <option value="Indore">Indore</option> | 397 | <option value="Indore">Indore</option> |
397 | <option value="Jabalpur">Jabalpur</option> | 398 | <option value="Jabalpur">Jabalpur</option> |
398 | <option value="Jaipur">Jaipur</option> | 399 | <option value="Jaipur">Jaipur</option> |
399 | <option value="Jalandhar">Jalandhar</option> | 400 | <option value="Jalandhar">Jalandhar</option> |
400 | <option value="Jalgaon">Jalgaon</option> | 401 | <option value="Jalgaon">Jalgaon</option> |
401 | <option value="Jammu">Jammu</option> | 402 | <option value="Jammu">Jammu</option> |
402 | <option value="Jamnagar">Jamnagar</option> | 403 | <option value="Jamnagar">Jamnagar</option> |
403 | <option value="Jamshedpur">Jamshedpur</option> | 404 | <option value="Jamshedpur">Jamshedpur</option> |
404 | <option value="Jhansi">Jhansi</option> | 405 | <option value="Jhansi">Jhansi</option> |
405 | <option value="Jodhpur">Jodhpur</option> | 406 | <option value="Jodhpur">Jodhpur</option> |
406 | <option value="Kalyan">Kalyan</option> | 407 | <option value="Kalyan">Kalyan</option> |
407 | <option value="Kanpur">Kanpur</option> | 408 | <option value="Kanpur">Kanpur</option> |
408 | <option value="Kochi">Kochi</option> | 409 | <option value="Kochi">Kochi</option> |
409 | <option value="Kolapur">Kolapur</option> | 410 | <option value="Kolapur">Kolapur</option> |
410 | <option value="Kolkata">Kolkata</option> | 411 | <option value="Kolkata">Kolkata</option> |
411 | <option value="Kota">Kota</option> | 412 | <option value="Kota">Kota</option> |
412 | <option value="Loni">Loni</option> | 413 | <option value="Loni">Loni</option> |
413 | <option value="Lucknow">Lucknow</option> | 414 | <option value="Lucknow">Lucknow</option> |
414 | <option value="Ludhiana">Ludhiana</option> | 415 | <option value="Ludhiana">Ludhiana</option> |
415 | <option value="Madurai">Madurai</option> | 416 | <option value="Madurai">Madurai</option> |
416 | <option value="Maheshtala">Maheshtala</option> | 417 | <option value="Maheshtala">Maheshtala</option> |
417 | <option value="Malegoan">Malegoan</option> | 418 | <option value="Malegoan">Malegoan</option> |
418 | <option value="Mangalore">Mangalore</option> | 419 | <option value="Mangalore">Mangalore</option> |
419 | <option value="Meerut">Meerut</option> | 420 | <option value="Meerut">Meerut</option> |
420 | <option value="Mira">Mira</option> | 421 | <option value="Mira">Mira</option> |
421 | <option value="Moradabad">Moradabad</option> | 422 | <option value="Moradabad">Moradabad</option> |
422 | <option value="Mumbai">Mumbai</option> | 423 | <option value="Mumbai">Mumbai</option> |
423 | <option value="Mysore">Mysore</option> | 424 | <option value="Mysore">Mysore</option> |
424 | <option value="Nagpur">Nagpur</option> | 425 | <option value="Nagpur">Nagpur</option> |
425 | <option value="Nanded Waghala">Nanded Waghala</option> | 426 | <option value="Nanded Waghala">Nanded Waghala</option> |
426 | <option value="Nashik">Nashik</option> | 427 | <option value="Nashik">Nashik</option> |
427 | <option value="Navi Mumbai">Navi Mumbai</option> | 428 | <option value="Navi Mumbai">Navi Mumbai</option> |
428 | <option value="Nellore">Nellore</option> | 429 | <option value="Nellore">Nellore</option> |
429 | <option value="Noida">Noida</option> | 430 | <option value="Noida">Noida</option> |
430 | <option value="Patna">Patna</option> | 431 | <option value="Patna">Patna</option> |
431 | <option value="Pimpri">Pimpri</option> | 432 | <option value="Pimpri">Pimpri</option> |
432 | <option value="Pune">Pune</option> | 433 | <option value="Pune">Pune</option> |
433 | <option value="Raipur">Raipur</option> | 434 | <option value="Raipur">Raipur</option> |
434 | <option value="Rajkot">Rajkot</option> | 435 | <option value="Rajkot">Rajkot</option> |
435 | <option value="Ranchi">Ranchi</option> | 436 | <option value="Ranchi">Ranchi</option> |
436 | <option value="Saharanpur">Saharanpur</option> | 437 | <option value="Saharanpur">Saharanpur</option> |
437 | <option value="Salem">Salem</option> | 438 | <option value="Salem">Salem</option> |
438 | <option value="Sangli Miraj Kupwad">Sangli Miraj Kupwad</option> | 439 | <option value="Sangli Miraj Kupwad">Sangli Miraj Kupwad</option> |
439 | <option value="Siliguri">Siliguri</option> | 440 | <option value="Siliguri">Siliguri</option> |
440 | <option value="Solapur">Solapur</option> | 441 | <option value="Solapur">Solapur</option> |
441 | <option value="Srinagar">Srinagar</option> | 442 | <option value="Srinagar">Srinagar</option> |
442 | <option value="Surat">Surat</option> | 443 | <option value="Surat">Surat</option> |
443 | <option value="Thane">Thane</option> | 444 | <option value="Thane">Thane</option> |
444 | <option value="Thiruvananthapuram">Thiruvananthapuram</option> | 445 | <option value="Thiruvananthapuram">Thiruvananthapuram</option> |
445 | <option value="Tiruchirappalli">Tiruchirappalli</option> | 446 | <option value="Tiruchirappalli">Tiruchirappalli</option> |
446 | <option value="Tirunelveli">Tirunelveli</option> | 447 | <option value="Tirunelveli">Tirunelveli</option> |
447 | <option value="Udaipur">Udaipur</option> | 448 | <option value="Udaipur">Udaipur</option> |
448 | <option value="Ujjain">Ujjain</option> | 449 | <option value="Ujjain">Ujjain</option> |
449 | <option value="Ulhasnagar">Ulhasnagar</option> | 450 | <option value="Ulhasnagar">Ulhasnagar</option> |
450 | <option value="Vadodara">Vadodara</option> | 451 | <option value="Vadodara">Vadodara</option> |
451 | <option value="Varanasi">Varanasi</option> | 452 | <option value="Varanasi">Varanasi</option> |
452 | <option value="Vasai Virar">Vasai Virar</option> | 453 | <option value="Vasai Virar">Vasai Virar</option> |
453 | <option value="Vijayawada">Vijayawada</option> | 454 | <option value="Vijayawada">Vijayawada</option> |
454 | <option value="Visakhapatnam">Visakhapatnam</option> | 455 | <option value="Visakhapatnam">Visakhapatnam</option> |
455 | <option value="Warangal">Warangal</option> | 456 | <option value="Warangal">Warangal</option> |
456 | <option value="anyOther">Any other</option> | 457 | <option value="anyOther">Any other</option> |
457 | </select> | 458 | </select> |
458 | </div> | 459 | </div> |
459 | <!-- <div class="col-xs-12 col-md-12 f-family line-adjust"> | 460 | <!-- <div class="col-xs-12 col-md-12 f-family line-adjust"> |
460 | <strong>Which city meet-up would you like to attend? </strong> | 461 | <strong>Which city meet-up would you like to attend? </strong> |
461 | <p class="line-space" ></p> | 462 | <p class="line-space" ></p> |
462 | </div> | 463 | </div> |
463 | <div class="col-xs-12 col-md-12 input-wrapper f-family"> | 464 | <div class="col-xs-12 col-md-12 input-wrapper f-family"> |
464 | <div class="icon-circle-p"> | 465 | <div class="icon-circle-p"> |
465 | <i class="material-icons" style="line-height: 30px;">location_city</i> | 466 | <i class="material-icons" style="line-height: 30px;">location_city</i> |
466 | </div> | 467 | </div> |
467 | <select name="citymeetup" ng-model="data.citymeetup" ng-change="enterbusiness(data.citymeetup); businesskeyPress(data.citymeetup)" required style="background-color: #fff;border-radius: 0; font-size: 12px;"> | 468 | <select name="citymeetup" ng-model="data.citymeetup" ng-change="enterbusiness(data.citymeetup); businesskeyPress(data.citymeetup)" required style="background-color: #fff;border-radius: 0; font-size: 12px;"> |
468 | <option selected disabled value="">City meet-up *</option> | 469 | <option selected disabled value="">City meet-up *</option> |
469 | <option value="Chennai">November 9: Chennai</option> | 470 | <option value="Chennai">November 9: Chennai</option> |
470 | <option value="Pune">November 11: Pune</option> | 471 | <option value="Pune">November 11: Pune</option> |
471 | <option value="Ahmedabad">November 13: Ahmedabad</option> | 472 | <option value="Ahmedabad">November 13: Ahmedabad</option> |
472 | <option value="Mumbai">November 17: Mumbai</option> | 473 | <option value="Mumbai">November 17: Mumbai</option> |
473 | <option value="Bengaluru">November 23: Bengaluru</option> | 474 | <option value="Bengaluru">November 23: Bengaluru</option> |
474 | <option value="Delhi">November 25: Delhi</option> | 475 | <option value="Delhi">November 25: Delhi</option> |
475 | <option value="Hyderabad">November 27: Hyderabad</option> | 476 | <option value="Hyderabad">November 27: Hyderabad</option> |
476 | <option value="Chandigarh">December 1: Chandigarh</option> | 477 | <option value="Chandigarh">December 1: Chandigarh</option> |
477 | </select> | 478 | </select> |
478 | </div> --> | 479 | </div> --> |
479 | <div class="col-xs-12 col-md-6 input-wrapper"> | 480 | <div class="col-xs-12 col-md-6 input-wrapper"> |
480 | <div id="snackbar">Error ! Please fill in all fields.</div> | 481 | <div id="snackbar">Error ! Please fill in all fields.</div> |
481 | <div class="icon-circle-e"> | 482 | <div class="icon-circle-e"> |
482 | <i class="material-icons" style="line-height: 30px;">phone</i> | 483 | <i class="material-icons" style="line-height: 30px;">phone</i> |
483 | </div> | 484 | </div> |
484 | <input type="text" ng-pattern="/^[0-9+-]*$/" maxlength="15" class="text-input" ng-blur="numbercheck(data.number)" ng-model="data.number" placeholder="Mobile No.*" ng-focus="removeNoError()" ng-change="enternumber(data.number); phonekeyPress(data.number)"> | 485 | <input type="text" ng-pattern="/^[0-9+-]*$/" maxlength="15" class="text-input" ng-blur="numbercheck(data.number)" ng-model="data.number" placeholder="Mobile No.*" ng-focus="removeNoError()" ng-change="enternumber(data.number); phonekeyPress(data.number)"> |
485 | <label ng-if="numberCheck">Contact Number already exist.</label> | 486 | <label ng-if="numberCheck">Contact Number already exist.</label> |
486 | </div> | 487 | </div> |
487 | <div class="col-xs-12 col-md-6 input-wrapper" style="position:relative"> | 488 | <div class="col-xs-12 col-md-6 input-wrapper" style="position:relative"> |
488 | <div id="snackbar">Error ! Please fill in all fields.</div> | 489 | <div id="snackbar">Error ! Please fill in all fields.</div> |
489 | <div class="icon-circle-h"> | 490 | <div class="icon-circle-h"> |
490 | <i class="material-icons" style="line-height: 31px;">link</i> | 491 | <i class="material-icons" style="line-height: 31px;">link</i> |
491 | </div> | 492 | </div> |
492 | <input type="text" class="text-input" ng-model="data.linkedInUrl" ng-required="data.stage == 'Product' || data.stage == 'Growth'" placeholder="LinkedIn URL" id="myBtn" name="linkedInUrl" ng-change="entername(data.linkedInUrl); linkedInkeyPress(data.linkedInUrl)"> | 493 | <input type="text" class="text-input" ng-model="data.linkedInUrl" ng-required="data.stage == 'Product' || data.stage == 'Growth'" placeholder="LinkedIn URL" id="myBtn" name="linkedInUrl" ng-change="entername(data.linkedInUrl); linkedInkeyPress(data.linkedInUrl)"> |
493 | <span ng-if="data.stage == 'Product' || data.stage == 'Growth'" ng-show="data.linkedInUrl == undefined || data.linkedInUrl == ''" style="position:absolute; top: 10px; left: 116px; color: #999">*</span> | 494 | <span ng-if="data.stage == 'Product' || data.stage == 'Growth'" ng-show="data.linkedInUrl == undefined || data.linkedInUrl == ''" style="position:absolute; top: 10px; left: 116px; color: #999">*</span> |
494 | </div> | 495 | </div> |
495 | <div class="col-xs-12 col-md-12 f-family line-adjust"> | 496 | <div class="col-xs-12 col-md-12 f-family line-adjust"> |
496 | <strong>Explain your idea/product briefly</strong> | 497 | <strong>Explain your idea/product briefly</strong> |
497 | <p class="line-space" ></p> | 498 | <p class="line-space" ></p> |
498 | </div> | 499 | </div> |
499 | <div class="col-xs-12 col-md-12 input-wrapper"> | 500 | <div class="col-xs-12 col-md-12 input-wrapper"> |
500 | <div id="snackbar">Error ! Please fill in all fields.</div> | 501 | <div id="snackbar">Error ! Please fill in all fields.</div> |
501 | <div class="icon-circle-q"> | 502 | <div class="icon-circle-q"> |
502 | <i class="material-icons" style="line-height: 31px;">thumb_up</i> | 503 | <i class="material-icons" style="line-height: 31px;">thumb_up</i> |
503 | </div> | 504 | </div> |
504 | <textarea type="text" maxlength="300" class="text-input" required ng-model="data.idea" placeholder="Idea/Product *" id="myBtn" name="Idea" ng-focus="removeNooError()" ng-change="entername(data.idea); ideakeyPress(data.idea)"> | 505 | <textarea type="text" maxlength="300" class="text-input" required ng-model="data.idea" placeholder="Idea/Product *" id="myBtn" name="Idea" ng-focus="removeNooError()" ng-change="entername(data.idea); ideakeyPress(data.idea)"> |
505 | </textarea> | 506 | </textarea> |
506 | <label class="error-message f-family" id="invalidIdea">Please answer using 300 words only.</label> | 507 | <label class="error-message f-family" id="invalidIdea">Please answer using 300 words only.</label> |
507 | </div> | 508 | </div> |
508 | <div class="col-xs-12 col-md-12 input-wrapper f-family"> | 509 | <div class="col-xs-12 col-md-12 input-wrapper f-family"> |
509 | <div class="icon-circle-abcdefg"> | 510 | <div class="icon-circle-abcdefg"> |
510 | <i class="material-icons" style="line-height: 30px;">open_with</i> | 511 | <i class="material-icons" style="line-height: 30px;">open_with</i> |
511 | </div> | 512 | </div> |
512 | <select name="industry" ng-model="data.industry" ng-change="industry(data.industry); industrykeyPress()" required style="background-color: #fff;border-radius: 0; font-size: 12px;" id="dataIndustry"> | 513 | <select name="industry" ng-model="data.industry" ng-change="industry(data.industry); industrykeyPress()" required style="background-color: #fff;border-radius: 0; font-size: 12px;" id="dataIndustry"> |
513 | <option selected disabled value="">Choose Industry *</option> | 514 | <option selected disabled value="">Choose Industry *</option> |
514 | <option value="Travel">Travel</option> | 515 | <option value="Travel">Travel</option> |
515 | <option value="Retail">Retail</option> | 516 | <option value="Retail">Retail</option> |
516 | <option value="Editech">Editech</option> | 517 | <option value="Editech">Editech</option> |
517 | <option value="Fintech">Fintech</option> | 518 | <option value="Fintech">Fintech</option> |
518 | <option value="Hardware">Hardware</option> | 519 | <option value="Hardware">Hardware</option> |
519 | <option value="Digital">Digital</option> | 520 | <option value="Digital">Digital</option> |
520 | <option value="Rural">Rural</option> | 521 | <option value="Rural">Rural</option> |
521 | <option value="others">Others</option> | 522 | <option value="others">Others</option> |
522 | </select> | 523 | </select> |
523 | </div> | 524 | </div> |
524 | <div class="col-xs-12 col-md-12 input-wrapper" ng-if="addOther"> | 525 | <div class="col-xs-12 col-md-12 input-wrapper" ng-if="addOther"> |
525 | <div id="snackbar">Error ! Please fill in all fields.</div> | 526 | <div id="snackbar">Error ! Please fill in all fields.</div> |
526 | <div class="icon-circle-o"> | 527 | <div class="icon-circle-o"> |
527 | <i class="material-icons" style="line-height: 31px;">open_with</i> | 528 | <i class="material-icons" style="line-height: 31px;">open_with</i> |
528 | </div> | 529 | </div> |
529 | <input type="text" class="text-input" ng-change="industry(data.industryName); industryNamekeyPress((data.industryName))" ng-model="data.industryName" placeholder="Please mention other industry name"> | 530 | <input type="text" class="text-input" ng-change="industry(data.industryName); industryNamekeyPress((data.industryName))" ng-model="data.industryName" placeholder="Please mention other industry name"> |
530 | </div> | 531 | </div> |
531 | <div class="col-xs-12 col-md-6 input-wrapper" style="position:relative"> | 532 | <div class="col-xs-12 col-md-6 input-wrapper" style="position:relative"> |
532 | <div id="snackbar">Error ! Please fill in all fields.</div> | 533 | <div id="snackbar">Error ! Please fill in all fields.</div> |
533 | <div class="icon-circle-i"> | 534 | <div class="icon-circle-i"> |
534 | <i class="material-icons" style="line-height: 31px;">business</i> | 535 | <i class="material-icons" style="line-height: 31px;">business</i> |
535 | </div> | 536 | </div> |
536 | <input type="text" class="text-input" ng-model="data.companyName" ng-required="data.stage == 'Product' || data.stage == 'Growth'" placeholder="Company Name" id="myBtn" name="companyName" ng-change="entername(data.companyName); companykeyPress(data.companyName)"> | 537 | <input type="text" class="text-input" ng-model="data.companyName" ng-required="data.stage == 'Product' || data.stage == 'Growth'" placeholder="Company Name" id="myBtn" name="companyName" ng-change="entername(data.companyName); companykeyPress(data.companyName)"> |
537 | <span ng-if="data.stage == 'Product' || data.stage == 'Growth'" ng-show="data.companyName == undefined || data.companyName == ''" style="position:absolute; top: 10px; left: 130px; color: #999">*</span> | 538 | <span ng-if="data.stage == 'Product' || data.stage == 'Growth'" ng-show="data.companyName == undefined || data.companyName == ''" style="position:absolute; top: 10px; left: 130px; color: #999">*</span> |
538 | </div> | 539 | </div> |
539 | <div class="col-xs-12 col-md-6 input-wrapper" style="position:relative"> | 540 | <div class="col-xs-12 col-md-6 input-wrapper" style="position:relative"> |
540 | <div id="snackbar">Error ! Please fill in all fields.</div> | 541 | <div id="snackbar">Error ! Please fill in all fields.</div> |
541 | <div class="icon-circle-j"> | 542 | <div class="icon-circle-j"> |
542 | <i class="material-icons" style="line-height: 31px;">view_comfy</i> | 543 | <i class="material-icons" style="line-height: 31px;">view_comfy</i> |
543 | </div> | 544 | </div> |
544 | <input type="text" class="text-input" ng-model="data.productName" ng-required="data.stage == 'Product' || data.stage == 'Growth'" placeholder="Product Name" id="myBtn" name="productName" ng-change="entername(data.productName); productNamekeyPress(data.productName)"> | 545 | <input type="text" class="text-input" ng-model="data.productName" ng-required="data.stage == 'Product' || data.stage == 'Growth'" placeholder="Product Name" id="myBtn" name="productName" ng-change="entername(data.productName); productNamekeyPress(data.productName)"> |
545 | <span ng-if="data.stage == 'Product' || data.stage == 'Growth'" ng-show="data.productName == undefined || data.productName == ''" style="position:absolute; top: 10px; left: 120px; color: #999">*</span> | 546 | <span ng-if="data.stage == 'Product' || data.stage == 'Growth'" ng-show="data.productName == undefined || data.productName == ''" style="position:absolute; top: 10px; left: 120px; color: #999">*</span> |
546 | </div> | 547 | </div> |
547 | <div class="hideform" ng-if="prototyp"> | 548 | <div class="hideform" ng-if="prototyp"> |
548 | <div class="hideform" ng-if="protyp"> | 549 | <div class="hideform" ng-if="protyp"> |
549 | <div class="col-xs-12 col-md-12 f-family line-adjust"> | 550 | <div class="col-xs-12 col-md-12 f-family line-adjust"> |
550 | <strong>Product Launched? </strong> | 551 | <strong>Product Launched? </strong> |
551 | <p class="line-space" ></p> | 552 | <p class="line-space" ></p> |
552 | </div> | 553 | </div> |
553 | <div class="col-xs-12 col-md-12 input-wrapper f-family"> | 554 | <div class="col-xs-12 col-md-12 input-wrapper f-family"> |
554 | <div class="icon-circle-ab"> | 555 | <div class="icon-circle-ab"> |
555 | <i class="material-icons" style="line-height: 30px;">launch</i> | 556 | <i class="material-icons" style="line-height: 30px;">launch</i> |
556 | </div> | 557 | </div> |
557 | <select name="productLaunch" ng-model="data.productLaunch" ng-change="productLaunch(data.productLaunch); productLaunchkeyPress()" ng-click="productCheck()" required style="background-color: #fff;border-radius: 0; font-size: 12px;" id="productDiv"> | 558 | <select name="productLaunch" ng-model="data.productLaunch" ng-change="productLaunch(data.productLaunch); productLaunchkeyPress()" ng-click="productCheck()" required style="background-color: #fff;border-radius: 0; font-size: 12px;" id="productDiv"> |
558 | <option selected disabled value="">Select *</option> | 559 | <option selected disabled value="">Select *</option> |
559 | <option value="yes">Yes</option> | 560 | <option value="yes">Yes</option> |
560 | <option value="no">No</option> | 561 | <option value="no">No</option> |
561 | </select> | 562 | </select> |
562 | </div> | 563 | </div> |
563 | <div class="col-xs-12 col-md-12 f-family line-adjust" ng-if="Productshow == 'yes'"> | 564 | <div class="col-xs-12 col-md-12 f-family line-adjust" ng-if="Productshow == 'yes'"> |
564 | <strong>Product Launch Period </strong> | 565 | <strong>Product Launch Period </strong> |
565 | <p class="line-space" ></p> | 566 | <p class="line-space" ></p> |
566 | </div> | 567 | </div> |
567 | <div class="col-xs-12 col-md-12 input-wrapper f-family" ng-if="Productshow == 'yes'"> | 568 | <div class="col-xs-12 col-md-12 input-wrapper f-family" ng-if="Productshow == 'yes'"> |
568 | <div class="icon-circle-abc"> | 569 | <div class="icon-circle-abc"> |
569 | <i class="material-icons" style="line-height: 30px;">launch</i> | 570 | <i class="material-icons" style="line-height: 30px;">launch</i> |
570 | </div> | 571 | </div> |
571 | <select name="launchPeriod" ng-model="data.launchPeriod" ng-change="launchPeriod(data.launchPeriod); launchPeriodkeyPress()" required style="background-color: #fff;border-radius: 0; font-size: 12px;"> | 572 | <select name="launchPeriod" ng-model="data.launchPeriod" ng-change="launchPeriod(data.launchPeriod); launchPeriodkeyPress()" required style="background-color: #fff;border-radius: 0; font-size: 12px;"> |
572 | <option selected disabled value="">Select</option> | 573 | <option selected disabled value="">Select</option> |
573 | <option value="less than 1 Month">less than one month</option> | 574 | <option value="less than 1 Month">less than one month</option> |
574 | <option value="less than 6 Months">less than 6 months</option> | 575 | <option value="less than 6 Months">less than 6 months</option> |
575 | <option value="more than 6 Months">more than 6 months</option> | 576 | <option value="more than 6 Months">more than 6 months</option> |
576 | </select> | 577 | </select> |
577 | </div> | 578 | </div> |
578 | </div> | 579 | </div> |
579 | <div class="col-xs-12 col-md-6 input-wrapper"> | 580 | <div class="col-xs-12 col-md-6 input-wrapper"> |
580 | <div id="snackbar">Error ! Please fill in all fields.</div> | 581 | <div id="snackbar">Error ! Please fill in all fields.</div> |
581 | <div class="icon-circle-k"> | 582 | <div class="icon-circle-k"> |
582 | <i class="material-icons" style="line-height: 31px;">web</i> | 583 | <i class="material-icons" style="line-height: 31px;">web</i> |
583 | </div> | 584 | </div> |
584 | <input type="text" class="text-input" ng-model="data.websiteUrl" ng-required="Productshow == 'yes'" placeholder="Website URL *" id="myBtn" name="websiteUrl" ng-change="entername(data.websiteUrl); websitekeyPress(data.websiteUrl)"> | 585 | <input type="text" class="text-input" ng-model="data.websiteUrl" ng-required="Productshow == 'yes'" placeholder="Website URL *" id="myBtn" name="websiteUrl" ng-change="entername(data.websiteUrl); websitekeyPress(data.websiteUrl)"> |
585 | </div> | 586 | </div> |
586 | <div class="col-xs-12 col-md-6 input-wrapper"> | 587 | <div class="col-xs-12 col-md-6 input-wrapper"> |
587 | <div id="snackbar">Error ! Please fill in all fields.</div> | 588 | <div id="snackbar">Error ! Please fill in all fields.</div> |
588 | <div class="icon-circle-m"> | 589 | <div class="icon-circle-m"> |
589 | <i class="material-icons" style="line-height: 31px;">link</i> | 590 | <i class="material-icons" style="line-height: 31px;">link</i> |
590 | </div> | 591 | </div> |
591 | <input type="text" class="text-input" ng-model="data.demoLink" ng-required="Productshow == 'yes'" placeholder="Link to your product/app/demo *" id="myBtn" name="demoLink" ng-change="entername(data.demoLink); annualkeyPress(data.demoLink)"> | 592 | <input type="text" class="text-input" ng-model="data.demoLink" ng-required="Productshow == 'yes'" placeholder="Link to your product/app/demo *" id="myBtn" name="demoLink" ng-change="entername(data.demoLink); annualkeyPress(data.demoLink)"> |
592 | </div> | 593 | </div> |
593 | <div class="col-xs-12 col-md-6 input-wrapper"> | 594 | <div class="col-xs-12 col-md-6 input-wrapper"> |
594 | <div id="snackbar">Error ! Please fill in all fields.</div> | 595 | <div id="snackbar">Error ! Please fill in all fields.</div> |
595 | <div class="icon-circle-l"> | 596 | <div class="icon-circle-l"> |
596 | <i class="material-icons" style="line-height: 31px;">format_list_numbered</i> | 597 | <i class="material-icons" style="line-height: 31px;">format_list_numbered</i> |
597 | </div> | 598 | </div> |
598 | <input type="text" ng-pattern="/^[0-9+-]*$/" maxlength="15" class="text-input" ng-required="Productshow == 'yes'" ng-model="data.numberOfEmployees" placeholder="Number of Employees *" id="myBtn" name="numberOfEmployees" ng-change="entername(data.numberOfEmployees); employeekeyPress(data.numberOfEmployees)"> | 599 | <input type="text" ng-pattern="/^[0-9+-]*$/" maxlength="15" class="text-input" ng-required="Productshow == 'yes'" ng-model="data.numberOfEmployees" placeholder="Number of Employees *" id="myBtn" name="numberOfEmployees" ng-change="entername(data.numberOfEmployees); employeekeyPress(data.numberOfEmployees)"> |
599 | </div> | 600 | </div> |
600 | <div class="col-xs-12 col-md-6 input-wrapper"> | 601 | <div class="col-xs-12 col-md-6 input-wrapper"> |
601 | <div id="snackbar">Error ! Please fill in all fields.</div> | 602 | <div id="snackbar">Error ! Please fill in all fields.</div> |
602 | <div class="icon-circle-n"> | 603 | <div class="icon-circle-n"> |
603 | <i class="material-icons" style="line-height: 31px;">view_stream</i> | 604 | <i class="material-icons" style="line-height: 31px;">view_stream</i> |
604 | </div> | 605 | </div> |
605 | <input type="text" class="text-input" ng-model="data.revenueMonth" ng-required="Productshow == 'yes'" placeholder="Monthly Revenue *" id="myBtn" name="revenueMonth" ng-change="entername(data.revenueMonth); revenuekeyPress(data.revenueMonth)"> | 606 | <input type="text" class="text-input" ng-model="data.revenueMonth" ng-required="Productshow == 'yes'" placeholder="Monthly Revenue *" id="myBtn" name="revenueMonth" ng-change="entername(data.revenueMonth); revenuekeyPress(data.revenueMonth)"> |
606 | </div> | 607 | </div> |
607 | <div class="col-xs-12 col-md-12 input-wrapper f-family"> | 608 | <div class="col-xs-12 col-md-12 input-wrapper f-family"> |
608 | <p><b>Have you risen any funding yet?</b></p> | 609 | <p><b>Have you risen any funding yet?</b></p> |
609 | <div class="icon-circle-bc"> | 610 | <div class="icon-circle-bc"> |
610 | <i class="material-icons" style="line-height: 30px;">payment</i> | 611 | <i class="material-icons" style="line-height: 30px;">payment</i> |
611 | </div> | 612 | </div> |
612 | <select name="amount" ng-model="data.amount" ng-required="Productshow == 'yes'" ng-change="amount(data.amount); amountkeyPress()" ng-click="textCheck()" required style="background-color: #fff;border-radius: 0; font-size: 12px;" id="fundingDiv"> | 613 | <select name="amount" ng-model="data.amount" ng-required="Productshow == 'yes'" ng-change="amount(data.amount); amountkeyPress()" ng-click="textCheck()" required style="background-color: #fff;border-radius: 0; font-size: 12px;" id="fundingDiv"> |
613 | <option selected disabled value="">Select *</option> | 614 | <option selected disabled value="">Select *</option> |
614 | <option value="yes">Yes</option> | 615 | <option value="yes">Yes</option> |
615 | <option value="no">No</option> | 616 | <option value="no">No</option> |
616 | </select> | 617 | </select> |
617 | </div> | 618 | </div> |
618 | <div class="col-xs-12 col-md-12 input-wrapper" ng-if="Textshow == 'yes'"> | 619 | <div class="col-xs-12 col-md-12 input-wrapper" ng-if="Textshow == 'yes'"> |
619 | <div class="icon-circle-y" > | 620 | <div class="icon-circle-y" > |
620 | <i class="material-icons" style="line-height: 31px;">money</i> | 621 | <i class="material-icons" style="line-height: 31px;">money</i> |
621 | </div> | 622 | </div> |
622 | <input type="text" name="fund" class="text-input" ng-model="data.fund" placeholder="Fill amount" ng-change="fund(data.fund); fundkeyPress(data.fund)"></input> | 623 | <input type="text" name="fund" class="text-input" ng-model="data.fund" placeholder="Fill amount" ng-change="fund(data.fund); fundkeyPress(data.fund)"></input> |
623 | </div> | 624 | </div> |
624 | </div> | 625 | </div> |
625 | <!-- <div class="identity-shadow"> | 626 | <!-- <div class="identity-shadow"> |
626 | <div class="icon-circle-bc"> | 627 | <div class="icon-circle-bc"> |
627 | <i class="material-icons" style="line-height: 30px;">payment</i> | 628 | <i class="material-icons" style="line-height: 30px;">payment</i> |
628 | </div> | 629 | </div> |
629 | <div class="identity-question"> | 630 | <div class="identity-question"> |
630 | <div class="col-xs-12 font f-family" style="margin:10px 10px 0px 10px;"> | 631 | <div class="col-xs-12 font f-family" style="margin:10px 10px 0px 10px;"> |
631 | <b>Have you risen any funding yet?</b> | 632 | <b>Have you risen any funding yet?</b> |
632 | <p style="color:grey"></p> | 633 | <p style="color:grey"></p> |
633 | </div> | 634 | </div> |
634 | <div class="clearfix"></div> | 635 | <div class="clearfix"></div> |
635 | </div> | 636 | </div> |
636 | <div class="stages identity-align"> | 637 | <div class="stages identity-align"> |
637 | <div class="col-xs-12"> | 638 | <div class="col-xs-12"> |
638 | <label class="card-small margin-right-label"> | 639 | <label class="card-small margin-right-label"> |
639 | <input type="radio" value="yes" ng-model="data.amount" class="option-input-a radio-a pull-left" id="yesRadio" ng-change="amount(data.amount); amountkeyPress(); textCheck('yes')" name="amount" > | 640 | <input type="radio" value="yes" ng-model="data.amount" class="option-input-a radio-a pull-left" id="yesRadio" ng-change="amount(data.amount); amountkeyPress(); textCheck('yes')" name="amount" > |
640 | <label class="f-family pull-left width-auto" for="yesRadio">Yes</label> | 641 | <label class="f-family pull-left width-auto" for="yesRadio">Yes</label> |
641 | </label> | 642 | </label> |
642 | <label class="card-small margin-right-label"> | 643 | <label class="card-small margin-right-label"> |
643 | <input type="radio" value="no" ng-model="data.amount" class="option-input-a radio-a pull-left" id="noRadio" ng-change="amount(data.amount); amountkeyPress(); textCheck('no')" name="amount" > | 644 | <input type="radio" value="no" ng-model="data.amount" class="option-input-a radio-a pull-left" id="noRadio" ng-change="amount(data.amount); amountkeyPress(); textCheck('no')" name="amount" > |
644 | 645 | ||
645 | <label class="f-family pull-left width-auto" for="noRadio">No</label> | 646 | <label class="f-family pull-left width-auto" for="noRadio">No</label> |
646 | </label> | 647 | </label> |
647 | </div> | 648 | </div> |
648 | </div> | 649 | </div> |
649 | 650 | ||
650 | <div class="clearfix"></div> | 651 | <div class="clearfix"></div> |
651 | </div> --> | 652 | </div> --> |
652 | <div class="col-xs-12 input-wrapper"> | 653 | <div class="col-xs-12 input-wrapper"> |
653 | <div class="referel-icon" style="z-index: 999;"> | 654 | <div class="referel-icon" style="z-index: 999;"> |
654 | <i class="material-icons" style="line-height: 30px;">code</i> | 655 | <i class="material-icons" style="line-height: 30px;">code</i> |
655 | </div> | 656 | </div> |
656 | <input class="text-input" ng-model="data.referalToken" placeholder="Enter Promo code" style="position: relative;" ng-required="referalToken" ng-change="changeReferalIconColor(data.referalToken)"> | 657 | <input class="text-input" ng-model="data.referalToken" placeholder="Enter Promo code" style="position: relative;" ng-required="referalToken" ng-change="changeReferalIconColor(data.referalToken)"> |
657 | <i class="material-icons coupen-approved" ng-if="tokencheck == true">check</i> | 658 | <i class="material-icons coupen-approved" ng-if="tokencheck == true">check</i> |
658 | <i class="material-icons coupen-approved" style="color:red;" ng-if="tokencheck == false">close</i> | 659 | <i class="material-icons coupen-approved" style="color:red;" ng-if="tokencheck == false">close</i> |
659 | <button type="button" ng-click="tokenCall(data.referalToken)" class="pull-right apply-coupen-btn">Apply</button> | 660 | <button type="button" ng-click="tokenCall(data.referalToken)" class="pull-right apply-coupen-btn">Apply</button> |
660 | </div> | 661 | </div> |
661 | <div class="clearfix"></div> | 662 | <div class="clearfix"></div> |
662 | <div class="text-center"> | 663 | <div class="text-center"> |
663 | <input type="submit" class="btn submit-button" ng-disabled="applicantForm.$invalid|| check|| numberCheck" value="Submit" ng-click="calculateAmount()"> | 664 | <input type="submit" class="btn submit-button" ng-disabled="applicantForm.$invalid|| check|| numberCheck" value="Submit" ng-click="calculateAmount()"> |
664 | </div> | 665 | </div> |
665 | 666 | ||
666 | </div> | 667 | </div> |
667 | </div> | 668 | </div> |
668 | <!-- CLOSE step-two-form --> | 669 | <!-- CLOSE step-two-form --> |
669 | </div> | 670 | </div> |
670 | <!-- col-xs-12 col-md-8 col-md-offset-2 --> | 671 | <!-- col-xs-12 col-md-8 col-md-offset-2 --> |
671 | </form> | 672 | </form> |
672 | </div> | 673 | </div> |
673 | </div> | 674 | </div> |
674 | <!-- CLOSE FORM --> | 675 | <!-- CLOSE FORM --> |
675 | <footer> | 676 | <footer> |
676 | <img id="footer" class="img-responsive banner"> | 677 | <img id="footer" class="img-responsive banner"> |
677 | <center class="footer"> Powered By <a class="footer-link" href="http://www.viithiisys.com/" target="_blank">Viithiisys Technolgies.</a> </center> | 678 | <center class="footer"> Powered By <a class="footer-link" href="http://www.viithiisys.com/" target="_blank">Viithiisys Technolgies.</a> </center> |
678 | </footer> | 679 | </footer> |
679 | <!-- </div> CLOSE CHECK VIEW --> | 680 | <!-- </div> CLOSE CHECK VIEW --> |
680 | <div ng-if="verifyView"> | 681 | <div ng-if="verifyView"> |
681 | <div style="margin-bottom: 0px;" class="text-center"> | 682 | <div style="margin-bottom: 0px;" class="text-center"> |
682 | <input type="button" class="btn submit-button" ng-disabled="applicantForm.$invalid" value="check the status" ng-click="update()"> | 683 | <input type="button" class="btn submit-button" ng-disabled="applicantForm.$invalid" value="check the status" ng-click="update()"> |
683 | </div> | 684 | </div> |
684 | </div> | 685 | </div> |
685 | </div> <!-- CLOSE NEW-CONTROLLER --> | 686 | </div> <!-- CLOSE NEW-CONTROLLER --> |
686 | <!-- <div id="snacsskbar">Registration done successfully.</div> | 687 | <!-- <div id="snacsskbar">Registration done successfully.</div> |
687 | --><!-- <div class="modal fade" id="myModal" role="dialog"> | 688 | --><!-- <div class="modal fade" id="myModal" role="dialog"> |
688 | <div class="modal-dialog" style="left: auto;"> | 689 | <div class="modal-dialog" style="left: auto;"> |
689 | <div class="modal-content"> | 690 | <div class="modal-content"> |
690 | <h4 style="text-align:center;">Congratulations, you are now eligible for:</h4> | 691 | <h4 style="text-align:center;">Congratulations, you are now eligible for:</h4> |
691 | <table width="100%" border="0" align="right" cellpadding="0" cellspacing="0" style="border:1px solid #f6f6eb;margin-top:10px"> | 692 | <table width="100%" border="0" align="right" cellpadding="0" cellspacing="0" style="border:1px solid #f6f6eb;margin-top:10px"> |
692 | <tbody style="background-color:#f9f9f9"> | 693 | <tbody style="background-color:#f9f9f9"> |
693 | <tr> | 694 | <tr> |
694 | <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td> | 695 | <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td> |
695 | </tr> | 696 | </tr> |
696 | <tr> | 697 | <tr> |
697 | <td align="left" valign="top" style="padding:10px"> | 698 | <td align="left" valign="top" style="padding:10px"> |
698 | <table width="100%" border="0" cellspacing="0" cellpadding="0"> | 699 | <table width="100%" border="0" cellspacing="0" cellpadding="0"> |
699 | <tbody> | 700 | <tbody> |
700 | <tr> | 701 | <tr> |
701 | <td align="left" valign="middle" style="color:#5e5e5e;font-size:20px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">Ticket Summary</td> | 702 | <td align="left" valign="middle" style="color:#5e5e5e;font-size:20px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">Ticket Summary</td> |
702 | </tr> | 703 | </tr> |
703 | </tbody> | 704 | </tbody> |
704 | </table> | 705 | </table> |
705 | </td> | 706 | </td> |
706 | </tr> | 707 | </tr> |
707 | </tbody> | 708 | </tbody> |
708 | <tbody> | 709 | <tbody> |
709 | <tr> | 710 | <tr> |
710 | <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td> | 711 | <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td> |
711 | </tr> | 712 | </tr> |
712 | <tr> | 713 | <tr> |
713 | <td align="left" valign="top" style="padding:10px"> | 714 | <td align="left" valign="top" style="padding:10px"> |
714 | <table width="100%" border="0" cellspacing="0" cellpadding="0"> | 715 | <table width="100%" border="0" cellspacing="0" cellpadding="0"> |
715 | <tbody> | 716 | <tbody> |
716 | <tr> | 717 | <tr> |
717 | <td align="left" valign="middle" style="color:#5e5e5e;font-size:16px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">Ticket Amount</td> | 718 | <td align="left" valign="middle" style="color:#5e5e5e;font-size:16px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">Ticket Amount</td> |
718 | <td align="right" valign="middle" style="color:#5e5e5e;font-size:18px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">{{ticketAmnt}}</td> | 719 | <td align="right" valign="middle" style="color:#5e5e5e;font-size:18px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">{{ticketAmnt}}</td> |
719 | </tr> | 720 | </tr> |
720 | </tbody> | 721 | </tbody> |
721 | </table> | 722 | </table> |
722 | </td> | 723 | </td> |
723 | </tr> | 724 | </tr> |
724 | <tr> | 725 | <tr> |
725 | <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td> | 726 | <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td> |
726 | </tr> | 727 | </tr> |
727 | <tr> | 728 | <tr> |
728 | <td align="left" valign="top" style="padding:10px"> | 729 | <td align="left" valign="top" style="padding:10px"> |
729 | <table width="100%" border="0" cellspacing="0" cellpadding="0"> | 730 | <table width="100%" border="0" cellspacing="0" cellpadding="0"> |
730 | <tbody> | 731 | <tbody> |
731 | <tr> | 732 | <tr> |
732 | <td align="left" valign="middle" style="color:#5e5e5e;font-size:16px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">Discount</td> | 733 | <td align="left" valign="middle" style="color:#5e5e5e;font-size:16px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">Discount</td> |
733 | <td align="right" valign="middle" style="color:#5e5e5e;font-size:18px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">{{discountAmount}}</td> | 734 | <td align="right" valign="middle" style="color:#5e5e5e;font-size:18px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">{{discountAmount}}</td> |
734 | </tr> | 735 | </tr> |
735 | </tbody> | 736 | </tbody> |
736 | </table> | 737 | </table> |
737 | </td> | 738 | </td> |
738 | </tr> | 739 | </tr> |
739 | <tr> | 740 | <tr> |
740 | <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td> | 741 | <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td> |
741 | </tr> | 742 | </tr> |
742 | <tr> | 743 | <tr> |
743 | <td align="left" valign="top" style="padding:10px"> | 744 | <td align="left" valign="top" style="padding:10px"> |
744 | <table width="100%" border="0" cellspacing="0" cellpadding="0"> | 745 | <table width="100%" border="0" cellspacing="0" cellpadding="0"> |
745 | <tbody> | 746 | <tbody> |
746 | <tr> | 747 | <tr> |
747 | <td align="left" valign="middle" style="color:#5e5e5e;font-size:14px;line-height:26px;font-family:Avenir-Medium,arial,sans-serif">GST</td> | 748 | <td align="left" valign="middle" style="color:#5e5e5e;font-size:14px;line-height:26px;font-family:Avenir-Medium,arial,sans-serif">GST</td> |
748 | <td align="right" valign="middle" style="color:#5e5e5e;font-size:16px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">{{taxTotal}}</td> | 749 | <td align="right" valign="middle" style="color:#5e5e5e;font-size:16px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">{{taxTotal}}</td> |
749 | </tr> | 750 | </tr> |
750 | </tbody> | 751 | </tbody> |
751 | </table> | 752 | </table> |
752 | </td> | 753 | </td> |
753 | </tr> | 754 | </tr> |
754 | <tr> | 755 | <tr> |
755 | <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td> | 756 | <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td> |
756 | </tr> | 757 | </tr> |
757 | <tr> | 758 | <tr> |
758 | <td align="left" valign="top" bgcolor="#f9f9f9" style="padding:10px"> | 759 | <td align="left" valign="top" bgcolor="#f9f9f9" style="padding:10px"> |
759 | <table width="100%" border="0" cellspacing="0" cellpadding="0"> | 760 | <table width="100%" border="0" cellspacing="0" cellpadding="0"> |
760 | <tbody> | 761 | <tbody> |
761 | <tr> | 762 | <tr> |
762 | <td align="left" valign="middle" style="color:#5e5e5e;font-size:22px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">Total Amount</td> | 763 | <td align="left" valign="middle" style="color:#5e5e5e;font-size:22px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">Total Amount</td> |
763 | <td align="right" valign="middle" style="color:#29bd9d;font-size:24px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">{{payingAmnt}}</td> | 764 | <td align="right" valign="middle" style="color:#29bd9d;font-size:24px;line-height:26px;font-family:Avenir-Heavy,arial,sans-serif">{{payingAmnt}}</td> |
764 | </tr> | 765 | </tr> |
765 | </tbody> | 766 | </tbody> |
766 | </table> | 767 | </table> |
767 | </td> | 768 | </td> |
768 | </tr> | 769 | </tr> |
769 | <tr> | 770 | <tr> |
770 | <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td> | 771 | <td bgcolor="#efefeb" style="font-size:1px;line-height:1px"></td> |
771 | </tr> | 772 | </tr> |
772 | </tbody> | 773 | </tbody> |
773 | </table> | 774 | </table> |
774 | <div style="text-align:center;margin-bottom:5%"> | 775 | <div style="text-align:center;margin-bottom:5%"> |
775 | <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> | 776 | <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> |
776 | </div> | 777 | </div> |
777 | </div> | 778 | </div> |
778 | </div> | 779 | </div> |
779 | </div> | 780 | </div> |
780 | 781 | ||
781 | <div class="modal fade" id="videoModel" role="dialog" ng-click="closeModal()"> | 782 | <div class="modal fade" id="videoModel" role="dialog" ng-click="closeModal()"> |
782 | <div class="modal-dialog" style="left: auto;"> | 783 | <div class="modal-dialog" style="left: auto;"> |
783 | <div class="modal-content" > | 784 | <div class="modal-content" > |
784 | 785 | ||
785 | <div class="modal-body" style="text-align: right;" > | 786 | <div class="modal-body" style="text-align: right;" > |
786 | <i class="material-icons" style="cursor: pointer;" data-dismiss="modal" ng-click="closeModal()">clear</i> | 787 | <i class="material-icons" style="cursor: pointer;" data-dismiss="modal" ng-click="closeModal()">clear</i> |
787 | <iframe width="560" id="youtubePlayer" height="315" src="https://www.youtube.com/embed/8i1bLQ7jS0I" frameborder="0" allowfullscreen></iframe> | 788 | <iframe width="560" id="youtubePlayer" height="315" src="https://www.youtube.com/embed/8i1bLQ7jS0I" frameborder="0" allowfullscreen></iframe> |
788 | </div> | 789 | </div> |
789 | 790 | ||
790 | </div> | 791 | </div> |
791 | </div> | 792 | </div> |
792 | </div> | 793 | </div> |
793 | 794 | ||
794 | 795 | ||
795 | <div class="modal fade" id="videoModels" role="dialog" ng-click="closed()"> | 796 | <div class="modal fade" id="videoModels" role="dialog" ng-click="closed()"> |
796 | <div class="modal-dialog" style="left: auto;"> | 797 | <div class="modal-dialog" style="left: auto;"> |
797 | <div class="modal-content"> | 798 | <div class="modal-content"> |
798 | <div class="modal-body" style="text-align: right;" > | 799 | <div class="modal-body" style="text-align: right;" > |
799 | <i class="material-icons" style="cursor: pointer;" data-dismiss="modal" ng-click="closed()">clear</i> | 800 | <i class="material-icons" style="cursor: pointer;" data-dismiss="modal" ng-click="closed()">clear</i> |
800 | <iframe width="560" id="youtubePlayersss" height="315" src="https://www.youtube.com/embed/oBqdz-p3R6Y" frameborder="0" allowfullscreen></iframe> | 801 | <iframe width="560" id="youtubePlayersss" height="315" src="https://www.youtube.com/embed/oBqdz-p3R6Y" frameborder="0" allowfullscreen></iframe> |
801 | </div> | 802 | </div> |
802 | 803 | ||
803 | </div> | 804 | </div> |
804 | </div> | 805 | </div> |
805 | </div> | 806 | </div> |
806 | 807 | ||
807 | 808 | ||
808 | 809 | ||
809 | 810 | ||
810 | 811 | ||
811 | 812 | ||
812 | --> | 813 | --> |
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','angular-google-analytics']); | 2 | var scotchApp = angular.module('scotchApp', ['ngRoute','angular-google-analytics']); |
3 | 3 | ||
4 | // configure our routes | 4 | // configure our routes |
5 | scotchApp.config(function($routeProvider) { | 5 | scotchApp.config(function($routeProvider) { |
6 | $routeProvider | 6 | $routeProvider |
7 | 7 | ||
8 | // route for the Home page | 8 | // route for the Home page |
9 | .when('/', { | 9 | .when('/', { |
10 | templateUrl: 'pages/Home.html', | 10 | templateUrl: 'pages/Home.html', |
11 | controller: 'mainController' | 11 | controller: 'mainController' |
12 | }) | 12 | }) |
13 | 13 | ||
14 | // route for the registration page | 14 | // route for the registration page |
15 | .when('/registration', { | 15 | .when('/registration', { |
16 | templateUrl: 'pages/registration.html', | 16 | templateUrl: 'pages/registration.html', |
17 | controller: 'mainController' | 17 | controller: 'mainController' |
18 | }) | 18 | }) |
19 | 19 | ||
20 | // route for the paymentVerify page | 20 | // route for the paymentVerify page |
21 | .when('/pendingPayment/:id', { | 21 | .when('/pendingPayment/:id', { |
22 | templateUrl: 'pages/verify.html', | 22 | templateUrl: 'pages/verify.html', |
23 | controller: 'verifyController' | 23 | controller: 'verifyController' |
24 | }) | 24 | }) |
25 | 25 | ||
26 | // route for the ambassador page | 26 | // route for the ambassador page |
27 | .when('/ambassador', { | 27 | .when('/ambassador', { |
28 | templateUrl: 'pages/ambassador.html', | 28 | templateUrl: 'pages/ambassador.html', |
29 | controller: 'ambassadorController' | 29 | controller: 'ambassadorController' |
30 | }) | 30 | }) |
31 | 31 | ||
32 | // route for the confirmation page | 32 | // route for the confirmation page |
33 | .when('/confirmation', { | 33 | .when('/confirmation', { |
34 | templateUrl: 'pages/confirmation.html', | 34 | templateUrl: 'pages/confirmation.html', |
35 | controller: 'mainController' | 35 | controller: 'mainController' |
36 | }) | 36 | }) |
37 | 37 | ||
38 | }); | 38 | }); |
39 | 39 | ||
40 | scotchApp.config(['AnalyticsProvider', function (AnalyticsProvider) { | 40 | scotchApp.config(['AnalyticsProvider', function (AnalyticsProvider) { |
41 | // Add configuration code as desired | 41 | // Add configuration code as desired |
42 | AnalyticsProvider.setAccount('UA-106416759-1'); //UU-XXXXXXX-X should be your tracking code | 42 | AnalyticsProvider.setAccount('UA-106416759-1'); //UU-XXXXXXX-X should be your tracking code |
43 | 43 | ||
44 | // Track all routes (default is true). | 44 | // Track all routes (default is true). |
45 | AnalyticsProvider.trackPages(true); | 45 | AnalyticsProvider.trackPages(true); |
46 | 46 | ||
47 | // Track all URL query params (default is false). | 47 | // Track all URL query params (default is false). |
48 | AnalyticsProvider.trackUrlParams(true); | 48 | AnalyticsProvider.trackUrlParams(true); |
49 | 49 | ||
50 | }]).run(['Analytics', function(Analytics) { }]); | 50 | }]).run(['Analytics', function(Analytics) { }]); |
51 | 51 | ||
52 | scotchApp.constant("BASE_URL", "http://139.59.68.74:4001/api") | 52 | scotchApp.constant("BASE_URL", "http://139.59.68.74:4001/api") |
53 | //scotchApp.constant("BASE_URL", "http://0.0.0.0:4001/api") | 53 | //scotchApp.constant("BASE_URL", "http://0.0.0.0:4001/api") |
54 | 54 | ||
55 | // create the controller and inject Angular's $scope | 55 | // create the controller and inject Angular's $scope |
56 | scotchApp.controller('mainController', function($scope, $http, $location, $route, $rootScope, BASE_URL, Analytics) { | 56 | scotchApp.controller('mainController', function($scope, $http, $location, $route, $rootScope, BASE_URL, Analytics) { |
57 | $scope.data = { | 57 | $scope.data = { |
58 | show: true, | 58 | show: true, |
59 | hide: false | 59 | hide: false |
60 | }; | 60 | }; |
61 | 61 | ||
62 | |||
63 | var countDownDate = new Date("Nov 9, 2017 00:00:00").getTime(); | ||
64 | // Update the count down every 1 second | ||
65 | var x = setInterval(function() { | ||
66 | // Get todays date and time | ||
67 | var now = new Date().getTime(); | ||
68 | // Find the distance between now an the count down date | ||
69 | var distance = countDownDate - now; | ||
70 | // Time calculations for days, hours, minutes and seconds | ||
71 | var days = Math.floor(distance / (1000 * 60 * 60 * 24)); | ||
72 | var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); | ||
73 | var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); | ||
74 | var seconds = Math.floor((distance % (1000 * 60)) / 1000); | ||
75 | $scope.timer = days + "d " + hours + "h " | ||
76 | + minutes + "m " + seconds + "s " | ||
77 | // Output the result in an element with id="demo" | ||
78 | document.getElementById("chennai").innerHTML = days + "d " + hours + "h " | ||
79 | + minutes + "m " + seconds + "s "; | ||
80 | // If the count down is over, write some text | ||
81 | if (distance < 0) { | ||
82 | clearInterval(x); | ||
83 | document.getElementById("chennai").innerHTML = "EXPIRED"; | ||
84 | } | ||
85 | }, 1000); | ||
86 | |||
62 | $scope.infoForm = false; /*THIS CODE FOR HIDE STEP 2 FORM*/ | 87 | $scope.infoForm = false; /*THIS CODE FOR HIDE STEP 2 FORM*/ |
63 | $scope.space = false; /*THIS CODE FOR HIDE STEP 2 FORM*/ | 88 | $scope.space = false; /*THIS CODE FOR HIDE STEP 2 FORM*/ |
64 | // $scope.Textshow = "yes" | 89 | // $scope.Textshow = "yes" |
65 | $scope.max = 100; | 90 | $scope.max = 100; |
66 | $scope.formPage = false; | 91 | $scope.formPage = false; |
67 | $scope.current = 0; | 92 | $scope.current = 0; |
68 | $scope.payingAmnt = 0; | 93 | $scope.payingAmnt = 0; |
69 | if ($scope.data.stage == 'select') { | 94 | if ($scope.data.stage == 'select') { |
70 | 95 | ||
71 | } | 96 | } |
72 | 97 | ||
73 | //$scope.author = 'Swarn Singh'; | 98 | //$scope.author = 'Swarn Singh'; |
74 | $scope.data = {}; | 99 | $scope.data = {}; |
75 | $scope.data.stage = 'Idea'; | 100 | $scope.data.stage = 'Idea'; |
76 | $scope.discountAmount = 0; | 101 | $scope.discountAmount = 0; |
77 | $scope.check = false; | 102 | $scope.check = false; |
78 | $scope.numberCheck = false; | 103 | $scope.numberCheck = false; |
79 | $scope.paymentResult = {}; | 104 | $scope.paymentResult = {}; |
80 | var data = { | 105 | var data = { |
81 | "amount": $scope.payingAmnt, | 106 | "amount": $scope.payingAmnt, |
82 | "currency": "INR", | 107 | "currency": "INR", |
83 | "status": "pending" | 108 | "status": "pending" |
84 | } | 109 | } |
85 | 110 | ||
86 | /*open videos in modal*/ | 111 | /*open videos in modal*/ |
87 | // $scope.openyoutube16 = function(){ | 112 | // $scope.openyoutube16 = function(){ |
88 | // $('#videoModel').modal('show'); | 113 | // $('#videoModel').modal('show'); |
89 | // } | 114 | // } |
90 | 115 | ||
91 | // $scope.openyoutube17 = function(){ | 116 | // $scope.openyoutube17 = function(){ |
92 | // $('#videoModels').modal('show'); | 117 | // $('#videoModels').modal('show'); |
93 | // } | 118 | // } |
94 | 119 | ||
95 | // $scope.closeModal = function(){ | 120 | // $scope.closeModal = function(){ |
96 | // var url = $('#youtubePlayer').attr('src'); | 121 | // var url = $('#youtubePlayer').attr('src'); |
97 | // $('#youtubePlayer').attr('src', ''); | 122 | // $('#youtubePlayer').attr('src', ''); |
98 | // $('#youtubePlayer').attr('src', url); | 123 | // $('#youtubePlayer').attr('src', url); |
99 | // } | 124 | // } |
100 | 125 | ||
101 | 126 | ||
102 | // $scope.closed = function(){ | 127 | // $scope.closed = function(){ |
103 | // var url = $('#youtubePlayersss').attr('src'); | 128 | // var url = $('#youtubePlayersss').attr('src'); |
104 | // $('#youtubePlayersss').attr('src', ''); | 129 | // $('#youtubePlayersss').attr('src', ''); |
105 | // $('#youtubePlayersss').attr('src', url); | 130 | // $('#youtubePlayersss').attr('src', url); |
106 | // } | 131 | // } |
107 | /*open videos ends here*/ | 132 | /*open videos ends here*/ |
108 | $scope.apply = function() { | 133 | $scope.apply = function() { |
109 | Analytics.trackEvent('register', 'click', 'django.mp4'); | 134 | Analytics.trackEvent('register', 'click', 'django.mp4'); |
110 | $location.path("/registration") | 135 | $location.path("/registration") |
111 | } | 136 | } |
112 | $scope.data.citymeetup = ''; | 137 | $scope.data.citymeetup = ''; |
113 | $scope.register = function(value){ | 138 | $scope.register = function(value){ |
114 | $scope.data.citymeetup = value; | 139 | $scope.data.citymeetup = value; |
115 | $('.hiddenForm').slideDown(); | 140 | $('.hiddenForm').slideDown(); |
116 | $('html, body').animate({ | 141 | $('html, body').animate({ |
117 | scrollTop: $('.hiddenForm').offset().top | 142 | scrollTop: $('.hiddenForm').offset().top |
118 | }, 1000); | 143 | }, 1000); |
119 | console.log('gdggsg', value); | 144 | console.log('gdggsg', value); |
120 | } | 145 | } |
121 | 146 | ||
122 | $scope.removeError = function() { | 147 | $scope.removeError = function() { |
123 | $('#invalidEmail').css('display', 'none'); | 148 | $('#invalidEmail').css('display', 'none'); |
124 | $('#alreadyExist').css('display', 'none'); | 149 | $('#alreadyExist').css('display', 'none'); |
125 | }; | 150 | }; |
126 | 151 | ||
127 | $scope.emailcheck = function(val) { | 152 | $scope.emailcheck = function(val) { |
128 | console.log(val) | 153 | console.log(val) |
129 | $scope.space = /\s/g.test(val); | 154 | $scope.space = /\s/g.test(val); |
130 | console.log("space",$scope.space) | 155 | console.log("space",$scope.space) |
131 | if (val == undefined) { | 156 | if (val == undefined) { |
132 | $('#invalidEmail').css('display', 'block'); | 157 | $('#invalidEmail').css('display', 'block'); |
133 | } else { | 158 | } else { |
134 | $http({ | 159 | $http({ |
135 | method: 'GET', | 160 | method: 'GET', |
136 | url: BASE_URL + '/applicants?filter={"where": {"email": {"like":"%25' + $scope.data.email + '%25"}}}', | 161 | url: BASE_URL + '/applicants?filter={"where": {"email": {"like":"%25' + $scope.data.email + '%25"}}}', |
137 | headers: {} | 162 | headers: {} |
138 | }).then(function mySuccess(searchResult) { | 163 | }).then(function mySuccess(searchResult) { |
139 | console.log("searchResult1===>", searchResult) | 164 | console.log("searchResult1===>", searchResult) |
140 | if (searchResult.data.length == 0) { | 165 | if (searchResult.data.length == 0) { |
141 | $scope.check = false; | 166 | $scope.check = false; |
142 | } else { | 167 | } else { |
143 | $scope.check = true; | 168 | $scope.check = true; |
144 | $('#alreadyExist').css('display', 'block'); | 169 | $('#alreadyExist').css('display', 'block'); |
145 | } | 170 | } |
146 | }, function myError(error) {}); | 171 | }, function myError(error) {}); |
147 | } | 172 | } |
148 | }; | 173 | }; |
149 | 174 | ||
150 | $scope.removeNoError = function() { | 175 | $scope.removeNoError = function() { |
151 | $('#noExist').css('display', 'none'); | 176 | $('#noExist').css('display', 'none'); |
152 | }; | 177 | }; |
153 | 178 | ||
154 | $scope.numbercheck = function(number) { | 179 | $scope.numbercheck = function(number) { |
155 | $http({ | 180 | $http({ |
156 | method: 'GET', | 181 | method: 'GET', |
157 | url: BASE_URL + '/applicants?filter={"where": {"phone": {"like":"%25' + number + '%25"}}}', | 182 | url: BASE_URL + '/applicants?filter={"where": {"phone": {"like":"%25' + number + '%25"}}}', |
158 | data: $scope.data, | 183 | data: $scope.data, |
159 | headers: {} | 184 | headers: {} |
160 | }).then(function mySuccess(searchResult) { | 185 | }).then(function mySuccess(searchResult) { |
161 | console.log("searchResult===>", searchResult) | 186 | console.log("searchResult===>", searchResult) |
162 | if (searchResult.data.length == 0) { | 187 | if (searchResult.data.length == 0) { |
163 | $scope.numberCheck = false; | 188 | $scope.numberCheck = false; |
164 | 189 | ||
165 | } else { | 190 | } else { |
166 | $scope.numberCheck = true; | 191 | $scope.numberCheck = true; |
167 | $('#noExist').css('display', 'block'); | 192 | $('#noExist').css('display', 'block'); |
168 | } | 193 | } |
169 | }, function myError(error) {}); | 194 | }, function myError(error) {}); |
170 | }; | 195 | }; |
171 | 196 | ||
172 | $rootScope.tokenCall = function(val) { | 197 | $rootScope.tokenCall = function(val) { |
173 | console.log('val-------->', val); | 198 | console.log('val-------->', val); |
174 | if (val == undefined) { | 199 | if (val == undefined) { |
175 | $('#invalidEmail').css('display', 'block'); | 200 | $('#invalidEmail').css('display', 'block'); |
176 | } else { | 201 | } else { |
177 | val = val.toUpperCase(); | 202 | val = val.toUpperCase(); |
178 | $http.get(BASE_URL + '/ambassadors?filter={"where": {"referalToken": {"like":"%25' + val + '%25"}}}') | 203 | $http.get(BASE_URL + '/ambassadors?filter={"where": {"referalToken": {"like":"%25' + val + '%25"}}}') |
179 | .then(function(searchResult) { | 204 | .then(function(searchResult) { |
180 | if (searchResult.data.length == 0) { | 205 | if (searchResult.data.length == 0) { |
181 | $scope.tokencheck = false; | 206 | $scope.tokencheck = false; |
182 | $scope.discountAmount = 0; | 207 | $scope.discountAmount = 0; |
183 | } else { | 208 | } else { |
184 | $scope.tokencheck = true; | 209 | $scope.tokencheck = true; |
185 | } | 210 | } |
186 | },function(err){ | 211 | },function(err){ |
187 | console.log(err) | 212 | console.log(err) |
188 | }); | 213 | }); |
189 | 214 | ||
190 | } | 215 | } |
191 | }; | 216 | }; |
192 | 217 | ||
193 | 218 | ||
194 | 219 | ||
195 | 220 | ||
196 | /*THIS CODE FOR ENABLED SUBMIT BUTTON AFTER UPLOAD IMAGE*/ | 221 | /*THIS CODE FOR ENABLED SUBMIT BUTTON AFTER UPLOAD IMAGE*/ |
197 | $(document).ready( | 222 | $(document).ready( |
198 | function() { | 223 | function() { |
199 | $('input:submit').attr('disabled', true); | 224 | $('input:submit').attr('disabled', true); |
200 | $('input:file').change( | 225 | $('input:file').change( |
201 | function() { | 226 | function() { |
202 | if ($("#picture").val()) { | 227 | if ($("#picture").val()) { |
203 | $('input:submit').removeAttr('disabled'); | 228 | $('input:submit').removeAttr('disabled'); |
204 | } else { | 229 | } else { |
205 | $('input:submit').attr('disabled', true); | 230 | $('input:submit').attr('disabled', true); |
206 | } | 231 | } |
207 | }); | 232 | }); |
208 | }); | 233 | }); |
209 | 234 | ||
210 | /*****THIS IS FOR STEP ONE FORM ******/ | 235 | /*****THIS IS FOR STEP ONE FORM ******/ |
211 | // $scope.next = function() { | 236 | // $scope.next = function() { |
212 | // $scope.data.status = null | 237 | // $scope.data.status = null |
213 | // if ($scope.data.stage == undefined || $scope.data.name == undefined || $scope.data.email == undefined || $scope.data.number == undefined || $scope.data.city == undefined) { | 238 | // if ($scope.data.stage == undefined || $scope.data.name == undefined || $scope.data.email == undefined || $scope.data.number == undefined || $scope.data.city == undefined) { |
214 | // var x = document.getElementById("snackbar") | 239 | // var x = document.getElementById("snackbar") |
215 | // x.className = "show"; | 240 | // x.className = "show"; |
216 | // setTimeout(function() { | 241 | // setTimeout(function() { |
217 | // x.className = x.className.replace("show", ""); | 242 | // x.className = x.className.replace("show", ""); |
218 | // }, 3000); | 243 | // }, 3000); |
219 | // } else if ($scope.data.stage != undefined && $scope.data.name != undefined && $scope.data.email != undefined && $scope.data.number != undefined && $scope.data.city != undefined) { | 244 | // } else if ($scope.data.stage != undefined && $scope.data.name != undefined && $scope.data.email != undefined && $scope.data.number != undefined && $scope.data.city != undefined) { |
220 | // $scope.infoForm = true; | 245 | // $scope.infoForm = true; |
221 | // console.log("sdasdasdsa"); | 246 | // console.log("sdasdasdsa"); |
222 | // $scope.data.stage = $scope.data.stage; | 247 | // $scope.data.stage = $scope.data.stage; |
223 | // $scope.detail = {}; | 248 | // $scope.detail = {}; |
224 | // $scope.data.phone = "+91" + $scope.data.number; | 249 | // $scope.data.phone = "+91" + $scope.data.number; |
225 | // $http({ | 250 | // $http({ |
226 | // method: 'POST', | 251 | // method: 'POST', |
227 | // url: BASE_URL + '/information', | 252 | // url: BASE_URL + '/information', |
228 | // data: $scope.data, | 253 | // data: $scope.data, |
229 | // headers: {} | 254 | // headers: {} |
230 | // }).then(function mySuccess(result) { | 255 | // }).then(function mySuccess(result) { |
231 | // Analytics.trackEvent('information', 'click', 'django.mp4'); | 256 | // Analytics.trackEvent('information', 'click', 'django.mp4'); |
232 | // console.log("result", result) | 257 | // console.log("result", result) |
233 | // $scope.detail = result; | 258 | // $scope.detail = result; |
234 | // data.applicantId = result.data.id; | 259 | // data.applicantId = result.data.id; |
235 | // $scope.userId = result.data.id; | 260 | // $scope.userId = result.data.id; |
236 | 261 | ||
237 | // }, function myError(error) {}); | 262 | // }, function myError(error) {}); |
238 | 263 | ||
239 | // } | 264 | // } |
240 | 265 | ||
241 | // } | 266 | // } |
242 | 267 | ||
243 | $scope.calculateAmount = function(){ | 268 | $scope.calculateAmount = function(){ |
244 | if ($scope.data.stage == undefined || $scope.data.firstName == undefined || $scope.data.email == undefined || $scope.data.number == undefined || $scope.data.city == undefined) { | 269 | if ($scope.data.stage == undefined || $scope.data.firstName == undefined || $scope.data.email == undefined || $scope.data.number == undefined || $scope.data.city == undefined) { |
245 | var x = document.getElementById("snackbar") | 270 | var x = document.getElementById("snackbar") |
246 | x.className = "show"; | 271 | x.className = "show"; |
247 | setTimeout(function() { | 272 | setTimeout(function() { |
248 | x.className = x.className.replace("show", ""); | 273 | x.className = x.className.replace("show", ""); |
249 | }, 3000); | 274 | }, 3000); |
250 | } else if ($scope.data.stage != undefined && $scope.data.firstName != undefined && $scope.data.email != undefined && $scope.data.number != undefined && $scope.data.city != undefined) { | 275 | } else if ($scope.data.stage != undefined && $scope.data.firstName != undefined && $scope.data.email != undefined && $scope.data.number != undefined && $scope.data.city != undefined) { |
251 | $scope.infoForm = true; | 276 | $scope.infoForm = true; |
252 | console.log("sdasdasdsa"); | 277 | console.log("sdasdasdsa"); |
253 | $scope.data.stage = $scope.data.stage; | 278 | $scope.data.stage = $scope.data.stage; |
254 | $scope.detail = {}; | 279 | $scope.detail = {}; |
255 | $scope.data.phone = "+91" + $scope.data.number; | 280 | $scope.data.phone = "+91" + $scope.data.number; |
256 | $http({ | 281 | $http({ |
257 | method: 'POST', | 282 | method: 'POST', |
258 | url: BASE_URL + '/applicants', | 283 | url: BASE_URL + '/applicants', |
259 | data: $scope.data, | 284 | data: $scope.data, |
260 | headers: {} | 285 | headers: {} |
261 | }).then(function mySuccess(result) { | 286 | }).then(function mySuccess(result) { |
262 | Analytics.trackEvent('applicants', 'click', 'django.mp4'); | 287 | Analytics.trackEvent('applicants', 'click', 'django.mp4'); |
263 | console.log("result", result) | 288 | console.log("result", result) |
264 | $scope.detail = result; | 289 | $scope.detail = result; |
265 | data.applicantId = result.data.id; | 290 | data.applicantId = result.data.id; |
266 | //$scope.userId = result.data.id; | 291 | //$scope.userId = result.data.id; |
267 | 292 | ||
268 | if ($scope.data.stage == "Idea") { | 293 | if ($scope.data.stage == "Idea") { |
269 | console.log("$scope.data", $scope.data) | 294 | console.log("$scope.data", $scope.data) |
270 | $scope.ticketAmnt = 500; | 295 | $scope.ticketAmnt = 500; |
271 | } | 296 | } |
272 | 297 | ||
273 | if ($scope.data.stage == "Product") { | 298 | if ($scope.data.stage == "Product") { |
274 | $scope.ticketAmnt = 1000; | 299 | $scope.ticketAmnt = 1000; |
275 | } | 300 | } |
276 | 301 | ||
277 | if ($scope.data.stage == "Growth") { | 302 | if ($scope.data.stage == "Growth") { |
278 | $scope.ticketAmnt = 1000; | 303 | $scope.ticketAmnt = 1000; |
279 | } | 304 | } |
280 | var amount = $scope.ticketAmnt * 100 | 305 | var amount = $scope.ticketAmnt * 100 |
281 | if($scope.tokencheck == true){ | 306 | if($scope.tokencheck == true){ |
282 | var amount = $scope.ticketAmnt | 307 | var amount = $scope.ticketAmnt |
283 | // $scope.discountAmount = (amount * 10)/100 | 308 | // $scope.discountAmount = (amount * 10)/100 |
284 | console.log("finalAmount====>",$scope.payingAmnt) | 309 | console.log("finalAmount====>",$scope.payingAmnt) |
285 | } | 310 | } |
286 | 311 | ||
287 | var taxAmount = $scope.ticketAmnt | 312 | var taxAmount = $scope.ticketAmnt |
288 | // $scope.taxTotal = (taxAmount * 18)/100 | 313 | // $scope.taxTotal = (taxAmount * 18)/100 |
289 | $scope.payingAmnt = taxAmount | 314 | $scope.payingAmnt = taxAmount |
290 | console.log("taxincludedamount----", $scope.payingAmnt) | 315 | console.log("taxincludedamount----", $scope.payingAmnt) |
291 | // } | 316 | // } |
292 | 317 | ||
293 | /*****THIS IS FOR STEP THREE FORM ******/ | 318 | /*****THIS IS FOR STEP THREE FORM ******/ |
294 | // $scope.create = function() { | 319 | // $scope.create = function() { |
295 | // if ($scope.data.name == undefined || $scope.data.email == undefined || $scope.data.number == undefined) { | 320 | // if ($scope.data.name == undefined || $scope.data.email == undefined || $scope.data.number == undefined) { |
296 | // var x = document.getElementById("snackbar") | 321 | // var x = document.getElementById("snackbar") |
297 | // x.className = "show"; | 322 | // x.className = "show"; |
298 | // setTimeout(function() { | 323 | // setTimeout(function() { |
299 | // x.className = x.className.replace("show", ""); | 324 | // x.className = x.className.replace("show", ""); |
300 | // }, 3000); | 325 | // }, 3000); |
301 | // } else if ($scope.data.name != undefined && $scope.data.email != undefined && $scope.data.number != undefined) { | 326 | // } else if ($scope.data.name != undefined && $scope.data.email != undefined && $scope.data.number != undefined) { |
302 | // $scope.infoForm = true; | 327 | // $scope.infoForm = true; |
303 | // console.log("sdasdasdsa"); | 328 | // console.log("sdasdasdsa"); |
304 | // $scope.data.stage = $scope.data.stage; | 329 | // $scope.data.stage = $scope.data.stage; |
305 | // $scope.detail = {}; | 330 | // $scope.detail = {}; |
306 | // $scope.data.phone = "+91" + $scope.data.number; | 331 | // $scope.data.phone = "+91" + $scope.data.number; |
307 | // $http({ | 332 | // $http({ |
308 | // method: 'POST', | 333 | // method: 'POST', |
309 | // url: BASE_URL + '/applicants', | 334 | // url: BASE_URL + '/applicants', |
310 | // data: $scope.data, | 335 | // data: $scope.data, |
311 | // headers: {} | 336 | // headers: {} |
312 | // }).then(function mySuccess(result) { | 337 | // }).then(function mySuccess(result) { |
313 | 338 | ||
314 | // console.log("=====result=====", result) | 339 | // console.log("=====result=====", result) |
315 | // $scope.detail = result; | 340 | // $scope.detail = result; |
316 | // data.applicantId = result.data.id; | 341 | // data.applicantId = result.data.id; |
317 | // $scope.userId = result.data.id; | 342 | // $scope.userId = result.data.id; |
318 | // console.log("=====data=====", data) | 343 | // console.log("=====data=====", data) |
319 | data.amount = $scope.payingAmnt; | 344 | data.amount = $scope.payingAmnt; |
320 | if ($scope.detail != null) { | 345 | if ($scope.detail != null) { |
321 | $http({ | 346 | $http({ |
322 | method: 'POST', | 347 | method: 'POST', |
323 | url: BASE_URL + '/payments', | 348 | url: BASE_URL + '/payments', |
324 | data: data, | 349 | data: data, |
325 | headers: {} | 350 | headers: {} |
326 | }).then(function mySuccess(paymentResult) { | 351 | }).then(function mySuccess(paymentResult) { |
327 | Analytics.trackEvent('payments', 'click', 'django.mp4'); | 352 | Analytics.trackEvent('payments', 'click', 'django.mp4'); |
328 | console.log("paymentResult",paymentResult) | 353 | console.log("paymentResult",paymentResult) |
329 | $scope.paymentResult = paymentResult; | 354 | $scope.paymentResult = paymentResult; |
330 | }, function myError(error) {}); | 355 | }, function myError(error) {}); |
331 | } | 356 | } |
332 | var i = 0; | 357 | var i = 0; |
333 | $scope.payingAmnt = $scope.payingAmnt * 100; | 358 | $scope.payingAmnt = $scope.payingAmnt * 100; |
334 | var options = { | 359 | var options = { |
335 | "key": "rzp_live_mhSE1uOBlXvFyJ", | 360 | "key": "rzp_live_mhSE1uOBlXvFyJ", |
336 | "amount": $scope.payingAmnt, | 361 | "amount": $scope.payingAmnt, |
337 | 362 | ||
338 | "name": "Startup Jalsa", | 363 | "name": "Startup Jalsa", |
339 | "description": "amount", | 364 | "description": "amount", |
340 | "currency": "INR", | 365 | "currency": "INR", |
341 | "status": "done", | 366 | "status": "done", |
342 | 367 | ||
343 | "theme": { | 368 | "theme": { |
344 | "color": "#2196f3 ", | 369 | "color": "#2196f3 ", |
345 | "image_padding": "NO" | 370 | "image_padding": "NO" |
346 | }, | 371 | }, |
347 | "modal": { | 372 | "modal": { |
348 | "ondismiss": function() {} | 373 | "ondismiss": function() {} |
349 | }, | 374 | }, |
350 | "handler": function(response) { | 375 | "handler": function(response) { |
351 | createPayment(response); | 376 | createPayment(response); |
352 | } | 377 | } |
353 | }; | 378 | }; |
354 | var rzp1 = new Razorpay(options); | 379 | var rzp1 = new Razorpay(options); |
355 | rzp1.open(); | 380 | rzp1.open(); |
356 | $scope.paymentResponse = {}; | 381 | $scope.paymentResponse = {}; |
357 | 382 | ||
358 | function createPayment(response) { | 383 | function createPayment(response) { |
359 | Analytics.trackEvent('payments', 'click', 'django.mp4'); | 384 | Analytics.trackEvent('payments', 'click', 'django.mp4'); |
360 | console.log("response====from===razorpay",response) | 385 | console.log("response====from===razorpay",response) |
361 | $route.reload(); | 386 | $route.reload(); |
362 | $scope.paymentResponse.razorPaymentId = response.razorpay_payment_id; | 387 | $scope.paymentResponse.razorPaymentId = response.razorpay_payment_id; |
363 | $scope.paymentResponse.razorOrderId = $scope.paymentResult.data.razorOrderId; | 388 | $scope.paymentResponse.razorOrderId = $scope.paymentResult.data.razorOrderId; |
364 | $scope.paymentResponse.amount = data.amount; | 389 | $scope.paymentResponse.amount = data.amount; |
365 | $scope.paymentResponse.currency = "INR"; | 390 | $scope.paymentResponse.currency = "INR"; |
366 | $scope.paymentResponse.status = $scope.paymentResult.data.status; | 391 | $scope.paymentResponse.status = $scope.paymentResult.data.status; |
367 | $http({ | 392 | $http({ |
368 | method: 'PUT', | 393 | method: 'PUT', |
369 | url: BASE_URL + '/payments/' + $scope.paymentResult.data.id, | 394 | url: BASE_URL + '/payments/' + $scope.paymentResult.data.id, |
370 | data: $scope.paymentResponse, | 395 | data: $scope.paymentResponse, |
371 | headers: {} | 396 | headers: {} |
372 | }).then(function mySuccess(searchResult) { | 397 | }).then(function mySuccess(searchResult) { |
373 | Analytics.trackEvent('payments', 'click', 'django.mp4'); | 398 | Analytics.trackEvent('payments', 'click', 'django.mp4'); |
374 | console.log("searchResult", searchResult) | 399 | console.log("searchResult", searchResult) |
375 | $location.path("/confirmation") | 400 | $location.path("/confirmation") |
376 | //$scope.showToastr() | 401 | //$scope.showToastr() |
377 | //toaster.success("Registration done successfully"); | 402 | //toaster.success("Registration done successfully"); |
378 | 403 | ||
379 | }, function myError(error) {}); | 404 | }, function myError(error) {}); |
380 | } | 405 | } |
381 | }, function myError(error) {}); | 406 | }, function myError(error) {}); |
382 | } | 407 | } |
383 | 408 | ||
384 | } | 409 | } |
385 | 410 | ||
386 | //}, function myError(error) {}); | 411 | //}, function myError(error) {}); |
387 | //} | 412 | //} |
388 | 413 | ||
389 | //} | 414 | //} |
390 | 415 | ||
391 | // $scope.showToastr = function() { | 416 | // $scope.showToastr = function() { |
392 | // console.log("called toast") | 417 | // console.log("called toast") |
393 | // var x = document.getElementById("snacsskbar") | 418 | // var x = document.getElementById("snacsskbar") |
394 | // x.className = "show"; | 419 | // x.className = "show"; |
395 | // setTimeout(function() { | 420 | // setTimeout(function() { |
396 | // x.className = x.className.replace("show", ""); | 421 | // x.className = x.className.replace("show", ""); |
397 | // }, 3000); | 422 | // }, 3000); |
398 | // } | 423 | // } |
399 | 424 | ||
400 | /*kk***This code for change data when click to chooses stages***/ | 425 | /*kk***This code for change data when click to chooses stages***/ |
401 | $scope.proto = true; | 426 | $scope.proto = true; |
402 | $scope.businessmodel = true; | 427 | $scope.businessmodel = true; |
403 | $scope.Idea = true; | 428 | $scope.Idea = true; |
404 | $scope.current = true; | 429 | $scope.current = true; |
405 | 430 | ||
406 | $scope.stage = function(stage) { | 431 | $scope.stage = function(stage) { |
407 | $scope.stagekeyPress(); | 432 | $scope.stagekeyPress(); |
408 | console.log("stage--2",stage) | 433 | console.log("stage--2",stage) |
409 | 434 | ||
410 | if (stage == 'Idea') { | 435 | if (stage == 'Idea') { |
411 | $scope.Productshow = "no"; | 436 | $scope.Productshow = "no"; |
412 | $scope.current = 10; | 437 | $scope.current = 10; |
413 | $scope.proto = true; | 438 | $scope.proto = true; |
414 | $scope.prototyp = false; | 439 | $scope.prototyp = false; |
415 | $scope.protyp = false; | 440 | $scope.protyp = false; |
416 | $scope.market = false; | 441 | $scope.market = false; |
417 | $scope.risks = false; | 442 | $scope.risks = false; |
418 | $scope.team = false; | 443 | $scope.team = false; |
419 | $scope.pitch = false; | 444 | $scope.pitch = false; |
420 | $scope.financials = false; | 445 | $scope.financials = false; |
421 | $scope.businessmodel = true; | 446 | $scope.businessmodel = true; |
422 | $scope.data.stage = stage; | 447 | $scope.data.stage = stage; |
423 | // for right content | 448 | // for right content |
424 | $scope.Idea = true; | 449 | $scope.Idea = true; |
425 | $scope.Product = false; | 450 | $scope.Product = false; |
426 | $scope.Growth = false; | 451 | $scope.Growth = false; |
427 | } else if (stage == 'Product') { | 452 | } else if (stage == 'Product') { |
428 | $scope.Productshow = "no"; | 453 | $scope.Productshow = "no"; |
429 | $scope.current = 10; | 454 | $scope.current = 10; |
430 | $scope.proto = true; | 455 | $scope.proto = true; |
431 | $scope.prototyp = true; | 456 | $scope.prototyp = true; |
432 | $scope.protyp = true; | 457 | $scope.protyp = true; |
433 | $scope.market = true; | 458 | $scope.market = true; |
434 | $scope.risks = true; | 459 | $scope.risks = true; |
435 | $scope.team = true; | 460 | $scope.team = true; |
436 | $scope.pitch = true; | 461 | $scope.pitch = true; |
437 | $scope.financials = true; | 462 | $scope.financials = true; |
438 | $scope.businessmodel = false; | 463 | $scope.businessmodel = false; |
439 | $scope.data.stage = stage; | 464 | $scope.data.stage = stage; |
440 | // for right content | 465 | // for right content |
441 | $scope.Idea = false; | 466 | $scope.Idea = false; |
442 | $scope.Product = true; | 467 | $scope.Product = true; |
443 | $scope.Growth = false; | 468 | $scope.Growth = false; |
444 | } else if (stage == 'Growth') { | 469 | } else if (stage == 'Growth') { |
445 | $scope.Productshow = "yes"; | 470 | $scope.Productshow = "yes"; |
446 | $scope.current = 10; | 471 | $scope.current = 10; |
447 | $scope.proto = false; | 472 | $scope.proto = false; |
448 | $scope.prototyp = true; | 473 | $scope.prototyp = true; |
449 | $scope.protyp = false; | 474 | $scope.protyp = false; |
450 | $scope.market = true; | 475 | $scope.market = true; |
451 | $scope.risks = true; | 476 | $scope.risks = true; |
452 | $scope.team = true; | 477 | $scope.team = true; |
453 | $scope.pitch = true; | 478 | $scope.pitch = true; |
454 | $scope.financials = true; | 479 | $scope.financials = true; |
455 | $scope.businessmodel = false; | 480 | $scope.businessmodel = false; |
456 | // for right content | 481 | // for right content |
457 | $scope.Idea = false; | 482 | $scope.Idea = false; |
458 | $scope.Product = false; | 483 | $scope.Product = false; |
459 | $scope.Growth = true; | 484 | $scope.Growth = true; |
460 | $scope.data.stage = stage; | 485 | $scope.data.stage = stage; |
461 | } | 486 | } |
462 | } | 487 | } |
463 | 488 | ||
464 | $scope.emailTest = function(s){ | 489 | $scope.emailTest = function(s){ |
465 | $scope.space = /\s/g.test(s.delegateTarget.value); | 490 | $scope.space = /\s/g.test(s.delegateTarget.value); |
466 | console.log("space",$scope.space) | 491 | console.log("space",$scope.space) |
467 | 492 | ||
468 | } | 493 | } |
469 | // $scope.enterbusiness = function(business) { | 494 | // $scope.enterbusiness = function(business) { |
470 | // console.log("business", business); | 495 | // console.log("business", business); |
471 | // if (name == undefined) { | 496 | // if (name == undefined) { |
472 | // $scope.current = false; | 497 | // $scope.current = false; |
473 | 498 | ||
474 | // } else if (name != undefined) { | 499 | // } else if (name != undefined) { |
475 | // $scope.current = true; | 500 | // $scope.current = true; |
476 | // } | 501 | // } |
477 | // } | 502 | // } |
478 | /*******FOR FILL THE DATA AND SHOWS ICON GREEN*/ | 503 | /*******FOR FILL THE DATA AND SHOWS ICON GREEN*/ |
479 | $scope.stagekeyPress = function() { | 504 | $scope.stagekeyPress = function() { |
480 | $('.icon-circle-a').css('background-color', 'rgb(66, 181, 73)'); | 505 | $('.icon-circle-a').css('background-color', 'rgb(66, 181, 73)'); |
481 | } | 506 | } |
482 | $scope.sectorkeyPress = function() { | 507 | $scope.sectorkeyPress = function() { |
483 | $('.icon-circle-b').css('background-color', 'rgb(66, 181, 73)'); | 508 | $('.icon-circle-b').css('background-color', 'rgb(66, 181, 73)'); |
484 | } | 509 | } |
485 | 510 | ||
486 | $scope.productLaunchkeyPress = function() { | 511 | $scope.productLaunchkeyPress = function() { |
487 | $('.icon-circle-ab').css('background-color', 'rgb(66, 181, 73)'); | 512 | $('.icon-circle-ab').css('background-color', 'rgb(66, 181, 73)'); |
488 | } | 513 | } |
489 | 514 | ||
490 | $scope.launchPeriodkeyPress = function() { | 515 | $scope.launchPeriodkeyPress = function() { |
491 | $('.icon-circle-abc').css('background-color', 'rgb(66, 181, 73)'); | 516 | $('.icon-circle-abc').css('background-color', 'rgb(66, 181, 73)'); |
492 | } | 517 | } |
493 | 518 | ||
494 | $scope.industrykeyPress = function() { | 519 | $scope.industrykeyPress = function() { |
495 | $scope.addOther = false; | 520 | $scope.addOther = false; |
496 | $scope.hideSelectBox = true; | 521 | $scope.hideSelectBox = true; |
497 | $('.icon-circle-abcdefg').css('background-color', 'rgb(66, 181, 73)'); | 522 | $('.icon-circle-abcdefg').css('background-color', 'rgb(66, 181, 73)'); |
498 | var e = document.getElementById("dataIndustry"); | 523 | var e = document.getElementById("dataIndustry"); |
499 | var dataIndustry = e.options[e.selectedIndex].value; | 524 | var dataIndustry = e.options[e.selectedIndex].value; |
500 | if(dataIndustry == "others") { | 525 | if(dataIndustry == "others") { |
501 | $scope.addOther = true; | 526 | $scope.addOther = true; |
502 | $scope.hideSelectBox = false; | 527 | $scope.hideSelectBox = false; |
503 | } | 528 | } |
504 | } | 529 | } |
505 | 530 | ||
506 | $scope.industryNamekeyPress = function(firstName) { | 531 | $scope.industryNamekeyPress = function(firstName) { |
507 | console.log("lastName==", firstName); | 532 | console.log("lastName==", firstName); |
508 | if (firstName == undefined) { | 533 | if (firstName == undefined) { |
509 | $('.icon-circle-o').css('background-color', 'rgb(102, 102, 102)'); | 534 | $('.icon-circle-o').css('background-color', 'rgb(102, 102, 102)'); |
510 | } else { | 535 | } else { |
511 | $('.icon-circle-o').css('background-color', 'rgb(66, 181, 73)'); | 536 | $('.icon-circle-o').css('background-color', 'rgb(66, 181, 73)'); |
512 | } | 537 | } |
513 | } | 538 | } |
514 | 539 | ||
515 | $scope.amountkeyPress = function() { | 540 | $scope.amountkeyPress = function() { |
516 | $('.icon-circle-bc').css('background-color', 'rgb(66, 181, 73)'); | 541 | $('.icon-circle-bc').css('background-color', 'rgb(66, 181, 73)'); |
517 | } | 542 | } |
518 | 543 | ||
519 | $scope.firstNamekeyPress = function(firstName) { | 544 | $scope.firstNamekeyPress = function(firstName) { |
520 | console.log("lastName==", firstName); | 545 | console.log("lastName==", firstName); |
521 | if (firstName == undefined) { | 546 | if (firstName == undefined) { |
522 | $('.icon-circle-c').css('background-color', 'rgb(102, 102, 102)'); | 547 | $('.icon-circle-c').css('background-color', 'rgb(102, 102, 102)'); |
523 | } else { | 548 | } else { |
524 | $('.icon-circle-c').css('background-color', 'rgb(66, 181, 73)'); | 549 | $('.icon-circle-c').css('background-color', 'rgb(66, 181, 73)'); |
525 | } | 550 | } |
526 | } | 551 | } |
527 | 552 | ||
528 | $scope.emailkeyPress = function(email) { | 553 | $scope.emailkeyPress = function(email) { |
529 | console.log("email", email); | 554 | console.log("email", email); |
530 | if (email == undefined) { | 555 | if (email == undefined) { |
531 | $('.icon-circle-d').css('background-color', 'rgb(102, 102, 102)'); | 556 | $('.icon-circle-d').css('background-color', 'rgb(102, 102, 102)'); |
532 | } else { | 557 | } else { |
533 | $('.icon-circle-d').css('background-color', 'rgb(66, 181, 73)'); | 558 | $('.icon-circle-d').css('background-color', 'rgb(66, 181, 73)'); |
534 | } | 559 | } |
535 | } | 560 | } |
536 | 561 | ||
537 | $scope.textCheck = function(){ | 562 | $scope.textCheck = function(){ |
538 | console.log("Val1:::", $scope.textCheck); | 563 | console.log("Val1:::", $scope.textCheck); |
539 | var e = document.getElementById("fundingDiv"); | 564 | var e = document.getElementById("fundingDiv"); |
540 | var funding = e.options[e.selectedIndex].value; | 565 | var funding = e.options[e.selectedIndex].value; |
541 | $scope.Textshow = "no"; | 566 | $scope.Textshow = "no"; |
542 | if(funding == "yes") { | 567 | if(funding == "yes") { |
543 | $scope.Textshow = "yes"; | 568 | $scope.Textshow = "yes"; |
544 | console.log("Val:::", $scope.Textshow); | 569 | console.log("Val:::", $scope.Textshow); |
545 | } | 570 | } |
546 | 571 | ||
547 | } | 572 | } |
548 | 573 | ||
549 | $scope.productCheck = function(){ | 574 | $scope.productCheck = function(){ |
550 | console.log("Val2:::", $scope.productCheck); | 575 | console.log("Val2:::", $scope.productCheck); |
551 | var e = document.getElementById("productDiv"); | 576 | var e = document.getElementById("productDiv"); |
552 | var product = e.options[e.selectedIndex].value; | 577 | var product = e.options[e.selectedIndex].value; |
553 | $scope.Productshow = "no"; | 578 | $scope.Productshow = "no"; |
554 | if(product == "yes") { | 579 | if(product == "yes") { |
555 | $scope.Productshow = "yes"; | 580 | $scope.Productshow = "yes"; |
556 | console.log("Val1:::", $scope.Productshow); | 581 | console.log("Val1:::", $scope.Productshow); |
557 | } | 582 | } |
558 | 583 | ||
559 | } | 584 | } |
560 | 585 | ||
561 | $scope.phonekeyPress = function(number) { | 586 | $scope.phonekeyPress = function(number) { |
562 | console.log("number", number); | 587 | console.log("number", number); |
563 | if (number == undefined || number == '') { | 588 | if (number == undefined || number == '') { |
564 | $('.icon-circle-e').css('background-color', 'rgb(102, 102, 102)'); | 589 | $('.icon-circle-e').css('background-color', 'rgb(102, 102, 102)'); |
565 | } else { | 590 | } else { |
566 | $('.icon-circle-e').css('background-color', 'rgb(66, 181, 73)'); | 591 | $('.icon-circle-e').css('background-color', 'rgb(66, 181, 73)'); |
567 | } | 592 | } |
568 | } | 593 | } |
569 | 594 | ||
570 | $scope.citykeyPress = function(city) { | 595 | $scope.citykeyPress = function(city) { |
571 | console.log("city", city); | 596 | console.log("city", city); |
572 | if (city == undefined) { | 597 | if (city == undefined) { |
573 | $('.icon-circle-f').css('background-color', 'rgb(102, 102, 102)'); | 598 | $('.icon-circle-f').css('background-color', 'rgb(102, 102, 102)'); |
574 | } else { | 599 | } else { |
575 | $('.icon-circle-f').css('background-color', 'rgb(66, 181, 73)'); | 600 | $('.icon-circle-f').css('background-color', 'rgb(66, 181, 73)'); |
576 | } | 601 | } |
577 | } | 602 | } |
578 | 603 | ||
579 | $scope.lastNamekeyPress = function(q) { | 604 | $scope.lastNamekeyPress = function(q) { |
580 | if (q == undefined) { | 605 | if (q == undefined) { |
581 | $('.icon-circle-x').css('background-color', 'rgb(102, 102, 102)'); | 606 | $('.icon-circle-x').css('background-color', 'rgb(102, 102, 102)'); |
582 | } else { | 607 | } else { |
583 | $('.icon-circle-x').css('background-color', 'rgb(66, 181, 73)'); | 608 | $('.icon-circle-x').css('background-color', 'rgb(66, 181, 73)'); |
584 | } | 609 | } |
585 | } | 610 | } |
586 | 611 | ||
587 | $scope.linkedInkeyPress = function(technology) { | 612 | $scope.linkedInkeyPress = function(technology) { |
588 | if (technology == undefined || technology == '') { | 613 | if (technology == undefined || technology == '') { |
589 | $('.icon-circle-h').css('background-color', 'rgb(102, 102, 102)'); | 614 | $('.icon-circle-h').css('background-color', 'rgb(102, 102, 102)'); |
590 | } else { | 615 | } else { |
591 | $('.icon-circle-h').css('background-color', 'rgb(66, 181, 73)'); | 616 | $('.icon-circle-h').css('background-color', 'rgb(66, 181, 73)'); |
592 | } | 617 | } |
593 | } | 618 | } |
594 | $scope.companykeyPress = function(problem) { | 619 | $scope.companykeyPress = function(problem) { |
595 | if (problem == undefined) { | 620 | if (problem == undefined) { |
596 | $('.icon-circle-i').css('background-color', 'rgb(102, 102, 102)'); | 621 | $('.icon-circle-i').css('background-color', 'rgb(102, 102, 102)'); |
597 | } else { | 622 | } else { |
598 | $('.icon-circle-i').css('background-color', 'rgb(66, 181, 73)'); | 623 | $('.icon-circle-i').css('background-color', 'rgb(66, 181, 73)'); |
599 | } | 624 | } |
600 | } | 625 | } |
601 | $scope.productNamekeyPress = function(solution) { | 626 | $scope.productNamekeyPress = function(solution) { |
602 | if (solution == undefined) { | 627 | if (solution == undefined) { |
603 | $('.icon-circle-j').css('background-color', 'rgb(102, 102, 102)'); | 628 | $('.icon-circle-j').css('background-color', 'rgb(102, 102, 102)'); |
604 | } else { | 629 | } else { |
605 | $('.icon-circle-j').css('background-color', 'rgb(66, 181, 73)'); | 630 | $('.icon-circle-j').css('background-color', 'rgb(66, 181, 73)'); |
606 | } | 631 | } |
607 | } | 632 | } |
608 | $scope.businesskeyPress = function(business) { | 633 | $scope.businesskeyPress = function(business) { |
609 | $('.icon-circle-p').css('background-color', 'rgb(66, 181, 73)'); | 634 | $('.icon-circle-p').css('background-color', 'rgb(66, 181, 73)'); |
610 | } | 635 | } |
611 | 636 | ||
612 | $scope.websitekeyPress = function(prototype) { | 637 | $scope.websitekeyPress = function(prototype) { |
613 | if (prototype == undefined || prototype == '') { | 638 | if (prototype == undefined || prototype == '') { |
614 | $('.icon-circle-k').css('background-color', 'rgb(102, 102, 102)'); | 639 | $('.icon-circle-k').css('background-color', 'rgb(102, 102, 102)'); |
615 | } else { | 640 | } else { |
616 | $('.icon-circle-k').css('background-color', 'rgb(66, 181, 73)'); | 641 | $('.icon-circle-k').css('background-color', 'rgb(66, 181, 73)'); |
617 | } | 642 | } |
618 | } | 643 | } |
619 | 644 | ||
620 | $scope.employeekeyPress = function(market) { | 645 | $scope.employeekeyPress = function(market) { |
621 | if (market == undefined || market == '') { | 646 | if (market == undefined || market == '') { |
622 | $('.icon-circle-l').css('background-color', 'rgb(102, 102, 102)'); | 647 | $('.icon-circle-l').css('background-color', 'rgb(102, 102, 102)'); |
623 | } else { | 648 | } else { |
624 | $('.icon-circle-l').css('background-color', 'rgb(66, 181, 73)'); | 649 | $('.icon-circle-l').css('background-color', 'rgb(66, 181, 73)'); |
625 | } | 650 | } |
626 | } | 651 | } |
627 | 652 | ||
628 | $scope.annualkeyPress = function(risk) { | 653 | $scope.annualkeyPress = function(risk) { |
629 | if (risk == undefined || risk == '') { | 654 | if (risk == undefined || risk == '') { |
630 | $('.icon-circle-m').css('background-color', 'rgb(102, 102, 102)'); | 655 | $('.icon-circle-m').css('background-color', 'rgb(102, 102, 102)'); |
631 | } else { | 656 | } else { |
632 | $('.icon-circle-m').css('background-color', 'rgb(66, 181, 73)'); | 657 | $('.icon-circle-m').css('background-color', 'rgb(66, 181, 73)'); |
633 | } | 658 | } |
634 | } | 659 | } |
635 | 660 | ||
636 | $scope.revenuekeyPress = function(team) { | 661 | $scope.revenuekeyPress = function(team) { |
637 | if (team == undefined || team == '') { | 662 | if (team == undefined || team == '') { |
638 | $('.icon-circle-n').css('background-color', 'rgb(102, 102, 102)'); | 663 | $('.icon-circle-n').css('background-color', 'rgb(102, 102, 102)'); |
639 | } else { | 664 | } else { |
640 | $('.icon-circle-n').css('background-color', 'rgb(66, 181, 73)'); | 665 | $('.icon-circle-n').css('background-color', 'rgb(66, 181, 73)'); |
641 | } | 666 | } |
642 | } | 667 | } |
643 | 668 | ||
644 | $scope.descriptionkeyPress = function(pitch) { | 669 | $scope.descriptionkeyPress = function(pitch) { |
645 | if (pitch == undefined) { | 670 | if (pitch == undefined) { |
646 | $('.icon-circle-z').css('background-color', 'rgb(102, 102, 102)'); | 671 | $('.icon-circle-z').css('background-color', 'rgb(102, 102, 102)'); |
647 | } else { | 672 | } else { |
648 | $('.icon-circle-z').css('background-color', 'rgb(66, 181, 73)'); | 673 | $('.icon-circle-z').css('background-color', 'rgb(66, 181, 73)'); |
649 | } | 674 | } |
650 | } | 675 | } |
651 | 676 | ||
652 | $scope.removeNooError = function() { | 677 | $scope.removeNooError = function() { |
653 | $('#invalidIdea').css('display', 'block'); | 678 | $('#invalidIdea').css('display', 'block'); |
654 | $('#noExist').css('display', 'none'); | 679 | $('#noExist').css('display', 'none'); |
655 | }; | 680 | }; |
656 | 681 | ||
657 | $scope.ideakeyPress = function(financial) { | 682 | $scope.ideakeyPress = function(financial) { |
658 | console.log("financial", financial); | 683 | console.log("financial", financial); |
659 | if (financial == undefined) { | 684 | if (financial == undefined) { |
660 | $('#invalidIdea').css('display', 'block'); | 685 | $('#invalidIdea').css('display', 'block'); |
661 | $('.icon-circle-q').css('background-color', 'rgb(102, 102, 102)'); | 686 | $('.icon-circle-q').css('background-color', 'rgb(102, 102, 102)'); |
662 | } else { | 687 | } else { |
663 | $('#invalidIdea').css('display', 'none'); | 688 | $('#invalidIdea').css('display', 'none'); |
664 | $('.icon-circle-q').css('background-color', 'rgb(66, 181, 73)'); | 689 | $('.icon-circle-q').css('background-color', 'rgb(66, 181, 73)'); |
665 | } | 690 | } |
666 | } | 691 | } |
667 | 692 | ||
668 | $scope.fundkeyPress = function(financial) { | 693 | $scope.fundkeyPress = function(financial) { |
669 | console.log("financial", financial); | 694 | console.log("financial", financial); |
670 | if (financial == undefined) { | 695 | if (financial == undefined) { |
671 | $('.icon-circle-y').css('background-color', 'rgb(102, 102, 102)'); | 696 | $('.icon-circle-y').css('background-color', 'rgb(102, 102, 102)'); |
672 | } else { | 697 | } else { |
673 | $('.icon-circle-y').css('background-color', 'rgb(66, 181, 73)'); | 698 | $('.icon-circle-y').css('background-color', 'rgb(66, 181, 73)'); |
674 | } | 699 | } |
675 | } | 700 | } |
676 | 701 | ||
677 | $scope.changeReferalIconColor = function(referalToken){ | 702 | $scope.changeReferalIconColor = function(referalToken){ |
678 | if (referalToken == undefined || referalToken == '') { | 703 | if (referalToken == undefined || referalToken == '') { |
679 | $('.referel-icon').css('background-color', 'rgb(102, 102, 102)'); | 704 | $('.referel-icon').css('background-color', 'rgb(102, 102, 102)'); |
680 | }else { | 705 | }else { |
681 | $('.referel-icon').css('background-color', 'rgb(66, 181, 73)'); | 706 | $('.referel-icon').css('background-color', 'rgb(66, 181, 73)'); |
682 | } | 707 | } |
683 | } | 708 | } |
684 | 709 | ||
685 | }); | 710 | }); |
686 | 711 | ||
687 | scotchApp.controller('verifyController', function($scope, $http, $location, $route,BASE_URL) { | 712 | scotchApp.controller('verifyController', function($scope, $http, $location, $route,BASE_URL) { |
688 | $scope.pendingPaymentId = $route.current.params.id | 713 | $scope.pendingPaymentId = $route.current.params.id |
689 | $http({ | 714 | $http({ |
690 | method: "GET", | 715 | method: "GET", |
691 | url: BASE_URL + '/applicants/' + $scope.pendingPaymentId, | 716 | url: BASE_URL + '/applicants/' + $scope.pendingPaymentId, |
692 | }).then(function mySuccess(response) { | 717 | }).then(function mySuccess(response) { |
693 | $scope.data = response.data; | 718 | $scope.data = response.data; |
694 | console.log("response-1", response); | 719 | console.log("response-1", response); |
695 | $scope.pendingPaymentId = $route.current.params.id; | 720 | $scope.pendingPaymentId = $route.current.params.id; |
696 | 721 | ||
697 | $http({ | 722 | $http({ |
698 | method: "GET", | 723 | method: "GET", |
699 | url: BASE_URL + '/payments?filter={"where":{"applicantId":' + $scope.pendingPaymentId + '}}', | 724 | url: BASE_URL + '/payments?filter={"where":{"applicantId":' + $scope.pendingPaymentId + '}}', |
700 | }).then(function mySuccess(response) { | 725 | }).then(function mySuccess(response) { |
701 | $scope.paymentRecord = response.data; | 726 | $scope.paymentRecord = response.data; |
702 | }, function myError(response) { | 727 | }, function myError(response) { |
703 | }); | 728 | }); |
704 | }, function myError(response) { | 729 | }, function myError(response) { |
705 | $scope.myWelcome = response.statusText; | 730 | $scope.myWelcome = response.statusText; |
706 | }); | 731 | }); |
707 | 732 | ||
708 | $scope.checkView = false; | 733 | $scope.checkView = false; |
709 | $scope.verifyView = false; | 734 | $scope.verifyView = false; |
710 | 735 | ||
711 | $scope.pendingPaymentId = ''; | 736 | $scope.pendingPaymentId = ''; |
712 | 737 | ||
713 | $scope.update = function() { | 738 | $scope.update = function() { |
714 | 739 | ||
715 | $http({ | 740 | $http({ |
716 | method: 'GET', | 741 | method: 'GET', |
717 | url: BASE_URL + '/payments?filter={"where":{"applicantId": ' + $scope.pendingPaymentId + '}}', | 742 | url: BASE_URL + '/payments?filter={"where":{"applicantId": ' + $scope.pendingPaymentId + '}}', |
718 | headers: {} | 743 | headers: {} |
719 | }).then(function mySuccess(searchResult) { | 744 | }).then(function mySuccess(searchResult) { |
720 | if (searchResult.data[0].status == "created") { | 745 | if (searchResult.data[0].status == "created") { |
721 | //if (searchResult.data[0].status == "cancelled") { | 746 | //if (searchResult.data[0].status == "cancelled") { |
722 | $scope.checkView = true; | 747 | $scope.checkView = true; |
723 | $scope.verifyView = false; | 748 | $scope.verifyView = false; |
724 | $scope.amount = searchResult.data[0].amount; | 749 | $scope.amount = searchResult.data[0].amount; |
725 | $scope.searchResult = searchResult.data[0]; | 750 | $scope.searchResult = searchResult.data[0]; |
726 | console.log('====searchResult===', searchResult); | 751 | console.log('====searchResult===', searchResult); |
727 | console.log("searchResult=====",searchResult.data[0].razorOrderId) | 752 | console.log("searchResult=====",searchResult.data[0].razorOrderId) |
728 | var i = 0; | 753 | var i = 0; |
729 | $scope.amount = $scope.amount * 100; | 754 | $scope.amount = $scope.amount * 100; |
730 | var options = { | 755 | var options = { |
731 | "key": "rzp_live_mhSE1uOBlXvFyJ", | 756 | "key": "rzp_live_mhSE1uOBlXvFyJ", |
732 | //"key" : "rzp_test_YwHsVFiDIQ2WUQ", | 757 | //"key" : "rzp_test_YwHsVFiDIQ2WUQ", |
733 | "amount": $scope.amount, | 758 | "amount": $scope.amount, |
734 | 759 | ||
735 | "name": "Startup Jalsa", | 760 | "name": "Startup Jalsa", |
736 | "description": "amount", | 761 | "description": "amount", |
737 | "currency": "INR", | 762 | "currency": "INR", |
738 | "status": "done", | 763 | "status": "done", |
739 | 764 | ||
740 | "theme": { | 765 | "theme": { |
741 | "color": "#2196f3 ", | 766 | "color": "#2196f3 ", |
742 | "image_padding": "NO" | 767 | "image_padding": "NO" |
743 | }, | 768 | }, |
744 | "modal": { | 769 | "modal": { |
745 | "ondismiss": function() {} | 770 | "ondismiss": function() {} |
746 | }, | 771 | }, |
747 | "handler": function(response) { | 772 | "handler": function(response) { |
748 | createPayment(response); | 773 | createPayment(response); |
749 | } | 774 | } |
750 | }; | 775 | }; |
751 | var rzp1 = new Razorpay(options); | 776 | var rzp1 = new Razorpay(options); |
752 | rzp1.open(); | 777 | rzp1.open(); |
753 | $scope.paymentResponse = {}; | 778 | $scope.paymentResponse = {}; |
754 | function createPayment(response) { | 779 | function createPayment(response) { |
755 | $scope.amount = $scope.amount / 100; | 780 | $scope.amount = $scope.amount / 100; |
756 | console.log("response======retepaymen",response); | 781 | console.log("response======retepaymen",response); |
757 | $scope.paymentResponse.razorPaymentId = response.razorpay_payment_id; | 782 | $scope.paymentResponse.razorPaymentId = response.razorpay_payment_id; |
758 | $scope.paymentResponse.razorOrderId = $scope.searchResult.razorOrderId; | 783 | $scope.paymentResponse.razorOrderId = $scope.searchResult.razorOrderId; |
759 | $scope.paymentResponse.amount = $scope.amount; | 784 | $scope.paymentResponse.amount = $scope.amount; |
760 | $scope.paymentResponse.currency = $scope.searchResult.currency; | 785 | $scope.paymentResponse.currency = $scope.searchResult.currency; |
761 | $scope.paymentResponse.status = $scope.searchResult.status; | 786 | $scope.paymentResponse.status = $scope.searchResult.status; |
762 | $scope.paymentResponse.applicantId = $scope.searchResult.applicantId; | 787 | $scope.paymentResponse.applicantId = $scope.searchResult.applicantId; |
763 | console.log("$scope.paymentResponse", $scope.paymentResponse) | 788 | console.log("$scope.paymentResponse", $scope.paymentResponse) |
764 | $http({ | 789 | $http({ |
765 | method: 'PUT', | 790 | method: 'PUT', |
766 | url: BASE_URL + '/payments/' + $scope.searchResult.id, | 791 | url: BASE_URL + '/payments/' + $scope.searchResult.id, |
767 | data: $scope.paymentResponse, | 792 | data: $scope.paymentResponse, |
768 | headers: {} | 793 | headers: {} |
769 | }).then(function mySuccess(searchResult) { | 794 | }).then(function mySuccess(searchResult) { |
770 | console.log("finalsearchResult",searchResult) | 795 | console.log("finalsearchResult",searchResult) |
771 | $location.path("/confirmation") | 796 | $location.path("/confirmation") |
772 | }, function myError(error) { | 797 | }, function myError(error) { |
773 | 798 | ||
774 | }); | 799 | }); |
775 | } | 800 | } |
776 | } else { | 801 | } else { |
777 | 802 | ||
778 | } | 803 | } |
779 | 804 | ||
780 | }, function myError(error) {}); | 805 | }, function myError(error) {}); |
781 | } | 806 | } |
782 | }); | 807 | }); |
783 | 808 | ||
784 | scotchApp.controller('ambassadorController', function($scope, $http, $location, $route,BASE_URL) { | 809 | scotchApp.controller('ambassadorController', function($scope, $http, $location, $route,BASE_URL) { |
785 | $scope.data = {}; | 810 | $scope.data = {}; |
786 | $scope.check = false; | 811 | $scope.check = false; |
787 | $scope.numberCheck = false; | 812 | $scope.numberCheck = false; |
788 | 813 | ||
789 | /*open videos in modal*/ | 814 | /*open videos in modal*/ |
790 | $scope.openyoutube16 = function(){ | 815 | $scope.openyoutube16 = function(){ |
791 | $('#videoModel').modal('show'); | 816 | $('#videoModel').modal('show'); |
792 | } | 817 | } |
793 | 818 | ||
794 | $scope.openyoutube17 = function(){ | 819 | $scope.openyoutube17 = function(){ |
795 | $('#videoModels').modal('show'); | 820 | $('#videoModels').modal('show'); |
796 | } | 821 | } |
797 | 822 | ||
798 | $scope.closeModal = function(){ | 823 | $scope.closeModal = function(){ |
799 | var url = $('#youtubePlayer').attr('src'); | 824 | var url = $('#youtubePlayer').attr('src'); |
800 | $('#youtubePlayer').attr('src', ''); | 825 | $('#youtubePlayer').attr('src', ''); |
801 | $('#youtubePlayer').attr('src', url); | 826 | $('#youtubePlayer').attr('src', url); |
802 | } | 827 | } |
803 | /*open videos ends here*/ | 828 | /*open videos ends here*/ |
804 | 829 | ||
805 | $scope.removeError = function() { | 830 | $scope.removeError = function() { |
806 | console.log("doooo") | 831 | console.log("doooo") |
807 | $('#invalidEmail').css('display', 'none'); | 832 | $('#invalidEmail').css('display', 'none'); |
808 | $('#alreadyExist').css('display', 'none'); | 833 | $('#alreadyExist').css('display', 'none'); |
809 | }; | 834 | }; |
810 | 835 | ||
811 | $scope.emailcheck = function(val) { | 836 | $scope.emailcheck = function(val) { |
812 | consol.log("kdsbd") | 837 | consol.log("kdsbd") |
813 | $scope.space = /\s/g.test(val); | 838 | $scope.space = /\s/g.test(val); |
814 | console.log("space",$scope.space) | 839 | console.log("space",$scope.space) |
815 | if (val == undefined) { | 840 | if (val == undefined) { |
816 | $('#invalidEmail').css('display', 'block'); | 841 | $('#invalidEmail').css('display', 'block'); |
817 | } else { | 842 | } else { |
818 | $http({ | 843 | $http({ |
819 | method: 'GET', | 844 | method: 'GET', |
820 | url: BASE_URL + '/ambassadors?filter={"where": {"email": {"like":"%25' + $scope.data.email + '%25"}}}', | 845 | url: BASE_URL + '/ambassadors?filter={"where": {"email": {"like":"%25' + $scope.data.email + '%25"}}}', |
821 | headers: {} | 846 | headers: {} |
822 | }).then(function mySuccess(searchResult) { | 847 | }).then(function mySuccess(searchResult) { |
823 | console.log("searchResult1===>", searchResult) | 848 | console.log("searchResult1===>", searchResult) |
824 | if (searchResult.data.length == 0) { | 849 | if (searchResult.data.length == 0) { |
825 | $scope.check = false; | 850 | $scope.check = false; |
826 | } else { | 851 | } else { |
827 | $scope.check = true; | 852 | $scope.check = true; |
828 | $('#alreadyExist').css('display', 'block'); | 853 | $('#alreadyExist').css('display', 'block'); |
829 | } | 854 | } |
830 | }, function myError(error) {}); | 855 | }, function myError(error) {}); |
831 | } | 856 | } |
832 | }; | 857 | }; |
833 | 858 | ||
834 | $scope.removeNoError = function() { | 859 | $scope.removeNoError = function() { |
835 | $('#invalidNumber').css('display', 'none'); | 860 | $('#invalidNumber').css('display', 'none'); |
836 | $('#noExist').css('display', 'none'); | 861 | $('#noExist').css('display', 'none'); |
837 | }; | 862 | }; |
838 | 863 | ||
839 | $scope.numbercheck = function(number) { | 864 | $scope.numbercheck = function(number) { |
840 | // if (val == undefined) { | 865 | // if (val == undefined) { |
841 | // $('#invalidNumber').css('display', 'block'); | 866 | // $('#invalidNumber').css('display', 'block'); |
842 | // } else { | 867 | // } else { |
843 | $http({ | 868 | $http({ |
844 | method: 'GET', | 869 | method: 'GET', |
845 | url: BASE_URL + '/ambassadors?filter={"where": {"mobile": {"like":"%25' + number + '%25"}}}', | 870 | url: BASE_URL + '/ambassadors?filter={"where": {"mobile": {"like":"%25' + number + '%25"}}}', |
846 | data: $scope.data, | 871 | data: $scope.data, |
847 | headers: {} | 872 | headers: {} |
848 | }).then(function mySuccess(searchResult) { | 873 | }).then(function mySuccess(searchResult) { |
849 | console.log("searchResult===>", searchResult) | 874 | console.log("searchResult===>", searchResult) |
850 | if (searchResult.data.length == 0) { | 875 | if (searchResult.data.length == 0) { |
851 | $scope.numberCheck = false; | 876 | $scope.numberCheck = false; |
852 | } else { | 877 | } else { |
853 | $scope.numberCheck = true; | 878 | $scope.numberCheck = true; |
854 | $('#noExist').css('display', 'block'); | 879 | $('#noExist').css('display', 'block'); |
855 | } | 880 | } |
856 | }, function myError(error) {}); | 881 | }, function myError(error) {}); |
857 | //} | 882 | //} |
858 | 883 | ||
859 | }; | 884 | }; |
860 | 885 | ||
861 | $scope.submit = function() { | 886 | $scope.submit = function() { |
862 | console.log($scope.data.name) | 887 | console.log($scope.data.name) |
863 | var randomNumber = ""+Math.random(); | 888 | var randomNumber = ""+Math.random(); |
864 | var nameSpliced = $scope.data.name.slice(0,3); | 889 | var nameSpliced = $scope.data.name.slice(0,3); |
865 | var numberSpliced = randomNumber.slice(2,5); | 890 | var numberSpliced = randomNumber.slice(2,5); |
866 | $scope.data.referalToken = nameSpliced+numberSpliced; | 891 | $scope.data.referalToken = nameSpliced+numberSpliced; |
867 | $scope.data.referalToken = $scope.data.referalToken.toUpperCase(); | 892 | $scope.data.referalToken = $scope.data.referalToken.toUpperCase(); |
868 | 893 | ||
869 | $http({ | 894 | $http({ |
870 | method: 'POST', | 895 | method: 'POST', |
871 | url: BASE_URL + '/ambassadors', | 896 | url: BASE_URL + '/ambassadors', |
872 | data: $scope.data, | 897 | data: $scope.data, |
873 | headers: {} | 898 | headers: {} |
874 | }).then(function mySuccess(result) { | 899 | }).then(function mySuccess(result) { |
875 | console.log("result", result) | 900 | console.log("result", result) |
876 | $scope.detail = result; | 901 | $scope.detail = result; |
877 | $('#myModal').modal('show'); | 902 | $('#myModal').modal('show'); |
878 | $scope.data.name = ''; | 903 | $scope.data.name = ''; |
879 | $scope.data.email = ''; | 904 | $scope.data.email = ''; |
880 | $scope.data.mobile = ''; | 905 | $scope.data.mobile = ''; |
881 | 906 | ||
882 | }, function myError(error) { | 907 | }, function myError(error) { |
883 | console.log(error) | 908 | console.log(error) |
884 | console.log(error.data.error.message) | 909 | console.log(error.data.error.message) |
885 | }); | 910 | }); |
886 | console.log($scope.data) | 911 | console.log($scope.data) |
887 | } | 912 | } |
888 | }); | 913 | }); |
889 | 914 | ||
890 | 915 | ||
891 | 916 | ||
892 | 917 |