<app-all-menus></app-all-menus>
<div class="topDiv">
  <div id="toast">
    <div id="desc">{{data_descip}}</div>
  </div>
  <div class="row" style="text-align: center; background: #426E86; padding-top: 10px; padding-bottom: 10px; color: white;box-shadow:3px 1px 5px 0px rgb(178, 176, 174)">
    <div class="col-sm-12 col-md-12 col-lg-12">
      <h4>{{'System Logs' | translate}}</h4>
  
    </div>
  </div>  
 
  <div class="row rowStyle">
    <div class="col-sm-3 col-md-3 col-lg-3" style="padding-left: 20px; padding-right: 5px; padding-top: 5px; padding-bottom: 5px;">
      <div class="row" style="margin:0px;height: 84vh;background: white;box-shadow: 3px 1px 5px 0px #b2b0ae;">
        <div class="col-sm-12 col-md-12 col-lg-12" style="padding:0px">
            <app-report-filter (onReportFIlter)= "getReport($event)" [componentIdentifier]="identifier"></app-report-filter>
        </div>
      </div>
    </div>
    <div class="col-sm-9 col-md-9 col-lg-9" style="padding-left: 5px; padding-right: 20px; padding-top: 5px;">
      <flash-messages style="float: center;margin:0px 1px;height:-6px;position: absolute;"></flash-messages>
      <div class="row" style="margin:0px;height: 84vh;padding-top:10px;padding-bottom:5px;background: white;box-shadow: 3px 1px 5px 0px #b2b0ae;">
        <div class="col-sm-12 col-md-12 col-lg-12">
          <div *ngIf="Load" class="loading">Loading&#8230;</div>
          <div style="width: 100%;height:84vh;">
            <table id="gpsTable" cellspacing="0" style="width: 100%;font-size: 14px;">
                <thead style="background-color:#e0e0e0;color: #444444;">
                    <tr>
                      <th style="text-align:center;">{{'Device IMEI' | translate}}</th>
                      <th style="text-align:center;">{{'Lattitude' | translate}}</th>
                      <th style="text-align:center;">{{'Longitude' | translate}}</th>
                      <th style="text-align:center;">{{'Speed' | translate}}</th>
                      <th style="text-align:center;">{{'Device Time' | translate}}</th>
                      <th style="text-align:center;">{{'Insertion Time' | translate}}</th>
                      <th style="text-align:center;">{{'Last Push' | translate}}</th>
                      <th style="text-align:center;">{{'Integration Respnse' | translate}}</th>
                      <th style="text-align:center;">{{'Ignition' | translate}}</th>
                      <th style="text-align:center;">{{'Power' | translate}}</th>
                      <th style="text-align:center;">{{'GPS positioned' | translate}}</th>
                      <th style="text-align:center;">{{'isFluctuation' | translate}}</th>
                      <th style="text-align:center;">{{'isPastData' | translate}}</th>
                      <th style="text-align:center;">{{'Ext. Volt.' | translate}}</th>
                      <th style="text-align:center;">{{'Fuel Volt.' | translate}}</th>
                      <th style="text-align:center;">{{'Fuel Value (L)' | translate}}</th>
                      <th style="text-align:center;">{{'Raw Data' | translate}}</th>
                      <th style="text-align:center;">{{'AC' | translate}}</th>
                      <th style="text-align:center;">{{'Powercut Alarm' | translate}}</th>
                      <th style="text-align:center;">{{'Sattelite' | translate}}</th>       
                      <th style="text-align:center;">{{'Delete' | translate}}</th>     
                    </tr>
                </thead>  
            </table>
        </div> 
        </div>
      </div> 
    </div>
  </div>
</div>





<!-- <app-all-menus></app-all-menus>
<div style="padding-top: 6%;">
  <p class="headStyle">{{'System Logs' | translate}}</p>
  <div class="loading" *ngIf="Load">Loading&#8230;</div>
  <div class="InputStyle">
    <div class="row">
      <div class="col-md-5" style="padding-left: 75px;">
        <md-input-container>
          <input mdInput placeholder="Search by vehicle name" [mdAutocomplete]="tdAuto1" name="state" 
          #state="ngModel" [(ngModel)]="deviceName1"
          (ngModelChange)="filterDevices1(deviceName1)">
         <md-autocomplete #tdAuto1="mdAutocomplete">
           <md-option *ngFor="let device1 of deviceSelect1" [value]="device1.viewValue" >
            <span>{{device1.viewValue}}</span>
          </md-option >
          </md-autocomplete>   
        </md-input-container>
          <md-input-container style="margin-left: 21px;">
          <input mdInput placeholder="Search by vehicle no." [mdAutocomplete]="tdAuto" name="state" 
          #state="ngModel" [(ngModel)]="deviceName"
          (ngModelChange)="filterDevices(deviceName)">
         <md-autocomplete #tdAuto="mdAutocomplete">
           <md-option *ngFor="let device of deviceSelect" [value]="device.viewValue" >
            <span>{{device.viewValue}}</span>
          </md-option >
          </md-autocomplete>   
        </md-input-container>
      </div>
      <div class="col-md-3">
        <span>{{'From Date' | translate}}</span>
        <owl-date-time [(ngModel)]="Fromdate" [hourFormat]="'12'" [dateFormat]="'DD/MM/YYYY hh:mm:a'" [autoClose]="true"></owl-date-time>
      </div>
      <div class="col-md-2">
        <span>{{'To Date' | translate}}</span>
        <owl-date-time [(ngModel)]="todate" [hourFormat]="'12'"  [dateFormat]="'DD/MM/YYYY hh:mm:a'" [autoClose]="true"></owl-date-time>
      </div>
      <div class="col-md-2" style="padding-left: 65px;padding-top:17px;">
          <button md-raised-button style="background-color:#3e3737;color:white;border:#fdfdfd;width: 120px;" class="btn btn-primary w3-button/" (click)="callfunction()">{{'FIND' | translate}}</button>       
        </div>
    </div>
  </div>

  <flash-messages style="float: center;margin:0px 1px;height:-6px;"></flash-messages>
  <table id="gpsTable" class="display" style="width:100%;font-size:15px;text-align: center;">
    <thead style="background-color:#A2C523;color: white;">
        <tr>
            <th style="text-align:center;">{{'Device IMEI' | translate}}</th>
            <th style="text-align:center;">{{'Lattitude' | translate}}</th>
            <th style="text-align:center;">{{'Longitude' | translate}}</th>
            <th style="text-align:center;">{{'Speed' | translate}}</th>
            <th style="text-align:center;">{{'Device Time' | translate}}</th>
            <th style="text-align:center;">{{'Insertion Time' | translate}}</th>
            <th style="text-align:center;">{{'Last Push' | translate}}</th>
            <th style="text-align:center;">{{'Integration Respnse' | translate}}</th>
            <th style="text-align:center;">{{'Ignition' | translate}}</th>
            <th style="text-align:center;">{{'Power' | translate}}</th>
            <th style="text-align:center;">{{'Ext. Volt.' | translate}}</th>
            <th style="text-align:center;">{{'Fuel Volt.' | translate}}</th>
            <th style="text-align:center;">{{'Fuel Value (L)' | translate}}</th>
            <th style="text-align:center;">{{'Raw Data' | translate}}</th>
            <th style="text-align:center;">{{'AC' | translate}}</th>
            <th style="text-align:center;">{{'Powercut Alarm' | translate}}</th>
            <th style="text-align:center;">{{'Sattelite' | translate}}</th>       
            <th style="text-align:center;">{{'Delete' | translate}}</th>       
        </tr>
    </thead>
</table>
</div>

 -->
