2018-03-17 20:29:56 +01:00
|
|
|
<TMPL_INCLUDE NAME="header.tpl">
|
|
|
|
|
|
|
|
<main id="logincontent" class="container">
|
|
|
|
|
|
|
|
<TMPL_IF NAME="AUTH_ERROR">
|
|
|
|
<div class="message message-<TMPL_VAR NAME="AUTH_ERROR_TYPE"> alert"><span trmsg="<TMPL_VAR NAME="AUTH_ERROR">"></span></div>
|
|
|
|
</TMPL_IF>
|
|
|
|
|
2018-03-18 20:52:50 +01:00
|
|
|
<div class="panel panel-default">
|
|
|
|
|
2018-03-17 20:29:56 +01:00
|
|
|
<TMPL_IF NAME="FAILED">
|
|
|
|
<p trspan="u2fFailed"></p>
|
|
|
|
</TMPL_IF>
|
|
|
|
|
2018-03-18 09:15:23 +01:00
|
|
|
<TMPL_IF NAME="AUTH_ERROR">
|
|
|
|
<div class="buttons">
|
|
|
|
<a href="<TMPL_VAR NAME="PORTAL_URL">" class="btn btn-primary" role="button">
|
|
|
|
<span class="glyphicon glyphicon-home"></span>
|
|
|
|
<span trspan="goToPortal">Go to portal</span>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
<TMPL_ELSE>
|
|
|
|
<form id="verify-form" action="/utotp2fcheck" method="post">
|
2018-03-18 20:52:50 +01:00
|
|
|
<input type="hidden" id="token" name="token" value="<TMPL_VAR NAME="TOKEN">">
|
2018-04-17 23:01:34 +02:00
|
|
|
<TMPL_IF NAME="DATA">
|
2018-03-18 20:52:50 +01:00
|
|
|
<div class="message message-positive alert">
|
|
|
|
<span trspan="touchU2fDeviceOrEnterTotp"></span>
|
|
|
|
</div>
|
|
|
|
<input type="hidden" id="verify-data" name="signature" value="">
|
|
|
|
<input type="hidden" id="verify-challenge" name="challenge" value="">
|
|
|
|
<script type="application/init">
|
2018-04-17 23:01:34 +02:00
|
|
|
<TMPL_VAR NAME="DATA">
|
2018-03-18 20:52:50 +01:00
|
|
|
</script>
|
|
|
|
<!-- //if:jsminified
|
|
|
|
<script type="text/javascript" src="<TMPL_VAR NAME="STATIC_PREFIX">/common/js/u2f-api.min.js"></script>
|
|
|
|
<script type="text/javascript" src="<TMPL_VAR NAME="STATIC_PREFIX">/common/js/u2fcheck.min.js"></script>
|
|
|
|
//else -->
|
|
|
|
<script type="text/javascript" src="<TMPL_VAR NAME="STATIC_PREFIX">/common/js/u2f-api.js"></script>
|
|
|
|
<script type="text/javascript" src="<TMPL_VAR NAME="STATIC_PREFIX">/common/js/u2fcheck.js"></script>
|
|
|
|
<!-- //endif -->
|
2018-03-18 09:15:23 +01:00
|
|
|
<TMPL_ELSE>
|
2018-03-18 20:52:50 +01:00
|
|
|
<div class="message message-positive alert">
|
|
|
|
<span trspan="enterTotpCode"></span>
|
|
|
|
</div>
|
2018-03-18 09:15:23 +01:00
|
|
|
</TMPL_IF>
|
2018-03-18 20:52:50 +01:00
|
|
|
<div class="form">
|
|
|
|
<div class="form-group input-group">
|
|
|
|
<span class="input-group-addon"><i class="glyphicon glyphicon-lock"></i> </span>
|
|
|
|
<input name="code" value="" class="form-control" id="extcode" trplaceholder="code">
|
|
|
|
</div>
|
2018-03-17 20:29:56 +01:00
|
|
|
</div>
|
|
|
|
<div class="buttons">
|
2018-03-18 20:52:50 +01:00
|
|
|
<button type="submit" class="btn btn-success">
|
|
|
|
<span class="glyphicon glyphicon-log-in"></span>
|
|
|
|
<span trspan="connect">Connect</span>
|
|
|
|
</button>
|
2018-03-17 20:29:56 +01:00
|
|
|
</div>
|
2018-04-21 23:24:55 +02:00
|
|
|
<br>
|
2018-05-08 23:33:05 +02:00
|
|
|
<div class="buttons">
|
|
|
|
<a href="<TMPL_VAR NAME="PORTAL_URL">" class="btn btn-primary" role="button">
|
|
|
|
<span class="glyphicon glyphicon-home"></span>
|
|
|
|
<span trspan="goToPortal">Go to portal</span>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
<br>
|
2018-03-18 09:15:23 +01:00
|
|
|
</form>
|
2018-03-17 20:29:56 +01:00
|
|
|
</TMPL_IF>
|
|
|
|
|
2018-03-18 20:52:50 +01:00
|
|
|
</div>
|
2018-03-17 20:29:56 +01:00
|
|
|
</main>
|
|
|
|
|
|
|
|
<TMPL_INCLUDE NAME="footer.tpl">
|
|
|
|
|