2018-04-01 22:27:50 +02:00
|
|
|
<TMPL_INCLUDE NAME="header.tpl">
|
|
|
|
|
|
|
|
<main id="menucontent" class="container">
|
2018-09-26 08:57:09 +02:00
|
|
|
|
|
|
|
<div id="color" class="message message-positive alert"><span id="msg" trspan="yourNewTotpKey"></span></div>
|
|
|
|
|
|
|
|
<div class="card">
|
|
|
|
<div class="card-body">
|
|
|
|
|
|
|
|
<div class="row">
|
2018-10-05 21:36:49 +02:00
|
|
|
<div id="divToHide" class="col-md-6 text-center">
|
|
|
|
<div >
|
|
|
|
<canvas id="qr"></canvas>
|
|
|
|
<pre id="serialized"></pre>
|
|
|
|
</div>
|
2018-09-26 08:57:09 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="col-md-6">
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="TOTPName"><span trspan="name">Name</span></label>
|
|
|
|
<input type="text" class="form-control" id="TOTPName" name="TOTPName" value="MyTOTP" trplaceholder="name" />
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="code"><span trspan="code">Code</span></label>
|
2019-01-09 19:01:49 +01:00
|
|
|
<input id="code" class="form-control" name="code" type="number" autocomplete="off" />
|
2018-09-26 08:57:09 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="buttons">
|
2018-10-05 21:36:49 +02:00
|
|
|
<span id="changekey" class="btn btn-info" role="button">
|
2018-09-26 18:14:34 +02:00
|
|
|
<span class="fa fa-refresh"></span>
|
2018-09-26 08:57:09 +02:00
|
|
|
<span trspan="changeKey">Change key</span>
|
|
|
|
</span>
|
|
|
|
<span id="verify" class="btn btn-success" role="button">
|
2018-10-05 21:36:49 +02:00
|
|
|
<span class="fa fa-floppy-o"></span>
|
2018-09-26 08:57:09 +02:00
|
|
|
<span trspan="register">Register</span>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
2018-04-01 22:27:50 +02:00
|
|
|
</div>
|
|
|
|
</main>
|
2018-04-03 22:58:49 +02:00
|
|
|
|
|
|
|
<div class="buttons">
|
2018-10-07 12:02:31 +02:00
|
|
|
<a href="<TMPL_VAR NAME="PORTAL_URL">2fregisters" class="btn btn-info" role="button">
|
2018-09-26 18:14:34 +02:00
|
|
|
<span class="fa fa-shield"></span>
|
2018-08-25 11:45:54 +02:00
|
|
|
<span trspan="sfaManager">sfaManager</span>
|
2018-04-03 22:58:49 +02:00
|
|
|
</a>
|
2018-08-20 00:08:50 +02:00
|
|
|
<a id="goback" href="<TMPL_VAR NAME="PORTAL_URL">?cancel=1<TMPL_IF NAME="AUTH_URL">&url=<TMPL_VAR NAME="AUTH_URL"></TMPL_IF>" class="btn btn-primary" role="button">
|
2018-09-26 18:14:34 +02:00
|
|
|
<span class="fa fa-home"></span>
|
2018-08-15 22:48:00 +02:00
|
|
|
<span trspan="goToPortal">Go to portal</span>
|
2018-04-01 22:27:50 +02:00
|
|
|
</a>
|
2018-04-03 22:58:49 +02:00
|
|
|
</div>
|
2018-04-01 22:27:50 +02:00
|
|
|
|
|
|
|
<!-- //if:jsminified
|
|
|
|
<script type="text/javascript" src="<TMPL_VAR NAME="STATIC_PREFIX">bwr/qrious/dist/qrious.min.js"></script>
|
|
|
|
<script type="text/javascript" src="<TMPL_VAR NAME="STATIC_PREFIX">/common/js/totpregistration.min.js"></script>
|
|
|
|
//else -->
|
|
|
|
<script type="text/javascript" src="<TMPL_VAR NAME="STATIC_PREFIX">bwr/qrious/dist/qrious.js"></script>
|
2018-04-15 11:02:48 +02:00
|
|
|
<script type="text/javascript" src="<TMPL_VAR NAME="STATIC_PREFIX">common/js/totpregistration.js"></script>
|
2018-04-01 22:27:50 +02:00
|
|
|
<!-- //endif -->
|
|
|
|
<TMPL_INCLUDE NAME="footer.tpl">
|