Rearrange and emphasize a bit.

This commit is contained in:
Víðir Valberg Guðmundsson 2019-03-26 22:31:39 +01:00
parent 4ae94cb4d5
commit f220d1d4b7
2 changed files with 10 additions and 14 deletions

View file

@ -7,19 +7,20 @@
<div class="row"> <div class="row">
<div class="col-md-12"> <div class="col-md-12">
<div class="panel panel-default">
<div class="panel-heading">
<h4>Two-Factor Authentication Backup Tokens</h4>
</div>
<div class="panel-body">
<div class="alert alert-danger"> <div class="alert alert-danger">
<h4>Attention!</h4> <h4><strong>Attention!</strong></h4>
<p > <p >
Backup Tokens are important if you for some reason <strong>lose access</strong> to your two-factor authentication device (ie. misplace your phone).<br /> Backup Tokens are important if you for some reason <strong>lose access</strong> to your two-factor authentication device (ie. misplace your phone).<br />
If this happens you will <strong>not be able to login to BornHack.dk</strong> without using a backup token.<br /> If this happens you will <strong>not be able to login to BornHack.dk</strong> without using a backup token.<br />
So generate some tokens and <strong>keep them safe</strong> for a rainy day ;) So generate some tokens and <strong>keep them safe</strong> for a rainy day ;)
</p> </p>
</div> </div>
<div class="panel panel-default">
<div class="panel-heading">
<h4>Two-Factor Authentication Backup Tokens</h4>
</div>
<div class="panel-body">
{% if backup_tokens %} {% if backup_tokens %}
<ul> <ul>
{% for token in backup_tokens %} {% for token in backup_tokens %}

View file

@ -3,9 +3,7 @@
{% block profile_content %} {% block profile_content %}
{% if not profile.description %} {% if not profile.description %}
<div class="alert alert-danger"> <div class="alert alert-danger">
<p class="lead"> <h4><strong>Attention!</strong></h4>
Attention!
</p>
<p> <p>
You have not written anything in your "description". You have not written anything in your "description".
</p> </p>
@ -15,9 +13,6 @@
</div> </div>
{% endif %} {% endif %}
<div class="panel panel-default"> <div class="panel panel-default">
<div class="panel-heading"> <div class="panel-heading">
<a href="{% url 'profiles:update' %}" class="btn btn-primary pull-right clearfix"><i class="fas fa-edit"></i> Edit Profile</a> <a href="{% url 'profiles:update' %}" class="btn btn-primary pull-right clearfix"><i class="fas fa-edit"></i> Edit Profile</a>