<?= $this->extend(config('Auth')->views['layout']) ?>
<?= $this->section('title') ?>Activate 2FA<?= $this->endSection() ?>
<?= $this->section('main') ?>

<div class="login-box">
   <div class="login-logo">
      <img src="<?= base_url('satria-color.svg') ?>" alt="Paris" class="img img-round" width="100"><br>
      <a href="#"><b>Satria</b> | BC Denpasar</a>
   </div>
   <div class="text-center" style="font-size: 16px !important;">SILAKAN PINDAI KODE QR BERIKUT MENGGUNAKAN<br>APLIKASI MOBILE AUTHENTICATOR</div>
   <!-- /.login-logo -->
   <div class="login-box-body" style="background-color: transparent !important;">
      <div id="boxed">
         <img src="data:image/png;base64, <?= $user->qrcode ?> " />
         <form id="users_form" action="<?= url_to('auth-action-handle') ?>" method="post">
            <?= csrf_field() ?>
            <div class="d-grid col-8 mx-auto m-3">
               <br><button type="submit" id="btn_users" class="btn btn-primary btn-block"><?= lang('Auth.confirm') ?></button>
            </div>
         </form>
      </div>
   </div>
   <!-- /.login-box-body -->
   <div class="row">
      <div class="foot text-center">
         Copyright &copy; <?= date('Y') ?> KPPBC TMP A Denpasar<br>
      </div>
   </div>
</div>
<!-- /.login-box -->
<?= $this->endSection() ?>
<?= $this->section('pageScripts') ?>
<?= $this->endSection() ?>