summaryrefslogtreecommitdiff
path: root/fossee_manim/templates/fossee_manim/activation.html
diff options
context:
space:
mode:
Diffstat (limited to 'fossee_manim/templates/fossee_manim/activation.html')
-rw-r--r--fossee_manim/templates/fossee_manim/activation.html95
1 files changed, 48 insertions, 47 deletions
diff --git a/fossee_manim/templates/fossee_manim/activation.html b/fossee_manim/templates/fossee_manim/activation.html
index 10a3d60..20a4c62 100644
--- a/fossee_manim/templates/fossee_manim/activation.html
+++ b/fossee_manim/templates/fossee_manim/activation.html
@@ -1,24 +1,24 @@
{% extends 'fossee_manim/base.html' %}
{% block title %}
- Awating activation
+Awating activation
{% endblock %}
{% block header %}
- <nav class="navbar navbar-default navbar-custom">
- <div class="container-fluid">
+<nav class="navbar navbar-default navbar-custom">
+ <div class="container-fluid">
<div class="navbar-header">
- <a class="navbar-brand" href="#">FOSSEE Animations</a>
+ <a class="navbar-brand" href="#">FOSSEE Animations</a>
</div>
<ul class="nav navbar-nav navbar-right">
- {% if request.user.profile.is_email_verified %}
- <li><a href="{{ URL_ROOT }}/view_profile/"><span class="glyphicon glyphicon-user"></span> Profile</a></li>
-
- <li><a href="{{ URL_ROOT }}/logout/"><span class="glyphicon glyphicon-log-out"></span> Logout</a></li>
- {% endif %}
+ {% if request.user.profile.is_email_verified %}
+ <li><a href="{{ URL_ROOT }}/view_profile/"><span class="glyphicon glyphicon-user"></span> Profile</a></li>
+
+ <li><a href="{{ URL_ROOT }}/logout/"><span class="glyphicon glyphicon-log-out"></span> Logout</a></li>
+ {% endif %}
</ul>
- </div>
- </nav>
+ </div>
+</nav>
{% endblock %}
{% block extra %}
@@ -27,45 +27,46 @@
{% block content %}
<br>
- {% if status == '2' %}
- <div class="container">
- <div class="jumbotron">
- <p> Your email is already verified, Please view your profile <a href="{{ URL_ROOT }}/view_profile/">here</a> </p>
-
- </div>
+{% if status == '2' %}
+<div class="container">
+ <div class="jumbotron">
+ <p> Your email is already verified, Please view your profile <a href="{{ URL_ROOT }}/view_profile/">here</a>
+ </p>
+
</div>
- {% elif status == '1' %}
- <script type="text/javascript">
- window.setTimeout(function()
- {
- location.href="{{ URL_ROOT }}/register/"
- }, 5000);
- </script>
- <div class="container">
- <div class="jumbotron">
- <p> Your activation has expired please register again</p>
- </div>
+</div>
+{% elif status == '1' %}
+<script type="text/javascript">
+ window.setTimeout(function () {
+ location.href = "{{ URL_ROOT }}/register/"
+ }, 5000);
+</script>
+<div class="container">
+ <div class="jumbotron">
+ <p> Your activation has expired please register again</p>
</div>
- {% elif status == '0' %}
- <div class="container">
- <div class="jumbotron">
- <p> Your account has been activated. Please view your profile <a href="{{ URL_ROOT }}/view_profile/">here</a> </p>
-
- </div>
+</div>
+{% elif status == '0' %}
+<div class="container">
+ <div class="jumbotron">
+ <p> Your account has been activated. Please view your profile <a href="{{ URL_ROOT }}/view_profile/">here</a>
+ </p>
+
</div>
- {% else %}
- <script type="text/javascript">
- window.setTimeout(function()
- {
- location.href="{{ URL_ROOT }}/logout/"
- }, 5000);
- </script>
+</div>
+{% else %}
+<script type="text/javascript">
+ window.setTimeout(function () {
+ location.href = "{{ URL_ROOT }}/logout/"
+ }, 5000);
+</script>
- <div class="container">
- <div class="jumbotron">
- <h1>Activation Awaiting</h1>
- <p>The Activation Link has been sent to your email. The link expires in <strong>24hours</strong> from the date of registration. You will be logged out automatically.</p>
- </div>
+<div class="container">
+ <div class="jumbotron">
+ <h1>Activation Awaiting</h1>
+ <p>The Activation Link has been sent to your email. The link expires in <strong>24hours</strong> from the date
+ of registration. You will be logged out automatically.</p>
</div>
- {% endif %}
+</div>
+{% endif %}
{% endblock %} \ No newline at end of file