2018-04-01 22:27:50 +02:00
|
|
|
<TMPL_INCLUDE NAME="header.tpl">
|
|
|
|
|
2018-04-10 22:21:35 +02:00
|
|
|
<div class="container">
|
|
|
|
<div id="color" class="message message-positive alert"><span id="msg" trspan="yourNewTotpKey"></span></div>
|
|
|
|
</div>
|
2018-04-01 22:27:50 +02:00
|
|
|
|
|
|
|
<main id="menucontent" class="container">
|
|
|
|
<div class="panel panel-info">
|
|
|
|
<div class="panel-body">
|
2018-05-07 19:26:39 +02:00
|
|
|
|
|
|
|
<div id="divToHide">
|
|
|
|
<canvas id="qr"></canvas>
|
|
|
|
<pre id="serialized">
|
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
|
2018-04-01 22:27:50 +02:00
|
|
|
<div class="form-group">
|
|
|
|
<b><span trspan="name">Name</span> : </b><input type="text" id="TOTPName" name="TOTPName" value="MyTOTP"/>
|
2018-04-04 23:13:24 +02:00
|
|
|
|
|
|
|
<b><span trspan="code">Code</span> : </b><input id="code" name="code" type="number" />
|
2018-04-01 22:27:50 +02:00
|
|
|
</div>
|
|
|
|
<div class="buttons">
|
|
|
|
<span id="changekey" class="btn btn-warning" role="button">
|
|
|
|
<span class="glyphicon glyphicon-plus-sign"></span>
|
|
|
|
<span trspan="changeKey">Change key</span>
|
|
|
|
</span>
|
2018-04-10 22:21:35 +02:00
|
|
|
|
2018-04-01 22:27:50 +02:00
|
|
|
<span id="verify" class="btn btn-success" role="button">
|
|
|
|
<span class="glyphicon glyphicon-check"></span>
|
2018-04-12 22:05:36 +02:00
|
|
|
<span trspan="register">Register</span>
|
2018-04-01 22:27:50 +02:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</main>
|
2018-04-03 22:58:49 +02:00
|
|
|
|
|
|
|
<div class="buttons">
|
2018-04-07 13:22:06 +02:00
|
|
|
<a href="<TMPL_VAR NAME="PORTAL_URL">2fregisters" class="btn btn-warning" role="button">
|
2018-04-03 22:58:49 +02:00
|
|
|
<span class="glyphicon glyphicon-pencil"></span>
|
|
|
|
<span trspan="2FManagment">2F managment</span>
|
|
|
|
</a>
|
|
|
|
|
2018-04-01 22:27:50 +02:00
|
|
|
<a id="goback" href="<TMPL_VAR NAME="PORTAL_URL"><TMPL_IF NAME="AUTH_URL">/?url=<TMPL_VAR NAME="AUTH_URL"></TMPL_IF>" class="btn btn-primary" role="button">
|
|
|
|
<span class="glyphicon glyphicon-home"></span>
|
|
|
|
<span trspan="goToPortal">Go to portal</span>
|
|
|
|
</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">
|