<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <title>thetool | Log in</title>
  <!-- Tell the browser to be responsive to screen width -->
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="shortcut icon" href="assets/images/favicon.ico">

  <link rel="stylesheet" href="<?=self::getResourcePath()?>fontawesome/css/all.min.css">
  <!-- Theme style -->
  <link rel="stylesheet" href="<?=self::getResourcePath()?>css/adminlte.css">
  <link rel="stylesheet" href="<?=self::getResourcePath()?>css/fonts.css?<?=date('U')?>">
  <link rel="stylesheet" href="<?=self::getResourcePath()?>css/main.css?<?=date('U')?>">
  
  <!-- jQuery -->
  <script src="<?=self::getResourcePath()?>plugins/jquery/jquery.min.js"></script>
</head>
<body class="hold-transition login-page" onload="setFocus()">
<div class="login-box">
  <div class="login-logo">
    <a href="<?=self::getUrl("/")?>"><img src="<?=self::getResourcePath()?>assets/images/the-tool-logo.png" /></a>
  </div>
  <!-- /.login-logo -->
  <div class="card">
    <div class="card-body login-card-body">
      <p class="login-box-msg">Bitte einloggen</p>

      <form action="" method="post">
        <input type="hidden" name="action" value="mfLogin_Login" class="form-control nosave" />
        
        <div class="input-group mb-3">
          <input type="text" name="Username" id="mfUsername" class="form-control" placeholder="Benutzer">
          <div class="input-group-append">
            <div class="input-group-text">
              <span class="fas fa-envelope"></span>
            </div>
          </div>
        </div>
        <div class="input-group mb-3">
          <input type="password" name="Password" class="form-control" placeholder="Passwort">
          <div class="input-group-append">
            <div class="input-group-text">
              <span class="fas fa-lock"></span>
            </div>
          </div>
        </div>
        <div class="row">
          <div class="col-8">
          </div>
          <!-- /.col -->
          <div class="col-4">
            <button type="submit" class="btn btn-primary btn-block">Einloggen</button>
          </div>
          <!-- /.col -->
        </div>
      </form>

    </div>
    <!-- /.login-card-body -->
  </div>
</div>
<!-- /.login-box -->

<script type="text/javascript">
    function setFocus() {
    document.getElementById('mfUsername').focus();
  }
</script>

</body>
</html>
