make available for flow and wave theme

This commit is contained in:
Daniel Seifert 2019-08-04 00:01:06 +02:00
parent 4c815497b0
commit 9a23149b8c
4 changed files with 60 additions and 30 deletions

View File

@ -8,9 +8,12 @@ title: Systemanforderungen
* installierter ionCube Loader * installierter ionCube Loader
* Shopversionen / -editionen * Shopversionen / -editionen
* OXID eShop Community Edition (CE), Professional Edition (PE) oder Enterprise Edition (EE) in Compilation Version * OXID eShop Community Edition (CE), Professional Edition (PE) oder Enterprise Edition (EE) in Compilation Version
* 6.0.x * 6.0.2 und höher
* 6.1.x * 6.1.x
* Installation via [Composer](https://getcomposer.org) * Installation via [Composer](https://getcomposer.org)
* Themes
* flow
* wave
Beachten Sie, dass die Ihnen vorliegende Modulversion entsprechend für **PHP 5.6**, **PHP 7.0**, **PHP 7.1** oder **PHP 7.2** kompatibel ist. Im Zweifelsfall kontaktieren Sie uns und nennen den für Ihren Shop genutzten Decoder und die PHP-Version. Beachten Sie, dass die Ihnen vorliegende Modulversion entsprechend für **PHP 5.6**, **PHP 7.0**, **PHP 7.1** oder **PHP 7.2** kompatibel ist. Im Zweifelsfall kontaktieren Sie uns und nennen den für Ihren Shop genutzten Decoder und die PHP-Version.

View File

@ -1,4 +1,4 @@
[{$smarty.block.parent}] [{$smarty.block.parent}]
<li class="list-group-item[{if $active_link == "d3totp"}] active[{/if}]"> <li class="list-group-item[{if $active_link == "d3totp"}] active[{/if}]">
<a href="[{oxgetseourl ident=$oViewConf->getSelfLink()|cat:"cl=d3_account_totp"}]" title="[{oxmultilang ident="D3_TOTP_ACCOUNT"}]">[{oxmultilang ident="D3_TOTP_ACCOUNT"}]</a> <a class="[{* wave *}] list-group-link" href="[{oxgetseourl ident=$oViewConf->getSelfLink()|cat:"cl=d3_account_totp"}]" title="[{oxmultilang ident="D3_TOTP_ACCOUNT"}]">[{oxmultilang ident="D3_TOTP_ACCOUNT"}]</a>
</li> </li>

View File

@ -8,6 +8,17 @@
.registerNew { .registerNew {
display: none; display: none;
} }
dt, dd {
width: 50%;
float: left;
margin-bottom: 10px;
}
dd textarea {
max-width: 98%;
}
dt label {
font-weight: bold;
}
[{if false == $totp->getId()}] [{if false == $totp->getId()}]
.submitBtn { .submitBtn {
display: none; display: none;
@ -30,38 +41,47 @@
</p> </p>
[{if false == $totp->getId()}] [{if false == $totp->getId()}]
<div class="registerNew panel panel-default"> <div class="registerNew [{* flow *}] panel panel-default [{* wave *}] card">
<div class="panel-heading"> <div class="[{* flow *}] panel-heading [{* wave *}] card-header">
[{oxmultilang ident="D3_TOTP_REGISTERNEW"}] [{oxmultilang ident="D3_TOTP_REGISTERNEW"}]
</div> </div>
<div class="panel-body"> <div class="[{* flow *}] panel-body [{* wave *}] card-body">
<p> <dl>
[{oxmultilang ident="D3_TOTP_QRCODE"}]&nbsp; <dt>
[{oxmultilang ident="D3_TOTP_QRCODE"}]&nbsp;
[{$totp->getQrCodeElement()}] </dt>
</p> <dd>
[{$totp->getQrCodeElement()}]
</dd>
</dl>
<p> <p>
[{oxmultilang ident="D3_TOTP_QRCODE_HELP"}] [{oxmultilang ident="D3_TOTP_QRCODE_HELP"}]
</p> </p>
<hr> <hr>
<p> <dl>
<label for="secret">[{oxmultilang ident="D3_TOTP_SECRET"}]</label> <dt>
<label for="secret">[{oxmultilang ident="D3_TOTP_SECRET"}]</label>
<textarea rows="3" cols="50" id="secret" name="secret" class="editinput" readonly="readonly">[{$totp->getSecret()}]</textarea> </dt>
</p> <dd>
<textarea rows="3" cols="50" id="secret" name="secret" class="editinput" readonly="readonly">[{$totp->getSecret()}]</textarea>
</dd>
</dl>
<p> <p>
[{oxmultilang ident="D3_TOTP_SECRET_HELP"}] [{oxmultilang ident="D3_TOTP_SECRET_HELP"}]
</p> </p>
<hr> <hr>
<p> <dl>
<label for="otp">[{oxmultilang ident="D3_TOTP_CURROTP"}]</label> <dt>
<label for="otp">[{oxmultilang ident="D3_TOTP_CURROTP"}]</label>
<input type="text" class="editinput" size="6" maxlength="6" id="otp" name="otp" value="" [{$readonly}]> </dt>
</p> <dd>
<input type="text" class="editinput" size="6" maxlength="6" id="otp" name="otp" value="" [{$readonly}]>
</dd>
</dl>
<p> <p>
[{oxmultilang ident="D3_TOTP_CURROTP_HELP"}] [{oxmultilang ident="D3_TOTP_CURROTP_HELP"}]
</p> </p>
@ -71,22 +91,22 @@
[{if $totp->getId()}] [{if $totp->getId()}]
[{block name="d3_account_totp_deletenotes"}] [{block name="d3_account_totp_deletenotes"}]
<div class="panel panel-default"> <div class="[{* flow *}] panel panel-default [{* wave *}] card">
<div class="panel-heading"> <div class="[{* flow *}] panel-heading [{* wave *}] card-header">
[{oxmultilang ident="D3_TOTP_REGISTEREXIST"}] [{oxmultilang ident="D3_TOTP_REGISTEREXIST"}]
</div> </div>
<div class="panel-body"> <div class="[{* flow *}] panel-body [{* wave *}] card-body">
[{oxmultilang ident="D3_TOTP_REGISTERDELETE_DESC"}] [{oxmultilang ident="D3_TOTP_REGISTERDELETE_DESC"}]
</div> </div>
</div> </div>
[{/block}] [{/block}]
[{block name="d3_account_totp_backupcodes"}] [{block name="d3_account_totp_backupcodes"}]
<div class="panel panel-default"> <div class="[{* flow *}] panel panel-default [{* wave *}] card">
<div class="panel-heading"> <div class="[{* flow *}] panel-heading [{* wave *}] card-header">
[{oxmultilang ident="D3_TOTP_BACKUPCODES"}] [{oxmultilang ident="D3_TOTP_BACKUPCODES"}]
</div> </div>
<div class="panel-body"> <div class="[{* flow *}] panel-body [{* wave *}] card-body">
[{if $oView->getBackupCodes()}] [{if $oView->getBackupCodes()}]
[{block name="d3_account_totp_backupcodes_list"}] [{block name="d3_account_totp_backupcodes_list"}]
<label for="backupcodes">[{oxmultilang ident="D3_TOTP_BACKUPCODES_DESC"}]</label> <label for="backupcodes">[{oxmultilang ident="D3_TOTP_BACKUPCODES_DESC"}]</label>

View File

@ -7,7 +7,7 @@
[{/if}] [{/if}]
<div class="row"> <div class="row">
<div class="col-xs-12 col-sm-10 col-md-6 col-sm-offset-1 col-md-offset-3 mainforms"> <div class="col-xs-12 col-sm-10 col-md-6 [{* flow *}] col-sm-offset-1 col-md-offset-3 [{* wave *}] offset-sm-1 offset-md-3 mainforms">
<form action="[{$oViewConf->getSelfActionLink()}]" method="post" name="login" id="login"> <form action="[{$oViewConf->getSelfActionLink()}]" method="post" name="login" id="login">
[{$oViewConf->getHiddenSid()}] [{$oViewConf->getHiddenSid()}]
@ -26,7 +26,10 @@
[{oxmultilang ident="D3_TOTP_INPUT_HELP"}] [{oxmultilang ident="D3_TOTP_INPUT_HELP"}]
<input type="submit" value="[{oxmultilang ident="D3_TOTP_SUBMIT_LOGIN"}]" class="btn btn-primary"><br> <button type="submit" class="btn btn-primary">
[{oxmultilang ident="D3_TOTP_SUBMIT_LOGIN"}]
</button><br>
</form> </form>
<form action="[{$oViewConf->getSelfActionLink()}]" method="post" name="login" id="login"> <form action="[{$oViewConf->getSelfActionLink()}]" method="post" name="login" id="login">
[{$oViewConf->getHiddenSid()}] [{$oViewConf->getHiddenSid()}]
@ -34,7 +37,11 @@
<input type="hidden" name="fnc" value="cancelTotplogin"> <input type="hidden" name="fnc" value="cancelTotplogin">
<input type="hidden" name="cl" value="[{$oView->getPreviousClass()}]"> <input type="hidden" name="cl" value="[{$oView->getPreviousClass()}]">
[{$navFormParams}] [{$navFormParams}]
<input class="btn btn_cancel" value="[{oxmultilang ident="D3_TOTP_CANCEL_LOGIN"}]" type="submit">
<button class="btn btn_cancel" type="submit">
[{oxmultilang ident="D3_TOTP_CANCEL_LOGIN"}]
</button>
</form> </form>
</div> </div>
</div> </div>