<html class="login-bg">
<div class="app flex-row align-items-center">
  <div class="container ">
    <div class="row justify-content-center ">
      <div class="col-md-8 ">
        <div class="card-group mb-0 ">
          <div class="card loginCard p-4 ">
            <div class="card-body ">
              <ngx-loading [show]="loading"></ngx-loading>
              <img src="assets/img/customize/Taoyuan.jpg">
              <h1 class="loginCard-title">桃園交通局科技執法系統</h1>
              <p class="text-muted ">登入您的帳號</p>
              <form #loginForm="ngForm">
              <div class="input-group mb-3">
                <span class="input-group-addon ">
                  <i class="icon-user "></i>
                </span>
                <input type="text" class="form-control" id="account" name="account" #account="ngModel" required [(ngModel)]="loginData.Account" placeholder="帳號 ">
              </div>
              <div class="input-group mb-4 ">
                <span class="input-group-addon">
                  <i class="icon-lock "></i>
                </span>
                <input type="password" class="form-control" id="passWord" (keyup.enter)="keyupEnter()" name="passWord" #password="ngModel" required [(ngModel)]="loginData.Password" placeholder="密碼 ">
              </div>
              <div class="row ">
                <div class="col-4 ">
                  <button type="button" class="btn btn-bar btn-success" [disabled]="!loginForm.form.valid" (click)="doLogin()">
                    <i class=" fa fa-sign-in " aria-hidden="true"></i> 登入
                  </button>

                </div>
                <div class="col-8 text-right ">
                  <!--<button type="button " class="btn btn-bar btn-danger" routerLink="/login/forgetPWD">忘記密碼</button>-->
                  <button type="button" class="btn btn-bar btn-primary" onClick="window.open('https://172.16.1.49:8443/localFile/doc/%E7%A7%91%E6%8A%80%E5%9F%B7%E6%B3%95%E5%A0%B4%E5%9F%9F%E9%81%95%E8%A6%8F%E7%AB%99%E9%BB%9E%E8%B3%87%E6%96%99.pdf');">
                    操作手冊下載
                  </button>
                  <button type="button" class="btn btn-bar btn-primary" onClick="window.open('https://172.16.1.49:8443/localFile/doc/%E7%A7%91%E6%8A%80%E5%9F%B7%E6%B3%95%E5%A0%B4%E5%9F%9F%E9%81%95%E8%A6%8F%E7%AB%99%E9%BB%9E%E8%B3%87%E6%96%99.pdf');">
                    違規地點一覽表
                  </button>
                  <button type="button" class="btn btn-bar btn-primary" routerLink="/login/unLoginPostRepair" routerLinkActive="active">
                    線上報修
                  </button>
                </div>
              </div>
            </form>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>

</html>
