Update mfa/templates/U2F/Add.html
This commit is contained in:
@@ -1,16 +1,7 @@
|
|||||||
{% extends "base.html" %}
|
{% extends "base.html" %}
|
||||||
{% load static %}
|
{% load static %}
|
||||||
{% block head %}
|
{% block head %}
|
||||||
<style>
|
|
||||||
#two-factor-steps {
|
|
||||||
border: 1px solid #ccc;
|
|
||||||
border-radius: 3px;
|
|
||||||
padding: 15px;
|
|
||||||
}
|
|
||||||
.row{
|
|
||||||
margin: 0px;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
<script src="{% static 'mfa/js/u2f-api.js' %}" type="text/javascript"></script>
|
<script src="{% static 'mfa/js/u2f-api.js' %}" type="text/javascript"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
function addToken() {
|
function addToken() {
|
||||||
@@ -43,20 +34,29 @@
|
|||||||
</script>
|
</script>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<br/>
|
<div class="col-lg-8 col-md-8 col-12 mx-auto">
|
||||||
<br/>
|
<div class="page-header min-height-300 border-radius-xl mt-4" style="background-repeat: no-repeat; background-position: cover; background-size:contain; background-image: url('{% static 'img/keys.jpg'%}');">
|
||||||
<div class="container">
|
<span class="mask bg-gradient-primary opacity-6"></span>
|
||||||
|
</div>
|
||||||
|
<div class="card mx-3 mx-md-4 mt-n6 h-100 z-index-0 fadeIn3 fadeInBottom " >
|
||||||
|
<div class="card-body">
|
||||||
|
<br/>
|
||||||
|
<br/>
|
||||||
|
<div class="container">
|
||||||
|
|
||||||
<div class="col-md-6 col-md-offset-3" id="two-factor-steps">
|
<div id="two-factor-steps">
|
||||||
<div id="res"></div>
|
<div id="res"></div>
|
||||||
<div class="row" align="center">
|
<div class="row" align="center">
|
||||||
<h4>Adding {{ method.name}}</h4>
|
<h4>Adding {{ method.name}}</h4>
|
||||||
|
</div>
|
||||||
|
<div class="row" align="center">
|
||||||
|
<p style="color: green">Your secure Key should be flashing now, please press on button.</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
|
||||||
<p style="color: green">Your secure Key should be flashing now, please press on button.</p>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
{% include "modal.html" %}
|
{% include "modal.html" %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
Reference in New Issue
Block a user