Subversion Repositories SmartDukaan

Rev

Rev 27886 | Rev 27888 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 27886 Rev 27887
Line 28... Line 28...
28
    <link href="resources/css/jquery-ui-1.10.4.min.css" rel="stylesheet">
28
    <link href="resources/css/jquery-ui-1.10.4.min.css" rel="stylesheet">
29
    <link type="text/css" href="resources/css/bootstrap.css" rel="stylesheet">
29
    <link type="text/css" href="resources/css/bootstrap.css" rel="stylesheet">
30
    <!--<link rel="stylesheet" type="text/css" href="//cdn.jsdelivr.net/bootstrap/3/css/bootstrap.css" />-->
30
    <!--<link rel="stylesheet" type="text/css" href="//cdn.jsdelivr.net/bootstrap/3/css/bootstrap.css" />-->
31
    <link href="resources/css/bootstrap-theme.min.css" rel="stylesheet">
31
    <link href="resources/css/bootstrap-theme.min.css" rel="stylesheet">
32
    <link rel="stylesheet" type="text/css" href="//cdn.jsdelivr.net/npm/daterangepicker/daterangepicker.css"/>
32
    <link rel="stylesheet" type="text/css" href="//cdn.jsdelivr.net/npm/daterangepicker/daterangepicker.css"/>
33
    <link rel="stylesheet" type="text/css" href="resources/js/chosen.min.css"/>
-
 
34
 
33
 
35
    <link rel="stylesheet" type="text/css" href="resources/css/bootstrap-multiselect.css"/>
34
    <link rel="stylesheet" type="text/css" href="resources/css/bootstrap-multiselect.css"/>
36
    <link rel="stylesheet" type="text/css" href="//cdn.datatables.net/1.10.16/css/dataTables.bootstrap.min.css"/>
35
    <link rel="stylesheet" type="text/css" href="//cdn.datatables.net/1.10.16/css/dataTables.bootstrap.min.css"/>
37
    <link rel='stylesheet' href='https://use.fontawesome.com/releases/v5.7.0/css/all.css'
36
    <link rel='stylesheet' href='https://use.fontawesome.com/releases/v5.7.0/css/all.css'
38
          integrity='sha384-lZN37f5QGtY3VHgisS14W3ExzMWZxybE1SJSEsQp9S+oqd12jhcu+A56Ebc1zFSJ' crossorigin='anonymous'>
37
          integrity='sha384-lZN37f5QGtY3VHgisS14W3ExzMWZxybE1SJSEsQp9S+oqd12jhcu+A56Ebc1zFSJ' crossorigin='anonymous'>
Line 773... Line 772...
773
                                    <h3 style="margin-top:-2px;margin-bottom:12px"><strong>Investments</strong></h3>
772
                                    <h3 style="margin-top:-2px;margin-bottom:12px"><strong>Investments</strong></h3>
774
                                    <div class="row">
773
                                    <div class="row">
775
                                        <div class="col-lg-4 row">
774
                                        <div class="col-lg-4 row">
776
                                            <div style="margin-top:0px" class="count currency">$investments.get(
775
                                            <div style="margin-top:0px" class="count currency">$investments.get(
777
                                                "today")</div>
776
                                                "today")</div>
-
 
777
                                            <div class="title">current</div>                          			
-
 
778
                                            <div class="col-lg-1 row" style="margin-left: -20px;margin-top: -6px;">
-
 
779
			                                    <i class="fk_more fa fa-angle-double-down flash" id="purple-dropdown"
-
 
780
            			                         style="cursor:pointer;font-size: 27px;width: 145px;height: 27px;margin-top: 0px;color: rgba(255, 255, 255, 0.75);line-height: 4px;"></i>
-
 
781
                        			         </div>
-
 
782
										</div>
-
 
783
 
-
 
784
                                <div class="col-lg-3">
-
 
785
                                    <div style="margin-top:0px" class="count">$investments.get("minimum")</div>
778
                                            <div class="title">current</div>
786
                                    <div class="title">min</div>
779
                                        </div>
787
                                </div>
780
                                        <div class="col-lg-3">
788
                                        <div class="col-lg-3">
781
                                            <div style="margin-top:0px" class="count">$investments.get("minimum")</div>
789
                                            <div style="margin-top:0px" class="count">$investments.get("minimum")</div>
782
                                            <div class="title">min</div>
790
                                            <div class="title">min</div>
783
                                        </div>
791
                                        </div>
784
                                        <div class="col-lg-3 row"
792
                                        <div class="col-lg-3 row"
Line 795... Line 803...
795
                                                </div>
803
                                                </div>
796
                                                <div class="title">short</div>
804
                                                <div class="title">short</div>
797
                                            #end
805
                                            #end
798
                                        </div>
806
                                        </div>
799
                                    </div>
807
                                    </div>
-
 
808
                            		<div class="row investmentContainer" style="margin:5px">
-
 
809
	                            	</div>
800
                                </div>
810
                                </div>
801
                            </div>
811
                            </div>
802
                        </div>
812
                        </div>
803
                        <div class="col-lg-4 row">
813
                        <div class="col-lg-4 row">
804
                            <div class="info-box green-bg">
814
                            <div class="info-box green-bg">
Line 952... Line 962...
952
                }
962
                }
953
                salesCloseFlag = !salesCloseFlag;
963
                salesCloseFlag = !salesCloseFlag;
954
            });
964
            });
955
        });
965
        });
956
 
966
 
-
 
967
        $(document).ready(function () {
-
 
968
            var investmentCloseFlag = true;
-
 
969
            $("#purple-dropdown").click(function () {
-
 
970
                console.log('hello');
-
 
971
                $(".flash").stop();
-
 
972
                // console.log("clicked");
-
 
973
                if (investmentCloseFlag) {
-
 
974
                    var containerWidth = $(".purple-bg").width()
-
 
975
                    doGetAjaxRequestHandler(context + "/investmentDetails", function (response) {
-
 
976
                        $('.investmentContainer').html(response);
-
 
977
                        $(".purple-bg").css({"position": "absolute", "z-index": "10"}).width(containerWidth);
-
 
978
                    });
-
 
979
                } else {
-
 
980
                    $(".purple-bg").removeAttr('style');
-
 
981
                    $('.investmentContainer').html('');
-
 
982
                }
-
 
983
                investmentCloseFlag = !investmentCloseFlag;
-
 
984
            });
-
 
985
        });
-
 
986
 
957
 
987
 
958
        $(document).on("click", "#description-offer",
988
        $(document).on("click", "#description-offer",
959
                function (e) {
989
                function (e) {
960
                    var offerid = $(this).data('offerid');
990
                    var offerid = $(this).data('offerid');
961
                    console.log(offerid);
991
                    console.log(offerid);