fixed new user registration

This commit is contained in:
Tomislav R 2016-03-16 15:10:48 +01:00
commit 0a7dd2fa3d
6 changed files with 68 additions and 17 deletions

View file

@ -23,12 +23,11 @@
</div>
<div class="row">
<div class="col-md-12">
<p class="text-center">Your last action was not complete.
<p class="text-center">Your last action was not complete. {{ msg }}
<br>Have problems? contact us at
<a href="">help@digitalglarus.ch</a>
</p>
<p>{{ msg }}</p>
<p></p>
</div>
@ -37,7 +36,7 @@
</div>
<div class="row">
<div class="col-md-12 text-center">
<a class="btn btn-primary">Back</a>
<a class="btn btn-primary" href="{% url 'login' %}">Back</a>
</div>
</div>
<a hrefhelp@digitalglarus.ch<="" p="">

View file

@ -15,8 +15,13 @@
</div>
<div class="row">
<div class="col-md-12">
<p class="text-center text-muted">Your password is sent to your email!
<p class="text-center text-muted">
<br>Check your email to activate your account.</p>
<div class="row">
<div class="col-md-12 text-center">
<a class="btn btn-primary" href="{% url 'login' %}">Back</a>
</div>
</div>
</div>
</div>
</div>

View file

@ -0,0 +1,39 @@
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>
<script type="text/javascript" src="http://netdna.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
<link href="http://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet"
type="text/css">
<link href="http://pingendo.github.io/pingendo-bootstrap/themes/default/bootstrap.css" rel="stylesheet"
type="text/css">
{% if request.session.next == None %}
<script>
type = "text/javascript" >
setTimeout(function () {
window.location.href = "/";
}, 5000);
</script>
{% endif %}
</head>
<body>
<div class="section">
<div class="container">
<div class="row">
<div class="col-md-12">
<h3 class="text-center text-muted">
{% if msg %}
Email verified!<br> <p>redirecting...</p>
{% else %}
<p>Email not verfied!</p>
{% endif %}
</h3>
</div>
</div>
</div>
</div>
</body>
</html>