File size: 25,120 Bytes
534863f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
27a7270
534863f
27a7270
534863f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
27a7270
534863f
 
 
 
 
 
 
 
 
 
 
27a7270
534863f
27a7270
534863f
 
 
 
 
 
27a7270
534863f
 
 
 
 
 
 
 
 
 
 
 
 
27a7270
534863f
27a7270
534863f
 
 
 
 
27a7270
534863f
 
 
 
 
27a7270
534863f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
27a7270
534863f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
27a7270
534863f
 
 
 
 
 
 
 
 
 
 
27a7270
 
 
 
 
534863f
 
 
 
 
 
 
 
 
 
 
 
7100756
534863f
 
 
7100756
534863f
 
 
 
 
 
 
 
7100756
534863f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7100756
534863f
7100756
534863f
 
 
 
 
 
 
7100756
534863f
7100756
534863f
 
 
 
 
 
 
7100756
534863f
7100756
534863f
 
 
 
 
7100756
534863f
 
 
 
7100756
 
 
 
 
 
 
 
 
 
 
 
534863f
 
 
 
 
 
4a10510
 
 
 
 
 
 
 
 
 
 
7100756
4a10510
534863f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7100756
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4a10510
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7100756
 
4a10510
 
 
 
 
 
 
 
 
534863f
 
 
 
 
7100756
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">

<title>BLUE AI</title>

<!-- Fav Icon -->
<link rel="icon" href="../static/images/favicon.ico" type="image/x-icon">

<!-- Google Fonts -->
<link href="https://fonts.googleapis.com/css2?family=Manrope:wght@200;300;400;500;600;700;800&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap" rel="stylesheet">

<!-- Stylesheets -->
<link href="../static/css/font-awesome-all.css" rel="stylesheet">
<link href="../static/css/flaticon.css" rel="stylesheet">
<link href="../static/css/owl.css" rel="stylesheet">
<link href="../static/css/bootstrap.css" rel="stylesheet">
<link href="../static/css/jquery.fancybox.min.css" rel="stylesheet">
<link href="../static/css/animate.css" rel="stylesheet">
<link href="../static/css/elpath.css" rel="stylesheet">
<link href="../static/css/color/theme-color.css" id="jssDefault" rel="stylesheet">
<link href="../static/css/switcher-style.css" rel="stylesheet">
<link href="../static/css/rtl.css" rel="stylesheet">
<link href="../static/css/style.css" rel="stylesheet">
<link href="../static/css/module-css/page-title.css" rel="stylesheet">
<link href="../static/css/module-css/contact.css" rel="stylesheet">
<link href="../static/css/module-css/subscribe.css" rel="stylesheet">
<link href="../static/css/responsive.css" rel="stylesheet">

</head>


