Blame view

app/partials/analytics/analytics.html 8.34 KB
feacde5ff   Rishav   setup acuefuel in...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
  <style>
     .chart-holder {
     height: 325px;
     }
     .cirque-stats {
     text-align: center;
     }
     .cirque-stats .cirque-container {   
     margin-top: 1.5em;
     margin-bottom: 1.5em;   
     margin-right: 2em;
     margin-left: 2em;
     }
     .subnavbar .mainnav > li:nth-child(3) > a{
     color: #ff9900;
     }
565570086   Kuldeep Arora   highcharts(MFS,CS...
17
18
19
20
21
22
23
     .table {
     border-collapse: separate;
     padding: 0px;
      
     }
  
     
ae523d5ef   Mr. Hot Foods   account setting m...
24
25
  
     
feacde5ff   Rishav   setup acuefuel in...
26
27
  </style>
  <div class="main">
75d1c3d9f   Kuldeep Arora   analytics DRF UI
28
29
30
31
32
33
34
35
36
    <div style="padding: 0 3%; margin-left: 15px;">
      <div class="row">
        <div class="col-md-6">
          <div class="customInputWrap">
            <div style="margin-left: 0px;">
              <label>Date Range Filter</label>
              <form name="myForm">
                <input  type="text" ng-model="drf.fromDate" datepicker class="form-control" placeholder="From Date" required ng-required="true" style="width: 120px; float: left; margin-right: 15px;"/>
                <input type="text" ng-model="drf.toDate" datepicker class="form-control" placeholder="To Date" style="width: 120px; float: left; margin-right: 15px;">
565570086   Kuldeep Arora   highcharts(MFS,CS...
37
                  <button class="btn btn-primary" ng-disabled="myForm.$invalid" ng-click="submitDate()" style="float: left; display: none;">Apply</button>
565570086   Kuldeep Arora   highcharts(MFS,CS...
38
                  <button class="btn btn-primary" ng-click="submitDate()" style="float: left;">Apply</button>
565570086   Kuldeep Arora   highcharts(MFS,CS...
39
                  <div class="clearfix"></div>
75d1c3d9f   Kuldeep Arora   analytics DRF UI
40
41
42
43
44
45
46
                </form>
              </div>
              <div class="clearfix"></div>
            </div>
            <div class="widget stacked">
              <div class="widget-header">
                <i class="icon-bar-chart"></i>
d20181a2e   Anchit Jindal   fixed bugs
47
                <h3>${{ordersCost | number :2}}/{{ordersCount}} Fuel Sales</h3>
75d1c3d9f   Kuldeep Arora   analytics DRF UI
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
              </div>
              <!-- /widget-header -->
              <div class="widget-content">
                <nvd3 options="optionsmfs" data="datamfs"></nvd3>
                <!-- /bar-chart -->
              </div>
              <!-- /widget-content -->
            </div>
            <!-- /widget -->
          </div>
          <!-- /.span6 -->
          <div class="col-md-6">
            <div class="customInputWrap">
              <div style="margin-left: 0px;">
                <label>Date Range Filter</label>
                <form name="myForm1">
                  <input  type="text" ng-model="hfp.fromDate" datepicker class="form-control" placeholder="From Date" required ng-required="true" style="width: 120px; float: left; margin-right: 15px;"/>
                  <input type="text" ng-model="hfp.toDate" datepicker class="form-control" placeholder="To Date" style="width: 120px; float: left; margin-right: 15px;">
                    <button class="btn btn-primary" ng-disabled="myForm1.$invalid" ng-click="submitDateHfp()" style="float: left; display: none;">Apply</button>
                    <button class="btn btn-primary" ng-click="submitDateHfp()" style="float: left;">Apply</button>
                    <div class="clearfix"></div>
                  </form>
                </div>
                <div class="clearfix"></div>
              </div>
              <div class="widget stacked">
                <div class="widget-header">
                  <i class="icon-bar-chart"></i>
                  <h3>Historic Fuel Pricing</h3>
                </div>
                <!-- /widget-header -->
                <div class="widget-content">
                  <nvd3 options="optionshfp" data="datahfp"></nvd3>
                  <!-- /pie-chart -->
                </div>
                <!-- /widget-content -->
              </div>
              <!-- /widget -->
            </div>
            <!-- /span6 -->
          </div>
          <div class="row"></div>
          <div class="row">
            <div class="col-md-6">
              <div class="customInputWrap">
                <div style="margin-left: 0px;">
                  <label>Date Range Filter</label>
                  <form name="myForm2">
                    <input  type="text" ng-model="cs.fromDate" datepicker class="form-control" placeholder="From Date" required ng-required="true" style="width: 120px; float: left; margin-right: 15px;"/>
                    <input type="text" ng-model="cs.toDate" datepicker class="form-control" placeholder="To Date" style="width: 120px; float: left; margin-right: 15px;">
                      <button class="btn btn-primary" ng-disabled="myForm2.$invalid" ng-click="submitDateCs()" style="float: left; display: none;">Apply</button>
                      <button class="btn btn-primary" ng-click="submitDateCs()" style="float: left;">Apply</button>
                      <div class="clearfix"></div>
                    </form>
                  </div>
                  <div class="clearfix"></div>
                </div>
                <div class="widget stacked">
                  <div class="widget-header">
                    <i class="icon-bar-chart"></i>
                    <h3>Customer Sources</h3>
                  </div>
                  <!-- /widget-header -->
                  <div class="widget-content">
                    <div style="margin-left: -15px;">
                      <nvd3 options="optionscs" class="custom-graph" data="datacs"></nvd3>
565570086   Kuldeep Arora   highcharts(MFS,CS...
114
                    </div>
75d1c3d9f   Kuldeep Arora   analytics DRF UI
115
116
117
118
119
                    <!-- /pie-chart -->
                  </div>
                  <!-- /widget-content -->
                </div>
                <!-- /widget -->
feacde5ff   Rishav   setup acuefuel in...
120
              </div>
75d1c3d9f   Kuldeep Arora   analytics DRF UI
121
              <!-- /span6 -->
565570086   Kuldeep Arora   highcharts(MFS,CS...
122
              <div class="col-md-6">
75d1c3d9f   Kuldeep Arora   analytics DRF UI
123
124
125
126
127
128
129
130
131
132
133
134
135
136
                 <div class="customInputWrap">
                  <div style="margin-top: 75px">
                    <!-- <label>Date Range Filter</label>
                    <form name="myForm3">
                      <input  type="text" ng-model="rpp.fromDate" datepicker class="form-control" placeholder="From Date" required ng-required="true" style="width: 120px; float: left; margin-right: 15px;"/>
                      <input type="text" ng-model="rpp.toDate" datepicker class="form-control" placeholder="To Date" style="width: 120px; float: left; margin-right: 15px;">
                        <button class="btn btn-primary" ng-disabled="myForm3.$invalid" ng-click="submitDateRpp()" style="float: left; display: none;">Apply</button>
                        <button class="btn btn-primary" ng-click="submitDateRpp()" style="float: left;">Apply</button>
                        <div class="clearfix"></div>
                      </form> -->
                    </div>
                    <div class="clearfix"></div>
                  </div> 
                  <div class="widget stacked">
565570086   Kuldeep Arora   highcharts(MFS,CS...
137
                    <div class="widget-header">
75d1c3d9f   Kuldeep Arora   analytics DRF UI
138
139
                      <i class="icon-bar-chart"></i>
                      <h3>Regional PAP Pricing</h3>
565570086   Kuldeep Arora   highcharts(MFS,CS...
140
141
142
                    </div>
                    <!-- /widget-header -->
                    <div class="widget-content">
75d1c3d9f   Kuldeep Arora   analytics DRF UI
143
                      <div id="map" style="width: 100%; height: 325px;"></div>
565570086   Kuldeep Arora   highcharts(MFS,CS...
144
145
                    </div>
                    <!-- /widget-content -->
75d1c3d9f   Kuldeep Arora   analytics DRF UI
146
147
148
149
                  </div>
                  <!-- /widget -->
                </div>
                <!-- /.span6 -->
feacde5ff   Rishav   setup acuefuel in...
150
              </div>
75d1c3d9f   Kuldeep Arora   analytics DRF UI
151
152
            </div>
            <!-- /container -->
bd3a040f8   Kuldeep Arora   Regional Pap pric...
153
            </div>
75d1c3d9f   Kuldeep Arora   analytics DRF UI
154
          <!-- /main -->
bd3a040f8   Kuldeep Arora   Regional Pap pric...
155
156
157
158
159
160
                <div class="customConfirmPopBackdrop" id="popup1">
                 <div class="customModalInner" style="max-width: 400px;">
                    <div class="customModelBody" style="border-radius: 5px 5px 0 0;max-height: 200px;overflow: hidden;overflow-y: auto;"">
                       <table border="1">
                          
                            <tr>
bd3a040f8   Kuldeep Arora   Regional Pap pric...
161
                             <th style="padding: 5px">Region</th> 
644eff8d3   Kuldeep Arora   minor
162
                             <th style="padding: 5px">Average PAP</th> 
bd3a040f8   Kuldeep Arora   Regional Pap pric...
163
164
                            </tr>
                            <tr ng-repeat="data in rppData">
644eff8d3   Kuldeep Arora   minor
165
                             <td style="padding: 5px">
bd3a040f8   Kuldeep Arora   Regional Pap pric...
166
167
                              {{data.region}}
                             </td>
644eff8d3   Kuldeep Arora   minor
168
169
170
                             <td style="padding: 5px">
                              {{data.averagePAP | number :4 }}
                             </td>
bd3a040f8   Kuldeep Arora   Regional Pap pric...
171
172
173
174
                          </tr>
                       </table>
                    </div>
                    <div class="customModelFooter text-right" style="border-top: 0px !important">
bd3a040f8   Kuldeep Arora   Regional Pap pric...
175
176
177
178
179
180
181
182
                       <button class="btn btn-primary" style="padding: 4px 0; width: 80px;" ng-click="cancelStatus()">Close</button>
                    </div>
                 </div>
              </div>
              <div class="myLoader" ng-show="showLoader">
              <img src="../img/hourglass.gif" width="50px;">
            </div>
          
dd378d69f   Mr. Hot Foods   changes in flight...
183