-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: simple support for OTP register operation
- Loading branch information
Showing
4 changed files
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
src/appier_extras/parts/admin/templates/fluid/otp_register.html.tpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{% extends "admin/admin.simple.html.tpl" %} | ||
{% block title %}OTP Register{% endblock %} | ||
{% block body_style %}{{ super() }} {% if background %}background:url({{ background }});{% endif %}{% endblock %} | ||
{% block content %} | ||
<div class="login-panel {% if error %}login-panel-message{% endif %}"> | ||
{% if owner.logo_url %} | ||
<img class="login-logo" src="{{ owner.logo_url }}" /> | ||
{% else %} | ||
<h1>OTP</h1> | ||
{% endif %} | ||
<h3>Registering OTP</h3> | ||
{% if error %} | ||
<div class="quote error">{{ error }}</div> | ||
{% endif %} | ||
<form> | ||
<input type="hidden" name="next" value="{{ next|default('', True) }}" /> | ||
<img class="otp-qrcode" src="{{ url_for('admin.otp_qrcode') }}" /> | ||
</form> | ||
</div> | ||
{% endblock %} |