update password reset for bootstrap 4
This commit is contained in:
		
							parent
							
								
									ee2d302396
								
							
						
					
					
						commit
						3e77d20679
					
				| 
						 | 
				
			
			@ -1,10 +1,17 @@
 | 
			
		|||
{% extends "base.html" %}
 | 
			
		||||
 | 
			
		||||
{% from "form/controls.html" import render_field, checkbox, submit %}
 | 
			
		||||
 | 
			
		||||
{% set title="Reset password" %}
 | 
			
		||||
{% block title %}Reset password{% endblock %}
 | 
			
		||||
 | 
			
		||||
{% block content %}
 | 
			
		||||
{% set label="send e-mail" %}
 | 
			
		||||
 | 
			
		||||
{% set fields %}
 | 
			
		||||
{{ render_field(form.user_or_email) }}
 | 
			
		||||
{% endset %}
 | 
			
		||||
 | 
			
		||||
{% include "form/simple.html" %}
 | 
			
		||||
<h1>{{ self.title() }}</h1>
 | 
			
		||||
{% include "form/main.html" %}
 | 
			
		||||
 | 
			
		||||
{% endblock %}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,19 +1,12 @@
 | 
			
		|||
{% from "form/controls.html" import render_field, checkbox, submit %}
 | 
			
		||||
{% extends "base.html" %}
 | 
			
		||||
 | 
			
		||||
{% set title="Reset password" %}
 | 
			
		||||
{% set label="send e-mail" %}
 | 
			
		||||
{% block title %}Reset password{% endblock %}
 | 
			
		||||
 | 
			
		||||
{% include "head.html" %}
 | 
			
		||||
 | 
			
		||||
<div class="row">
 | 
			
		||||
    <div class="col-md-12">
 | 
			
		||||
        <h1>{{ title }}</h1>
 | 
			
		||||
{% block content %}
 | 
			
		||||
<h1>{{ self.title() }}</h1>
 | 
			
		||||
 | 
			
		||||
<p>Your password has been set.  You may go ahead and log in now.</p>
 | 
			
		||||
 | 
			
		||||
<p><a href="{{ url_for('.login') }}">Log in</a></p>
 | 
			
		||||
 | 
			
		||||
    </div>
 | 
			
		||||
</div>
 | 
			
		||||
 | 
			
		||||
{% include "foot.html" %}
 | 
			
		||||
{% endblock %}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,10 +1,17 @@
 | 
			
		|||
{% extends "base.html" %}
 | 
			
		||||
 | 
			
		||||
{% from "form/controls.html" import render_field %}
 | 
			
		||||
 | 
			
		||||
{% set title="Reset password" %}
 | 
			
		||||
{% block title %}Reset password{% endblock %}
 | 
			
		||||
 | 
			
		||||
{% block content %}
 | 
			
		||||
{% set label="reset" %}
 | 
			
		||||
 | 
			
		||||
{% set fields %}
 | 
			
		||||
{{ render_field(form.password) }}
 | 
			
		||||
{% endset %}
 | 
			
		||||
 | 
			
		||||
{% include "form/simple.html" %}
 | 
			
		||||
<h1>{{ self.title() }}</h1>
 | 
			
		||||
{% include "form/main.html" %}
 | 
			
		||||
 | 
			
		||||
{% endblock %}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,14 +1,13 @@
 | 
			
		|||
{% set title="Reset password" %}
 | 
			
		||||
{% extends "base.html" %}
 | 
			
		||||
 | 
			
		||||
{% include "head.html" %}
 | 
			
		||||
{% block title %}Reset password{% endblock %}
 | 
			
		||||
 | 
			
		||||
<div class="row">
 | 
			
		||||
    <div class="col-md-12">
 | 
			
		||||
        <h1>{{ title }}</h1>
 | 
			
		||||
        <p>We've emailed you instructions for setting your password, if an account exists with the email you entered. You should receive them shortly.</p>
 | 
			
		||||
{% block content %}
 | 
			
		||||
<h1>{{ title }}</h1>
 | 
			
		||||
<p>We've emailed you instructions for setting your password, if an account
 | 
			
		||||
exists with the email you entered. You should receive them shortly.</p>
 | 
			
		||||
 | 
			
		||||
        <p>If you don't receive an email, please make sure you've entered the address you registered with, and check your spam folder.</p>
 | 
			
		||||
    </div>
 | 
			
		||||
</div>
 | 
			
		||||
<p>If you don't receive an email, please make sure you've entered the address
 | 
			
		||||
you registered with, and check your spam folder.</p>
 | 
			
		||||
 | 
			
		||||
{% include "foot.html" %}
 | 
			
		||||
{% endblock %}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue