Blame view

app/partials/dashboard/dashboard.html 11.3 KB
feacde5ff   Rishav   setup acuefuel in...
1
2
3
4
5
  <style>
     .subnavbar .mainnav > li:first-child > a{
        color: #ff9900;
     }
  </style>
a49ef5361   Kuldeep Arora   dashboard & Sched...
6
7
8
9
10
11
12
13
14
15
16
17
18
  <!-- <style>
  table, th , td  {
    border: 1px solid grey;
    border-collapse: collapse;
    padding: 5px;
  }
  table tr:nth-child(odd) {
    background-color: #f1f1f1;
  }
  table tr:nth-child(even) {
    background-color: #ffffff;
  }
  </style> -->
feacde5ff   Rishav   setup acuefuel in...
19
20
  
  <div class="main">
dd378d69f   Mr. Hot Foods   changes in flight...
21
     <div class="container" ng-if="isAuthenticated">
feacde5ff   Rishav   setup acuefuel in...
22
23
24
25
26
27
28
29
30
31
32
33
        <div class="row">
           <div class="col-md-7">
              <div class="widget stacked">
                 <div class="row">
                    <div class="col-md-3">
                       <div class="widget-header">
                          <i class="fa fa-tint"></i> &nbsp; Fuel Orders
                       </div>
                       <div class="custom-widget-content">
                          <div>
                             <div class="col-xs-12">
                                <span class="pull-left">Completed</span>
a49ef5361   Kuldeep Arora   dashboard & Sched...
34
                                <button class="btn btn-success btn-xs pull-right" style="cursor: default">
feacde5ff   Rishav   setup acuefuel in...
35
36
37
38
39
40
41
42
                                <span style="font-size:9px;">Monthly</span>
                                </button>
                                <div class="clearfix"></div>
                             </div>
                             <div class="clearfix"></div>
                          </div>
                          <hr class="hr">
                          <div class="col-xs-12">
a49ef5361   Kuldeep Arora   dashboard & Sched...
43
                             <h2 style="margin-bottom: 0px;">{{completeOrderCount}}</h2>
feacde5ff   Rishav   setup acuefuel in...
44
45
46
47
48
49
50
51
52
53
54
55
56
                             <span>Fuel Orders</span>
                          </div>
                          <div class="clearfix"></div>
                       </div>
                    </div>
                    <div class="col-md-3">
                       <div class="widget-header">
                          <i class="fa fa-tint"></i> &nbsp; Fuel Orders 
                       </div>
                       <div class="custom-widget-content">
                          <div>
                             <div class="col-xs-12">
                                <span class="pull-left">Pending</span>
a49ef5361   Kuldeep Arora   dashboard & Sched...
57
                                <button class="btn btn-success btn-xs pull-right pull-right-color " style="cursor: default">
feacde5ff   Rishav   setup acuefuel in...
58
59
60
61
62
63
64
65
                                <span style="font-size:9px;">Monthly</span>
                                </button>
                                <div class="clearfix"></div>
                             </div>
                             <div class="clearfix"></div>
                          </div>
                          <hr class="hr">
                          <div class="col-xs-12">
a49ef5361   Kuldeep Arora   dashboard & Sched...
66
                             <h2 style="margin-bottom: 0px;">{{pendingOrderCount}}</h2>
feacde5ff   Rishav   setup acuefuel in...
67
68
69
70
71
72
73
74
75
76
77
78
79
80
                             <span>Fuel Orders</span>
                          </div>
                          <div class="clearfix"></div>
                       </div>
                    </div>
                    <div class="col-md-6">
                       <div class="widget-header">
                          <i class="fa fa-list-alt "></i>
                          <h3>Fuel Order</h3>
                       </div>
                       <div class="custom-widget-content">
                          <div>
                             <div class="col-xs-12">
                                <span class="pull-left">Activity: Airport Operations</span>
a49ef5361   Kuldeep Arora   dashboard & Sched...
81
                                <button class="btn btn-primary btn-xs pull-right" style="cursor: default">
feacde5ff   Rishav   setup acuefuel in...
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
                                <span style="font-size:9px;">Monthly</span>
                                </button>
                                <div class="clearfix"></div>
                             </div>
                             <div class="clearfix"></div>
                          </div>
                          <hr class="hr">
                          <div class="col-xs-6">
                             <h2 style="margin-bottom:0px;">280</h2>
                             <span>Based-Aircraft</span>
                          </div>
                          <div class="col-xs-6">
                             <h2 style="margin-bottom: 0px;">280</h2>
                             <span>Take-offs & Landings</span>
                          </div>
                          <div class="clearfix"></div>
                       </div>
                    </div>
                 </div>
                 </br>
                 <div class="row">
                    <div class="col-md-12">
                       <div class="widget-header">
4bb02bb84   Rishav   new integration w...
105
106
                          <i class="fa fa-signal" aria-hidden="true"></i>
                        <h3>Chart</h3>
feacde5ff   Rishav   setup acuefuel in...
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
                       </div>
                       <!-- /widget-header -->
                       <div class="widget-content">
                          <div class="stats">
                             <div class="stat">
                                <span class="stat-value">12,386</span>                         
                                Site Visits
                             </div>
                             <!-- /stat -->
                             <div class="stat">
                                <span class="stat-value">9,249</span>                          
                                Unique Visits
                             </div>
                             <!-- /stat -->
                             <div class="stat">
                                <span class="stat-value">70%</span>                         
                                New Visits
                             </div>
                             <!-- /stat -->
                          </div>
                          <!-- /stats -->
                          <div id="chart-stats" class="stats">
                             <div class="stat stat-chart">
                                <!-- <div id="donut-chart" class="chart-holder"></div> --> <!-- #donut -->    
                                <div id="area-chart" class="chart-holder" style="height: 250px;"></div>
                                <!-- /area-chart -->
                             </div>
                             <!-- /substat -->
                             <div class="stat stat-time">                          
                                <span class="stat-value">00:28:13</span>
                                Average Time on Site
                             </div>
                             <!-- /substat -->
                          </div>
                          <!-- /substats -->
                       </div>
                       <!-- /widget-content -->
                    </div>
                    <!-- /widget -->  
                 </div>
              </div>
           </div>
           <!-- /span6 -->
           <div class="col-md-5">
              <div class="widget stacked">
9732e9b36   Swarn Singh   updates in fuel m...
152
153
154
              <div class="widget-header">
                 <i class="fa fa-pencil"></i>
                 <h3>Price Manager</h3>
05bfa28a2   Mr. Hot Foods   remove save butto...
155
156
157
158
159
                 <select style="float: right; margin: 7px 10px; width: 150px; height: 26px; padding: 0 0;" class="btn btn-primary" class="form-control" ng-model="sendEmail.pricing" ng-change="confirmMail()">
                    <option value="" disabled selected="selected">Email All Pricing</option>
                    <option value="JET-A">Email JET-A pricing only</option>
                    <option value="AVGAS">Email AVGAS pricing only</option>
                    <option disabled>_______________________________</option>
9732e9b36   Swarn Singh   updates in fuel m...
160
                    <option value="all">Distribute All</option>
6275a96f0   Jaideep Singh   s
161
                 </select> 
9732e9b36   Swarn Singh   updates in fuel m...
162
163
              </div>
              <!-- /widget-header -->
05bfa28a2   Mr. Hot Foods   remove save butto...
164
165
            <div class="widget-content">
                 <h4>Deployed Fuel Prices</h4>
9732e9b36   Swarn Singh   updates in fuel m...
166
167
168
169
170
171
172
173
174
175
176
                 <table class="table">
                    <thead>
                       <tr>
                          <th> Product</th>
                          <th> Cost</th>
                          <th> Margin</th>
                          <th> PAP(Total)</th>
                          <th style="color: #F90;"> Expires</th>
                       </tr>
                    </thead>
                    <tbody>
05bfa28a2   Mr. Hot Foods   remove save butto...
177
                       <tr ng-repeat="fuelPricing in newFuelPricing | filter:{ status: true }">
9732e9b36   Swarn Singh   updates in fuel m...
178
                          <td>
05bfa28a2   Mr. Hot Foods   remove save butto...
179
180
181
182
                             <span style="color: #2196f3" ng-show="fuelPricing.jeta">{{fuelPricing.name}}</span>
                             <span  ng-show="fuelPricing.jeta">{{fuelPricing.namejetrest}}</span>
                             <span style="color: 39c" ng-show="fuelPricing.avgas">{{fuelPricing.name}}</span>
                             <span  ng-show="fuelPricing.avgas">{{fuelPricing.nameavgasrest}}</span>
9732e9b36   Swarn Singh   updates in fuel m...
183
184
                          </td>
                          <td>
05bfa28a2   Mr. Hot Foods   remove save butto...
185
186
                            <span>{{fuelPricing.fuelPricing.cost}}</span>
                            </td>
9732e9b36   Swarn Singh   updates in fuel m...
187
                          <td>
05bfa28a2   Mr. Hot Foods   remove save butto...
188
189
                            <span>{{fuelPricing.fuelPricing.papMargin}}</span>
                             </td>
9732e9b36   Swarn Singh   updates in fuel m...
190
                          <td>
05bfa28a2   Mr. Hot Foods   remove save butto...
191
                             <span style="line-height: 31px; color: #1ab394;">$ {{fuelPricing.fuelPricing.cost -- fuelPricing.fuelPricing.papMargin  | number : 2 }}</span>
9732e9b36   Swarn Singh   updates in fuel m...
192
193
                          </td>
                          <td>
05bfa28a2   Mr. Hot Foods   remove save butto...
194
                            <span>{{fuelPricing.fuelPricing.expirationDate}}</span>
9732e9b36   Swarn Singh   updates in fuel m...
195
196
197
198
                          </td>
                       </tr>
                    </tbody>
                 </table>
05bfa28a2   Mr. Hot Foods   remove save butto...
199
                
feacde5ff   Rishav   setup acuefuel in...
200
              </div>
9732e9b36   Swarn Singh   updates in fuel m...
201
202
              <!-- /widget-content -->
           </div>
feacde5ff   Rishav   setup acuefuel in...
203
204
205
              <!-- /widget -->
              <div class="widget widget-nopad stacked">
                 <div class="widget-header">
4bb02bb84   Rishav   new integration w...
206
                    <i class="fa fa-comment" aria-hidden="true"></i>
feacde5ff   Rishav   setup acuefuel in...
207
208
209
210
211
212
                    <h3>Messages</h3>
                 </div>
                 <!-- /widget-header -->
                 <div class="widget-content">
                    <h4 style="padding:10px">Messages</h4>
                    <hr class="hr">
a49ef5361   Kuldeep Arora   dashboard & Sched...
213
214
215
216
217
218
219
                    <table>
                      <tr ng-repeat="msg in pendingMessageRecord">
                         
                        <td>Fuel Order is Pending for the company {{ msg[5] }} </td> 
                      </tr>
                    </table>
                                      <!-- <ul class="news-items">
feacde5ff   Rishav   setup acuefuel in...
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
                       <li>
                          <div class="news-item-detail">
                             <a href="javascript:;" class="news-item-title">Duis aute irure dolor in reprehenderit</a>
                             <p class="news-item-preview">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore.</p>
                          </div>
                          <div class="news-item-date">
                             <span class="news-item-day">08</span>
                             <span class="news-item-month">Mar</span>
                          </div>
                       </li>
                       <li>
                          <div class="news-item-detail">
                             <a href="javascript:;" class="news-item-title">Duis aute irure dolor in reprehenderit</a>
                             <p class="news-item-preview">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore.</p>
                          </div>
                          <div class="news-item-date">
                             <span class="news-item-day">08</span>
                             <span class="news-item-month">Mar</span>
                          </div>
                       </li>
a49ef5361   Kuldeep Arora   dashboard & Sched...
240
                    </ul> -->
feacde5ff   Rishav   setup acuefuel in...
241
242
243
244
245
246
247
248
249
250
251
252
                 </div>
                 <!-- /widget-content -->
              </div>
              <!-- /widget -->        
           </div>
           <!-- /span6 -->
        </div>
        <!-- /row -->
     </div>
     <!-- /container -->
  </div>
  <!-- /main -->