Subversion Repositories SmartDukaan

Rev

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

Rev 28151 Rev 28272
Line 909... Line 909...
909
                                <div class="modal-content">
909
                                <div class="modal-content">
910
                                </div>
910
                                </div>
911
                            </div>
911
                            </div>
912
                        </div>
912
                        </div>
913
                    </div>
913
                    </div>
914
 
914
       
915
                    <div class="row col-lg-12 info-box white-bg">
915
                    <div class="row col-lg-12 info-box white-bg" id="performanceContainer">
916
                        #parse("performance.vm")
916
                                   #parse("performance.vm")
-
 
917
                      		
917
                    </div>
918
                  </div>
918
                    #if($activatedImeis > 0)
919
                    #if($activatedImeis > 0)
919
                        <div class="row col-lg-12 info-box white-bg">
920
                        <div class="row col-lg-12 info-box white-bg">
920
                            #parse("dashboard-activated-imeis.vm")
921
                            #parse("dashboard-activated-imeis.vm")
921
                        </div>
922
                        </div>
922
                    #end
923
                    #end
923
                    <div class="row col-lg-12">
924
                    <div class="row col-lg-12">
924
                        <div class="chart-container" id="chart-container" style="position: relative; width:100%">
925
                        <div class="chart-container" id="chart-container" style="position: relative; width:100%">
925
                            <canvas id="barchart" width="auto" height="auto"></canvas>
926
                            <canvas id="barchart" width="auto" height="auto"></canvas>
926
                        </div>
927
                        </div>
927
                    </div>
928
                    </div>
-
 
929
                    
-
 
930
                    
928
 
931
               
929
                </div>
932
                </div>
930
            </div>
933
            </div>
931
            </div>
934
            </div>
932
        </section>
935
        </section>
933
        <div class="text-center">
936
        <div class="text-center">
Line 946... Line 949...
946
    </script>
949
    </script>
947
    #parse("include-scripts.vm")
950
    #parse("include-scripts.vm")
948
 
951
 
949
    <script type="text/javascript">
952
    <script type="text/javascript">
950
        $(document).ready(function () {
953
        $(document).ready(function () {
-
 
954
       
-
 
955
 
-
 
956
       
951
            var salesCloseFlag = true;
957
            var salesCloseFlag = true;
952
            $("#blue-dropdown").click(function () {
958
            $("#blue-dropdown").click(function () {
953
                // console.log("clicked");
959
                // console.log("clicked");
954
                if (salesCloseFlag) {
960
                if (salesCloseFlag) {
955
                    var containerWidth = $(".blue-bg").width()
961
                    var containerWidth = $(".blue-bg").width()
Line 1008... Line 1014...
1008
                function (e) {
1014
                function (e) {
1009
                    $("#descriptionMenu").empty();
1015
                    $("#descriptionMenu").empty();
1010
                });
1016
                });
1011
 
1017
 
1012
 
1018
 
-
 
1019
 
-
 
1020
       
-
 
1021
       $(document).on('change', "#performance-months", function() {
-
 
1022
       
-
 
1023
            var month = 	$("#performance-months").val();
-
 
1024
             console.log(month);   
-
 
1025
          
-
 
1026
           doGetAjaxRequestHandler(context + "/getMonthsInvestment?month=" + month ,function (response) {
-
 
1027
                   console.log(response);
-
 
1028
                  $("#performanceContainer").html(response);
-
 
1029
        
-
 
1030
        });
-
 
1031
              	});
-
 
1032
        
-
 
1033
 
1013
    </script>
1034
    </script>
1014
    <script>
1035
    <script>
1015
 
1036
 
1016
        //knob
1037
        //knob
1017
        $(function () {
1038
        $(function () {
Line 1273... Line 1294...
1273
        -webkit-user-select: none;
1294
        -webkit-user-select: none;
1274
        -ms-user-select: none;
1295
        -ms-user-select: none;
1275
    }
1296
    }
1276
</style>
1297
</style>
1277
</script>
1298
</script>
-
 
1299
 
-
 
1300
 
-
 
1301
		
1278
<script type="text/javascript">
1302
<script type="text/javascript">
1279
    window.onload = function () {
1303
    window.onload = function () {
1280
        var options = $chartMap;
1304
        var options = $chartMap;
1281
        var ctx = document.getElementById('barchart').getContext('2d');
1305
        var ctx = document.getElementById('barchart').getContext('2d');
1282
        window.bar = new Chart(ctx, options);
1306
        window.bar = new Chart(ctx, options);