<!-- page wrapper -->
<body>

    <div class="boxed_wrapper ltr">



        <!-- preloader -->
        <div class="loader-wrap">
            <div class="preloader">
                <div class="preloader-close">close</div>
                <div id="handle-preloader" class="handle-preloader">
                    <div class="animation-preloader">
                        <div class="spinner"></div>
                        <div class="txt-loading">
                            <span data-text-preloader="b" class="letters-loading">
                                b
                            </span>
                            <span data-text-preloader="l" class="letters-loading">
                                l
                            </span>
                            <span data-text-preloader="u" class="letters-loading">
                                u
                            </span>
                            <span data-text-preloader="e" class="letters-loading">
                                e
                            </span>
                            <span data-text-preloader="a" class="letters-loading">
                                a
                            </span>
                            <span data-text-preloader="i" class="letters-loading">
                                i
                            </span>
                        </div>
                    </div>  
                </div>
            </div>
        </div>
        <!-- preloader end -->


        <!-- page-direction -->
        <div class="page_direction">
            <div class="demo-rtl direction_switch"><button class="rtl">RTL</button></div>
            <div class="demo-ltr direction_switch"><button class="ltr">LTR</button></div>
        </div>
        <!-- page-direction end -->


        <!-- switcher menu -->
        <div class="switcher">
            <div class="switch_btn">
                <button><i class="fas fa-palette"></i></button>
            </div>
            <div class="switch_menu">
                <!-- color changer -->
                <div class="switcher_container">
                    <ul id="styleOptions" title="switch styling">
                        <li>
                            <a href="javascript: void(0)" data-theme="theme-color" class="theme-color"></a>
                        </li>
                        <li>
                            <a href="javascript: void(0)" data-theme="pink" class="pink-color"></a>
                        </li>
                        <li>
                            <a href="javascript: void(0)" data-theme="violet" class="violet-color"></a>
                        </li>
                        <li>
                            <a href="javascript: void(0)" data-theme="crimson" class="crimson-color"></a>
                        </li>
                        <li>
                            <a href="javascript: void(0)" data-theme="orange" class="orange-color"></a>
                        </li>
                    </ul>
                </div> 
            </div>
        </div>
        <!-- end switcher menu -->


        <!-- main header -->
        <header class="main-header">
            <!-- header-top -->
            <div class="header-top">
                <div class="large-container">
                    <div class="top-inner">
                        <ul class="links-list clearfix">
                            <li><a href="/">Home</a></li>
                            <li><a href="newGame.html">Start New Game</a></li>
                            <li><a href="/">Contact Us</a></li>
                        </ul>
                        <ul class="info-list clearfix"> 
                            <li>
                                <i class="icon-1"></i>
                                <a href="mailto:[email protected]">[email protected]</a>
                            </li>
                        </ul>
                    </div>
                </div>
            </div>
            <!-- header-lower -->
            <div class="header-lower">
                <div class="large-container">
                    <div class="outer-box">
                        <div class="logo-box">
                            <div class="shape"></div>
                            <figure class="logo"><a href="/"><img src="../static/images/logo.png" alt=""></a></figure>
                        </div>
                        <div class="menu-area">
                            <!--Mobile Navigation Toggler-->
                            <div class="mobile-nav-toggler">
                                <i class="icon-bar"></i>
                                <i class="icon-bar"></i>
                                <i class="icon-bar"></i>
                            </div>
                            <nav class="main-menu navbar-expand-md navbar-light clearfix">
                                <div class="collapse navbar-collapse show clearfix" id="navbarSupportedContent">
                                    <ul class="navigation clearfix">
                                        <li class="dropdown"><a href="/">Home</a>
                                            <ul>
                                                <li><a href="/">Home Page One</a></li>
                                                <li><a href="index-2.html">Home Page Two</a></li>
                                                <li><a href="index-3.html">Home Page Three</a></li>
                                                <li><a href="index-onepage.html">OnePage Home</a></li>
                                            </ul>
                                        </li> 
                                        <li><a href="about.html">About</a></li>
                                        <li class="dropdown"><a href="/">Services</a>
                                            <ul>
                                                <li><a href="service.html">Our Services</a></li>
                                                <li><a href="service-2.html">Our Services 2</a></li>
                                                <li><a href="service-details.html">Digital Banking</a></li>
                                                <li><a href="service-details-2.html">Mobile & Web Banking</a></li>
                                                <li><a href="service-details-3.html">Insurance Policies</a></li>
                                                <li><a href="service-details-4.html">Home & Property Loan</a></li>
                                                <li><a href="service-details-5.html">All Bank Account</a></li>
                                                <li><a href="service-details-6.html">Borrowing Accounts</a></li>
                                                <li><a href="service-details-7.html">Private Banking</a></li>
                                                <li><a href="service-details-8.html">Fixed Term Account</a></li>
                                            </ul>
                                        </li> 
                                        <li class="dropdown"><a href="/">Pages</a>
                                            <ul>
                                                <li class="dropdown"><a href="/">Directors</a>
                                                    <ul>
                                                        <li><a href="team.html">Board of Directors</a></li>
                                                        <li><a href="team-details.html">Director Details</a></li>
                                                    </ul>
                                                </li>
                                                <li class="dropdown"><a href="/">Career</a>
                                                    <ul>
                                                        <li><a href="career.html">Career Page</a></li>
                                                        <li><a href="career-details.html">Career Details</a></li>
                                                    </ul>
                                                </li>
                                                <li class="dropdown"><a href="/">Blog</a>
                                                    <ul>
                                                        <li><a href="blog.html">Blog Grid</a></li>
                                                        <li><a href="blog-2.html">Blog Image</a></li>
                                                        <li><a href="blog-3.html">Blog Standard</a></li>
                                                        <li><a href="blog-details.html">Blog Details</a></li>
                                                    </ul>
                                                </li>
                                                <li><a href="currency.html">Currency Exchange</a></li>
                                                <li><a href="credit-cards.html">Credit Cards</a></li>
                                                <li><a href="faq.html">General FAQ’s</a></li>
                                                <li><a href="error.html">404 Error</a></li>
                                            </ul>
                                        </li> 
                                        <li class="current"><a href="contact.html">Contact</a></li> 
                                    </ul>
                                </div>
                            </nav>
                            <div class="menu-right-content ml_70">
                                <a href="/login" class="theme-btn btn-two mr_20">Login</a>
                                <a href="/register" class="theme-btn btn-one">Register Your Team</a>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

            <!--sticky Header-->
            <div class="sticky-header">
                <div class="large-container">
                    <div class="outer-box">
                        <div class="logo-box">
                            <div class="shape"></div>
                            <figure class="logo"><a href="/"><img src="../static/images/logo.png" alt=""></a></figure>
                        </div>
                        <div class="menu-area">
                            <nav class="main-menu clearfix">
                                <!--Keep This Empty / Menu will come through Javascript-->
                            </nav>
                            <div class="menu-right-content ml_70">
                                <a href="/login" class="theme-btn btn-two mr_20">Login</a>
                                <a href="/register" class="theme-btn btn-one">Register Your Team</a>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </header>
        <!-- main-header end -->


        <!-- Mobile Menu  -->
        <div class="mobile-menu">
            <div class="menu-backdrop"></div>
            <div class="close-btn"><i class="fas fa-times"></i></div>
            
            <nav class="menu-box">
                <div class="nav-logo"><a href="/"><img src="../static/images/logo.png" alt="" title=""></a></div>
                <div class="menu-outer"><!--Here Menu Will Come Automatically Via Javascript / Same Menu as in Header--></div>
                <div class="contact-info">
                    <h4>Contact Info</h4>
                    <ul>
                        <li>Chicago 12, Melborne City, USA</li>
                        <li><a href="tel:+8801682648101">+88 01682648101</a></li>
                        <li><a href="mailto:[email protected]">[email protected]</a></li>
                    </ul>
                </div>
                <div class="social-links">
                    <ul class="clearfix">
                        <li><a href="/"><span class="fab fa-twitter"></span></a></li>
                        <li><a href="/"><span class="fab fa-facebook-square"></span></a></li>
                        <li><a href="/"><span class="fab fa-pinterest-p"></span></a></li>
                        <li><a href="/"><span class="fab fa-instagram"></span></a></li>
                        <li><a href="/"><span class="fab fa-youtube"></span></a></li>
                    </ul>
                </div>
            </nav>
        </div><!-- End Mobile Menu -->

        <!-- contact-section -->
        <section class="contact-section pt_120 pb_120">
            <div class="auto-container">
                <div class="sec-title centred mb_70">
                    <h2>Proposition Evaluation Game</h2>
                </div>
                <div class="form-inner">
                    <form class="default-form" id="generate-proposition-form" name="generate-proposition-form"> 
                        <div class="row clearfix">
                            <div class="col-lg-12 col-md-12 col-sm-12 form-group">
                                <div class="select-box">
                                    <select class="wide" name="city">
                                       <option data-display="Select Town">Select Town</option>
                                       <option value="CharlesTown">CharlesTown</option>
                                       <option value="Limburg">Limburg</option>
                                    </select>
                                </div>                               
                            </div>
                            <div class="col-lg-12 col-md-12 col-sm-12 form-group">
                                <div class="select-box">
                                    <select class="wide" name="productType">
                                       <option data-display="Select Product">Select Product</option>
                                       <option value="Curent">Curent</option>
                                       <option value="Mortgage">Mortgage</option>
                                       <option value="Credit Card">Credit Card</option>
                                       <option value="Crypto">Crypto</option>
                                    </select>
                                </div> 
                            </div>
                            <div class="col-lg-12 col-md-12 col-sm-12 form-group">
                                <input type="number" name="subcount1" min="0" required="" placeholder="Please enter your subscriber take up target for year 1">
                            </div>
                            <div class="col-lg-12 col-md-12 col-sm-12 form-group">
                                <input type="number" name="subcount2" min="0" required="" placeholder="Please enter your subscriber take up target for year 2">
                            </div>
                            <div class="col-lg-12 col-md-12 col-sm-12 form-group">
                                <input type="number" name="subcount3" min="0" required="" placeholder="Please enter your subscriber take up target for year 3">
                            </div>
                            <div class="col-lg-12 col-md-12 col-sm-12 form-group">
                                <input type="text" name="productName" required="" placeholder="Please enter your product name">
                            </div>
                            <div class="col-lg-12 col-md-12 col-sm-12 form-group">
                                <div><span>Please select top 3 money needs that you are targeting for your customer</span></div>
                                <select class="wide form-select needs" name="moneyNeeds" multiple>
                                    {%for need in moneyNeeds%} 
                                    <option value="{{ need }}">{{need}}</option>
                                    {%endfor%}                                    
                                </select>
                                
                            </div>

                            <div class="col-lg-12 col-md-12 col-sm-12 form-group">
                                <div><span>Please select top 3 customer experience needs that you are targeting for your customer</span></div>
                                <select class="wide form-select needs" name="customerExpNeeds" multiple>
                                    {%for need in customerExpNeeds%} 
                                    <option value="{{ need }}">{{need}}</option>
                                    {%endfor%}                                    
                                </select>
                                
                            </div>

                            <div class="col-lg-12 col-md-12 col-sm-12 form-group">
                                <div><span>Please select top 3 sustainability needs that you are targeting for your customer</span></div>
                                <select class="wide form-select needs" name="sustainabilityNeeds" multiple>
                                    {%for need in sustainabilityNeeds%} 
                                    <option value="{{ need }}">{{need}}</option>
                                    {%endfor%}                                    
                                </select>
                                
                            </div>
                            <div class="col-lg-12 col-md-12 col-sm-12 form-group message-btn centred">
                                <button class="theme-btn btn-one" type="submit" name="generate-proposition" id="generate-proposition">Generate Sample Proposition</button>
                            </div>
                        </div>
                    </form>
                </div>
                <div class="form-inner">
                    <form id="submit-proposition-form" style="display: none;"> 
                        <div class="row clearfix">
                            <div class="col-lg-12 col-md-12 col-sm-12 form-group">
                                <textarea name="proposition" id="proposition"></textarea>
                            </div>
                            <div class="col-lg-12 col-md-12 col-sm-12 form-group message-btn centred">
                                <button class="theme-btn btn-one" type="submit" name="submit-proposition" id="submit-proposition">Submit Proposition</button>
                            </div>
                        </div>
                    </form> 
                </div>
            </div>
        </section>
        <!-- contact-section end -->



        <div id="dialog-content" class="content_block_one" style="display:none;max-width:500px;">
            <div class="content-box ml_40" >
                <div class="sec-title mb_20">
                    <h6>Result</h2>
                </div>
                
                    <p class='text-box mb_40' id="result">
                    </p>
                    <p class="inner-box mb_45" id="subscriberDiff">
                    </p>
            </div>
          </div>
          <button id="modal-button" data-fancybox data-src="#dialog-content" hidden>Launch Dialog</button>   

        <!--Scroll to top-->
        <div class="scroll-to-top">
            <div>
                <div class="scroll-top-inner">
                    <div class="scroll-bar">
                        <div class="bar-inner"></div>
                    </div>
                    <div class="scroll-bar-text">Go To Top</div>
                </div>
            </div>
        </div>
        <!-- Scroll to top end -->
        
    </div>


    <!-- jequery plugins -->
    <script src="../static/js/jquery.js"></script>
    <script src="../static/js/bootstrap.min.js"></script>
    <script src="../static/js/owl.js"></script>
    <script src="../static/js/wow.js"></script>
    <script src="../static/js/validation.js"></script>
    <script src="../static/js/jquery.fancybox.js"></script>
    <script src="../static/js/appear.js"></script>
    <script src="../static/js/isotope.js"></script>
    <script src="../static/js/parallax-scroll.js"></script>
    <script src="../static/js/jQuery.style.switcher.min.js"></script>

    <!-- main-js -->
    <script src="../static/js/script.js"></script>
    <script>
          $(".needs").change(function () {
            if($(this).children("option:selected").length >= 3) {
                alert("You can only select maximum 3 options")
            }

            $("#generate-proposition").unbind().click( function (e) {
                e.preventDefault()
                
                 $.ajax({
                    type: 'POST',
                    async:false,
                    url: '/generate-proposition',
                    data: $('#generate-proposition-form').serialize(),
                    success: function(data){
                     $('#proposition').val(data)
                     $('#submit-proposition-form').css({"display": "block"})
                 }})
                
                                
            })

            
            $("#submit-proposition").unbind().click( function (e) {
                e.preventDefault()
                $.ajax({
                    type: 'POST',
                    async:false,
                    url: '/submit-proposition',
                    data: $('#generate-proposition-form').serialize()+"&"+$('#submit-proposition-form').serialize(),
                    success: function(data){
                        topologiesText = '<span>Overall your targeted demographic and proposition are focusing the three topologies below<span><br><ul>'
                        data['matchingTopologies'].forEach(element => {
                            topologiesText = topologiesText + '<li>'+element+'</li>'
                        });   
                        topologiesText = topologiesText + '</ul>'
                        topologiesText = topologiesText + '<br> For your proposition the total predicted subscriber take out count is '+ data['predictedSubscriberTakeOut']
                        $('#result').html(topologiesText)

                        if(data['subscriberDiff'] < 0) {
                            $('#subscriberDiff').html('Overall there is not a close match of your proposition to the main demographic. Takeout score difference = '+data['subscriberDiff'])
                        }
                        else if(data['subscriberDiff'] == 0) {
                            $('#subscriberDiff').html('Amazing! Your proposition  exactly match the target subscriber take oup for year 3')
                        }
                        else {
                            $('#subscriberDiff').html('Great Job! Your proposition exceeds the target subscriber take up for year 3. Additional takeout = '+data['subscriberDiff'])
                            
                        }
                        $('#modal-button').fancybox().trigger('click');


                 }})
            })

            /*
                   <div id="dialog-content" style="display:none;max-width:500px;">
            <h2>Result</h2>
            <p id="result">
            </p>
            <p id="subscriberDiff">
            </p>
          </div> 
            */
        });
    </script>

</body><!-- End of .page_wrapper -->
</html>