
<ion-header class="theme_dark_bg">
    <button class="nav_btn theme_color floatLeft">
        <ion-icon name="ios-arrow-back" (click)="back()"></ion-icon>
    </button>
    <div class="nav_header_title floatLeft">
        {{title}}
    </div>
    <div class="clear"></div>
</ion-header>
  <ion-content padding>
      <div class="sign_up_wrapper">
          <h4>{{title}}</h4>
          <hr>
          <br>
          <p>Your documents must be readable<br>
              and clear</p>
            <button ion-button class="upload_btn" id="upld_btn" *ngIf="fileData?.fileStatus=='0' || fileData?.fileStatus=='3'">{{butonName}}
                <input type="file" (change)="fileChange($event)" accept="application/pdf,image/*">
            </button>

            <div class="check_box" *ngIf="fileData?.fileStatus=='2'">

            </div>
            <h6>{{filename}}</h6>
            <h5 *ngIf="fileData?.fileStatus=='1'">Processing</h5>
        </div>
  </ion-content>
  <ion-footer padding>
      <button ion-button class="theme_dark_bg btn_primary" (click)="upload()" *ngIf="fileData?.fileStatus=='0' || fileData?.fileStatus=='3'">DONE</button>
      <button ion-button class="theme_dark_bg btn_primary" (click)="view()" *ngIf="fileData?.fileStatus!='0'">view</button>
  </ion-footer>
