Subversion Repositories SmartDukaan

Rev

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

Rev 28413 Rev 28431
Line 846... Line 846...
846
                        </div>
846
                        </div>
847
                        
847
                        
848
                        <div class="col-lg-7">
848
                        <div class="col-lg-7">
849
                            <div class="info-box orange-bg" style="background-image: linear-gradient(#ff7f50 ,orange); box-shadow: 6px 5px 6px #ff7f50;">
849
                            <div class="info-box orange-bg" style="background-image: linear-gradient(#ff7f50 ,orange); box-shadow: 6px 5px 6px #ff7f50;">
850
                                <i class="fa fa-chart-line"></i>
850
                                <i class="fa fa-chart-line"></i>
851
                                <h3 style="margin-top:-2px;margin-bottom:12px"><strong>Online Order</strong></h3>
851
                                <h3 style="margin-top:-2px;margin-bottom:12px"><strong>Online Sales</strong></h3>
852
                                <div class="row">
852
                                <div class="row">
853
                                    <div class="col-lg-3 row" style="margin:5px">
853
                                    <div class="col-lg-3 row" style="margin:5px">
854
                                        <div style="margin-top:0px; margin-left:24px;"  class="count currency">$countOrder</div>
854
                                        <div style="margin-top:0px; margin-left:24px;"  class="count currency">$countOrder</div>
855
                                        <button style=" border-radius: 18px; background: navajowhite;">
855
                                        <button style=" border-radius: 18px; background: navajowhite;">
856
                                        <div class="title pending_order_dashboard"  style="cursor: pointer; color:black;">Pending Order</div>
856
                                        <div class="title pending_order_dashboard"  style="cursor: pointer; color:black;">Pending Order</div>
Line 971... Line 971...
971
                        <div class="row col-lg-12 info-box white-bg">
971
                        <div class="row col-lg-12 info-box white-bg">
972
                            #parse("dashboard-activated-imeis.vm")
972
                            #parse("dashboard-activated-imeis.vm")
973
                        </div>
973
                        </div>
974
                    #end
974
                    #end
975
                    <div class="row col-lg-12">
975
                    <div class="row col-lg-12">
-
 
976
                    <ul class="nav nav-tabs">
-
 
977
                      <li class="bar_chart"><a class="ba">Bar Graph</a></li>
976
                        <div class="chart-container" id="chart-container" style="position: relative; width:100%">
978
                      <li class="lms_line_chart"><a class="la">LMS Graph</a></li>
-
 
979
                     
-
 
980
                    </ul>
977
                            <canvas id="barchart" width="auto" height="auto"></canvas>
981
                         <div class="row ChartContainer" style="margin:5px">
978
                        </div>
982
                         
-
 
983
                                </div>
-
 
984
               
-
 
985
                        
979
                    </div>
986
                    </div>
980
                    
987
                    
981
                    
988
                   
982
               
989
               
983
                </div>
990
                </div>
984
            </div>
991
            </div>
985
            </div>
992
            </div>
986
        </section>
993
        </section>
Line 1020... Line 1027...
1020
            });
1027
            });
1021
        });
1028
        });
1022
        
1029
        
1023
 
1030
 
1024
  
1031
  
-
 
1032
  
1025
        $(document).ready(function () {
1033
        $(document).ready(function () {
-
 
1034
        
-
 
1035
        $(".bar_chart").click();
-
 
1036
        
1026
            var investmentCloseFlag = true;
1037
            var investmentCloseFlag = true;
1027
            $("#purple-dropdown").click(function () {
1038
            $("#purple-dropdown").click(function () {
1028
                console.log('hello');
1039
                console.log('hello');
1029
                $(".flash").stop();
1040
                $(".flash").stop();
1030
                // console.log("clicked");
1041
                // console.log("clicked");
Line 1040... Line 1051...
1040
                }
1051
                }
1041
                investmentCloseFlag = !investmentCloseFlag;
1052
                investmentCloseFlag = !investmentCloseFlag;
1042
            });
1053
            });
1043
        });
1054
        });
1044
 
1055
 
-
 
1056
       
-
 
1057
         
-
 
1058
        $(document).on("click", ".lms_line_chart",
-
 
1059
                function () {
-
 
1060
              $(".ba").css("color", "white"); 
-
 
1061
              $(".ba").css("background-color", "#C0C0C0");    
-
 
1062
               $(".la").css("color", "blue"); 
-
 
1063
                $(".la").css("background-color", "white");
-
 
1064
                 doGetAjaxRequestHandler(context + "/getlmsLineChart", function (response) {
-
 
1065
                        $('.ChartContainer').html(response);
-
 
1066
                    });    
-
 
1067
       });       
-
 
1068
             
-
 
1069
          $(document).on("click", ".bar_chart",
-
 
1070
                function () {    
-
 
1071
                $(".ba").css("color", "blue");
-
 
1072
                $(".ba").css("background-color", "white");   
-
 
1073
               $(".la").css("color", "white"); 
-
 
1074
                $(".la").css("background-color", "#C0C0C0");                   
-
 
1075
                 doGetAjaxRequestHandler(context + "/getBarChart", function (response) {
-
 
1076
                        $('.ChartContainer').html(response);
-
 
1077
                    });              
-
 
1078
            }); 
-
 
1079
 
1045
 
1080
 
1046
        $(document).on("click", "p.description-offer",
1081
        $(document).on("click", "p.description-offer",
1047
                function (e) {
1082
                function (e) {
1048
                    var offerid = $(this).data('offerid');
1083
                    var offerid = $(this).data('offerid');
1049
                    console.log(offerid);
1084
                    console.log(offerid);