Ready now

This commit is contained in:
Mohamed El-Kalioby
2019-01-18 16:07:22 +03:00
parent 800f60ff53
commit 2f1c344e75
22 changed files with 1291 additions and 21 deletions

View File

@@ -1,4 +1,6 @@
{% extends "base.html" %}
{% load static %}
{% block head %}
<style>
#two-factor-steps {
@@ -10,7 +12,7 @@
margin: 0px;
}
</style>
<script src="{{ STATIC_URL }}js/qrious.min.js" type="text/javascript"></script>
<script src="{% static 'mfa/js/qrious.min.js' %}" type="text/javascript"></script>
<script type="text/javascript">
var key="";
$(document).ready(function addToken() {
@@ -59,6 +61,8 @@
</script>
{% endblock %}
{% block content %}
<br/>
<br/>
<div class="container">
<div class="col-md-6 col-md-offset-3" id="two-factor-steps">
<div class="row" align="center">

View File

@@ -1,4 +1,4 @@
{% extends "login_base.html" %}
{% extends "mfa_auth_base.html" %}
{% block head %}
<style>
.row{
@@ -6,8 +6,9 @@
}
</style>
{% endblock %}
{% block form %}
{% block content %}
<br/>
<br/>
{% include "TOTP/recheck.html" with mode='auth' %}
{% endblock %}