totp2fcheck.tpl 1.19 KB
Newer Older
1 2 3 4 5 6
<TMPL_INCLUDE NAME="header.tpl">

<main id="logincontent" class="container">

<div class="message message-positive alert"><span trspan="enterTotpCode"></span></div>

7
<div class="card">
8

Xavier Guimard's avatar
Xavier Guimard committed
9
<form action="/totp2fcheck" method="post" class="password" role="form">
10
  <div class="form">
11 12
    <input type="hidden" id="token" name="token" value="<TMPL_VAR NAME="TOKEN">" />
    <input type="hidden" id="checkLogins" name="checkLogins" value="<TMPL_VAR NAME="CHECKLOGINS">" />
13 14
    <div class="input-group mb-3">
      <div class="input-group-prepend">
15
        <span class="input-group-text"><i class="fa fa-lock"></i> </span>
16
      </div>
17
      <input name="code" value="" class="form-control" id="extcode" trplaceholder="code" autocomplete="off" />
18 19
    </div>
  </div>
20
  <div class="buttons mb-3">
21
    <button type="submit" class="btn btn-success">
22
      <span class="fa fa-sign-in"></span>
23 24 25
      <span trspan="connect">Connect</span>
    </button>
  </div>
26
  <div class="buttons">
27
    <a href="<TMPL_VAR NAME="PORTAL_URL">?cancel=1" class="btn btn-primary" role="button">
28
      <span class="fa fa-home"></span>
29
      <span trspan="cancel">Cancel</span>
30 31
    </a>
  </div>
32
</form>
33
</div>
34 35 36
</main>

<TMPL_INCLUDE NAME="footer.tpl">